You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ia...@apache.org on 2015/03/19 17:56:28 UTC
[39/50] [abbrv] ios commit: Fix unit tests for private core plugins
(plus style fix-ups)
Fix unit tests for private core plugins (plus style fix-ups)
Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/a65420be
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/a65420be
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/a65420be
Branch: refs/heads/unplug-whitelist
Commit: a65420befd2f6d2ecfca0981ba2c86705db8ad23
Parents: d856500
Author: Shazron Abdullah <sh...@apache.org>
Authored: Wed Mar 18 15:46:16 2015 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Wed Mar 18 15:46:16 2015 -0700
----------------------------------------------------------------------
tests/CordovaLibTests/CDVLocalStorageTests.m | 6 +++---
.../CordovaLibTests/CordovaLibTests.xcodeproj/project.pbxproj | 2 ++
2 files changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/a65420be/tests/CordovaLibTests/CDVLocalStorageTests.m
----------------------------------------------------------------------
diff --git a/tests/CordovaLibTests/CDVLocalStorageTests.m b/tests/CordovaLibTests/CDVLocalStorageTests.m
index b816d4b..3a95f88 100644
--- a/tests/CordovaLibTests/CDVLocalStorageTests.m
+++ b/tests/CordovaLibTests/CDVLocalStorageTests.m
@@ -19,7 +19,7 @@
#import <XCTest/XCTest.h>
-#import <Cordova/CDVLocalStorage.h>
+#import "CDVLocalStorage.h"
#import "CDVWebViewTest.h"
#import "CDVFakeFileManager.h"
#import "ViewController.h"
@@ -122,7 +122,7 @@
XCTAssertTrue(modified, @"Should have applied fix.");
NSString* newPath = [appPlistDict objectForKey:@"WebKitLocalStorageDatabasePathPreferenceKey"];
- XCTAssertTrue([@"/bpath/Library/Caches" isEqualToString: newPath]);
+ XCTAssertTrue([@"/bpath/Library/Caches" isEqualToString:newPath]);
}
- (void)testVerifyAndFixDatabaseLocations_changeRequired2
@@ -140,7 +140,7 @@
XCTAssertTrue(modified, @"Should have applied fix.");
NSString* newPath = [appPlistDict objectForKey:@"WebDatabaseDirectory"];
- XCTAssertTrue([@"/bpath/Library/WebKit" isEqualToString: newPath]);
+ XCTAssertTrue([@"/bpath/Library/WebKit" isEqualToString:newPath]);
}
@end
http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/a65420be/tests/CordovaLibTests/CordovaLibTests.xcodeproj/project.pbxproj
----------------------------------------------------------------------
diff --git a/tests/CordovaLibTests/CordovaLibTests.xcodeproj/project.pbxproj b/tests/CordovaLibTests/CordovaLibTests.xcodeproj/project.pbxproj
index eb6ce33..154727d 100644
--- a/tests/CordovaLibTests/CordovaLibTests.xcodeproj/project.pbxproj
+++ b/tests/CordovaLibTests/CordovaLibTests.xcodeproj/project.pbxproj
@@ -528,6 +528,7 @@
"$(inherited)",
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
"$(BUILT_PRODUCTS_DIR)/usr/local/include",
+ "$(BUILT_PRODUCTS_DIR)/include/Cordova/**",
);
INFOPLIST_FILE = "CordovaLibTests-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
@@ -561,6 +562,7 @@
"$(inherited)",
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
"$(BUILT_PRODUCTS_DIR)/usr/local/include",
+ "$(BUILT_PRODUCTS_DIR)/include/Cordova/**",
);
INFOPLIST_FILE = "CordovaLibTests-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org