incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject ios commit: Fixed failing test because [CB-907] was reverted
Date Thu, 19 Jul 2012 00:47:00 GMT
Updated Branches:
  refs/heads/master 38d1b8db5 -> 566ebc2e9


Fixed failing test because [CB-907] was reverted


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/566ebc2e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/566ebc2e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/566ebc2e

Branch: refs/heads/master
Commit: 566ebc2e99ad988908a0d40b36e7eaa9c3328ddd
Parents: 38d1b8d
Author: Shazron Abdullah <shazron@apache.org>
Authored: Wed Jul 18 17:46:48 2012 -0700
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Wed Jul 18 17:46:48 2012 -0700

----------------------------------------------------------------------
 CordovaLib/CordovaLibTests/CDVFileTransferTests.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/566ebc2e/CordovaLib/CordovaLibTests/CDVFileTransferTests.m
----------------------------------------------------------------------
diff --git a/CordovaLib/CordovaLibTests/CDVFileTransferTests.m b/CordovaLib/CordovaLibTests/CDVFileTransferTests.m
index c0817f5..6e2fcf7 100644
--- a/CordovaLib/CordovaLibTests/CDVFileTransferTests.m
+++ b/CordovaLib/CordovaLibTests/CDVFileTransferTests.m
@@ -138,7 +138,7 @@ static NSData* readStream(NSInputStream* stream) {
 
 - (void)testUpload_serverUrlPathEscaping
 {
-    [self setServerUrlArg:@"http://apache.org/spa ce%"];
+    [self setServerUrlArg:[_fileTransfer escapePathComponentForUrlString:@"http://apache.org/spa
ce%"]]; // uri encode first now
     NSURLRequest* request = [self requestForUpload];
     STAssertTrue([[[request URL] absoluteString] isEqualToString:@"http://apache.org/spa%20ce%25"],
nil);
 }


Mime
View raw message