mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 01:12:31 +00:00
Fixed teste, resources still missing
Signed-off-by: michael starke <michael.starke@hicknhack-software.com>
This commit is contained in:
@@ -2253,6 +2253,7 @@
|
||||
BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/MacPass.app/Contents/MacOS/MacPass";
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
@@ -2276,6 +2277,7 @@
|
||||
BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/MacPass.app/Contents/MacOS/MacPass";
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#import <XCTest/XCTest.h>
|
||||
|
||||
#import "MPDocument.h"
|
||||
#import "KPKTree.h"
|
||||
#import "KeePassKit/KeePassKit.h"
|
||||
|
||||
@interface MPDatabaseLoading : XCTestCase
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
|
||||
- (void)testLoadVersion1 {
|
||||
NSBundle *myBundle = [NSBundle bundleForClass:[self class]];
|
||||
NSBundle *myBundle = [NSBundle bundleForClass:[KPKTree class]];
|
||||
NSURL *url = [myBundle URLForResource:@"Test_Password_1234" withExtension:@"kdb"];
|
||||
NSError *error = nil;
|
||||
MPDocument *document = [[MPDocument alloc] initWithContentsOfURL:url ofType:@"kdb" error:&error];
|
||||
@@ -33,7 +33,7 @@
|
||||
}
|
||||
|
||||
- (void)testVersion1WrongPassword {
|
||||
NSBundle *myBundle = [NSBundle bundleForClass:[self class]];
|
||||
NSBundle *myBundle = [NSBundle bundleForClass:[KPKTree class]];
|
||||
NSURL *url = [myBundle URLForResource:@"Test_Password_1234" withExtension:@"kdb"];
|
||||
NSError *error = nil;
|
||||
MPDocument *document = [[MPDocument alloc] initWithContentsOfURL:url ofType:@"kdb" error:&error];
|
||||
@@ -45,7 +45,7 @@
|
||||
}
|
||||
|
||||
- (void)testLoadDatabaseVerions2 {
|
||||
NSBundle *myBundle = [NSBundle bundleForClass:[self class]];
|
||||
NSBundle *myBundle = [NSBundle bundleForClass:[KPKTree class]];
|
||||
NSURL *url = [myBundle URLForResource:@"Test_Password_1234" withExtension:@"kdbx"];
|
||||
NSError *error = nil;
|
||||
MPDocument *document = [[MPDocument alloc] initWithContentsOfURL:url ofType:@"kdbx" error:&error];
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#import <XCTest/XCTest.h>
|
||||
|
||||
#import "MPDocument.h"
|
||||
#import "KPKCompositeKey.h"
|
||||
#import "KeePassKit/KeePassKit.h"
|
||||
|
||||
@interface MPDatabasePasswordAndKeyfile : XCTestCase {
|
||||
MPDocument *_database;
|
||||
|
||||
@@ -9,9 +9,7 @@
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <XCTest/XCTest.h>
|
||||
|
||||
#import "KPKTree.h"
|
||||
#import "KPKGroup.h"
|
||||
#import "KPKEntry.h"
|
||||
#import "KeePassKit/KeePassKit.h"
|
||||
|
||||
@interface MPDatabaseSearch : XCTestCase
|
||||
|
||||
|
||||
@@ -17,10 +17,7 @@
|
||||
|
||||
#import "MPKeyMapper.h"
|
||||
|
||||
#import "KPKEntry.h"
|
||||
#import "KPKAttribute.h"
|
||||
#import "KPKAutotype.h"
|
||||
#import "KPKWindowAssociation.h"
|
||||
#import "KeePassKit/KeePassKit.h"
|
||||
|
||||
@interface MPTestAutotype : XCTestCase
|
||||
@property (strong) KPKEntry *entry;
|
||||
|
||||
@@ -9,9 +9,7 @@
|
||||
#import <XCTest/XCTest.h>
|
||||
|
||||
#import "MPDocument.h"
|
||||
#import "KPKTree.h"
|
||||
#import "KPKCompositeKey.h"
|
||||
|
||||
#import "KeePassKit/KeePassKit.h"
|
||||
@interface MPTestDocument : XCTestCase
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user