You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2015/10/13 08:32:42 UTC
ios commit: CB-9787 - [CDVStartPageTest testParametersInStartPage]
unit-test failure (improved fix)
Repository: cordova-ios
Updated Branches:
refs/heads/master b6333497e -> 0ec040328
CB-9787 - [CDVStartPageTest testParametersInStartPage] unit-test failure (improved fix)
Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/0ec04032
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/0ec04032
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/0ec04032
Branch: refs/heads/master
Commit: 0ec0403285717cd28c37c51ed57b58c6059004e0
Parents: b633349
Author: Shazron Abdullah <sh...@apache.org>
Authored: Mon Oct 12 23:32:39 2015 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Mon Oct 12 23:32:39 2015 -0700
----------------------------------------------------------------------
tests/CordovaLibTests/CDVStartPageTests.m | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/0ec04032/tests/CordovaLibTests/CDVStartPageTests.m
----------------------------------------------------------------------
diff --git a/tests/CordovaLibTests/CDVStartPageTests.m b/tests/CordovaLibTests/CDVStartPageTests.m
index 99a592a..ba3acd3 100644
--- a/tests/CordovaLibTests/CDVStartPageTests.m
+++ b/tests/CordovaLibTests/CDVStartPageTests.m
@@ -91,8 +91,8 @@
[self waitForConditionName:@"getting href" block:^{
return
(BOOL)
- ((vc1WebViewEngine.URL != nil && vc1WebViewEngine.URL != nil) &&
- (vc2WebViewEngine.URL != nil && vc2WebViewEngine.URL != nil));
+ ((vc1WebViewEngine.URL != nil && ![[vc1WebViewEngine.URL description] isEqualToString:@"about:blank"]) &&
+ (vc2WebViewEngine.URL != nil && ![[vc2WebViewEngine.URL description] isEqualToString:@"about:blank"]));
}];
[vc1WebViewEngine evaluateJavaScript:geHREF completionHandler:^(NSString* href, NSError* error) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org