mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 11:42:30 +00:00
Extracted more element names into separate file
This commit is contained in:
Submodule KeePassKit updated: 04ed133b0e...f3e6e5201b
@@ -10,11 +10,12 @@
|
|||||||
#import "KPKEntry.h"
|
#import "KPKEntry.h"
|
||||||
#import "KPKBinary.h"
|
#import "KPKBinary.h"
|
||||||
#import "KPKAttribute.h"
|
#import "KPKAttribute.h"
|
||||||
|
#import "KPKXmlElements.h"
|
||||||
|
|
||||||
@implementation KPKTestNSCoding
|
@implementation KPKTestNSCoding
|
||||||
|
|
||||||
- (void)testAttributeCoding {
|
- (void)testAttributeCoding {
|
||||||
KPKAttribute *attribute = [[KPKAttribute alloc] initWithKey:@"Key" value:@"Value" isProtected:YES];
|
KPKAttribute *attribute = [[KPKAttribute alloc] initWithKey:kKPKXmlKey value:@"Value" isProtected:YES];
|
||||||
NSData *data = [self encode:attribute];
|
NSData *data = [self encode:attribute];
|
||||||
KPKAttribute *copy = [self decode:data ofClass:[KPKAttribute class]];
|
KPKAttribute *copy = [self decode:data ofClass:[KPKAttribute class]];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user