Updated submodule

Fixed error in Autotype test (password wrong)
This commit is contained in:
michael starke
2013-08-17 15:39:40 +02:00
parent bbd0062301
commit d30bcac236
11 changed files with 33 additions and 36 deletions

View File

@@ -8,6 +8,6 @@
#import <SenTestingKit/SenTestingKit.h>
@interface KPKLegacyLoadingTest : SenTestCase
@interface KPKTestLegacyLoading : SenTestCase
@end

View File

@@ -6,7 +6,7 @@
// Copyright (c) 2013 HicknHack Software GmbH. All rights reserved.
//
#import "KPKLegacyLoadingTest.h"
#import "KPKTestLegacyLoading.h"
#import "KPKTree+Serializing.h"
#import "KPKPassword.h"
@@ -15,7 +15,7 @@
#import "KPKErrors.h"
@implementation KPKLegacyLoadingTest
@implementation KPKTestLegacyLoading
- (void)testValidFile {
KPKPassword *password = [[KPKPassword alloc] initWithPassword:@"1234" key:nil];

View File

@@ -9,7 +9,7 @@
#import <SenTestingKit/SenTestingKit.h>
@class KPKPassword;
@interface KPKLegacyWritingTest : SenTestCase {
@interface KPKTestLegacyWriting : SenTestCase {
NSData *_data;
KPKPassword *_password;
}

View File

@@ -6,13 +6,13 @@
// Copyright (c) 2013 HicknHack Software GmbH. All rights reserved.
//
#import "KPKLegacyWritingTest.h"
#import "KPKTestLegacyWriting.h"
#import "KPKPassword.h"
#import "KPKTree+Serializing.h"
@implementation KPKLegacyWritingTest
@implementation KPKTestLegacyWriting
- (void)setUp {
NSBundle *myBundle = [NSBundle bundleForClass:[self class]];

View File

@@ -9,7 +9,7 @@
#import <SenTestingKit/SenTestingKit.h>
@class KPKPassword;
@interface KPKXmlLoadingTest : SenTestCase {
@interface KPKTestXmlLoading : SenTestCase {
@private
NSData *_data;
KPKPassword *_password;

View File

@@ -6,14 +6,14 @@
// Copyright (c) 2013 HicknHack Software GmbH. All rights reserved.
//
#import "KPKXmlLoadingTest.h"
#import "KPKTestXmlLoading.h"
#import "KPKPassword.h"
#import "KPKTree+Serializing.h"
#import "KPKEntry.h"
#import "KPKGroup.h"
@implementation KPKXmlLoadingTest
@implementation KPKTestXmlLoading
- (void)setUp {
NSBundle *myBundle = [NSBundle bundleForClass:[self class]];
@@ -39,7 +39,7 @@
- (void)testAutotypeLoading {
NSBundle *myBundle = [NSBundle bundleForClass:[self class]];
NSURL *url = [myBundle URLForResource:@"Autotype_test" withExtension:@"kdbx"];
KPKPassword *password = [[KPKPassword alloc] initWithPassword:@"text" key:nil];
KPKPassword *password = [[KPKPassword alloc] initWithPassword:@"test" key:nil];
NSError *error;
KPKTree *tree = [[KPKTree alloc] initWithContentsOfUrl:url password:password error:&error];
STAssertNotNil(tree, @"Tree shoud be loaded");