CB-7223 spec.27 marked pending for wp8

since wp8 does not support custom headers


Project: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/commit/74fe40d6
Tree: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/tree/74fe40d6
Diff: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/diff/74fe40d6

Branch: refs/heads/master
Commit: 74fe40d69d8f49fd92bd32d241840d11743d2ab6
Parents: 9d0ecc2
Author: Staci Cooper <[email protected]>
Authored: Tue Jul 29 16:06:14 2014 -0400
Committer: Staci Cooper <[email protected]>
Committed: Tue Jul 29 16:06:14 2014 -0400

----------------------------------------------------------------------
 test/tests.js | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/74fe40d6/test/tests.js
----------------------------------------------------------------------
diff --git a/test/tests.js b/test/tests.js
index 11e30b7..1e198a6 100644
--- a/test/tests.js
+++ b/test/tests.js
@@ -669,6 +669,9 @@ exports.defineAutoTests = function () {
                 ft.upload("/usr/local/bad/file/path.txt", remoteFile, 
uploadWin, uploadFail);
             });
             it("filetransfer.spec.27 should be able to set custom headers", 
function (done) {
+                if (cordova.platformId === 'windowsphone') {
+                    pending();
+                }
                 var uploadFail = createFail(done, "Upload error callback 
should not have been called");
                 var fileFail = createFail(done, "Error writing file to be 
uploaded");
                 var remoteFile = "http://whatheaders.com";;


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to