CB-8095 Updates tests and documentation
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/8bb305e9 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/tree/8bb305e9 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/diff/8bb305e9 Branch: refs/heads/CB-8095 Commit: 8bb305e9b9adb4cd52f0441debf3445864559541 Parents: 970c1cf Author: Vladimir Kotikov <[email protected]> Authored: Thu Nov 27 18:50:01 2014 +0300 Committer: Vladimir Kotikov <[email protected]> Committed: Thu Nov 27 18:50:01 2014 +0300 ---------------------------------------------------------------------- doc/index.md | 6 ++---- tests/tests.js | 10 ---------- 2 files changed, 2 insertions(+), 14 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/8bb305e9/doc/index.md ---------------------------------------------------------------------- diff --git a/doc/index.md b/doc/index.md index 0ba5c95..65f5d68 100644 --- a/doc/index.md +++ b/doc/index.md @@ -42,15 +42,13 @@ Although in the global scope, they are not available until after the `deviceread - Firefox OS** - iOS - Windows Phone 7 and 8* -- Windows 8*** -- Windows*** +- Windows 8 +- Windows \* _Do not support `onprogress` nor `abort()`_ \** _Do not support `onprogress`_ -\*** Partial support of `onprogress` for upload method. `onprogress` is called with empty progress event due to Windows limitations_ - # FileTransfer The `FileTransfer` object provides a way to upload files using an HTTP http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/8bb305e9/tests/tests.js ---------------------------------------------------------------------- diff --git a/tests/tests.js b/tests/tests.js index fa4278f..bed842f 100644 --- a/tests/tests.js +++ b/tests/tests.js @@ -452,11 +452,6 @@ exports.defineAutoTests = function () { }); it("filetransfer.spec.18 should be able to upload a file", function (done) { - // according to spec "onprogress" method doesn't supported on WP - if (isWP81) { - pending(); - return; - } var uploadFail = createFail(done, "Upload error callback should not have been called"); var fileFail = createFail(done, "Error writing file to be uploaded"); var remoteFile = server + "/upload"; @@ -510,11 +505,6 @@ exports.defineAutoTests = function () { writeFile(localFileName, fileContents, fileWin, fileFail); }); it("filetransfer.spec.19 should be able to upload a file with http basic auth", function (done) { - // according to spec "onprogress" method doesn't supported on WP - if (isWP81) { - pending(); - return; - } var uploadFail = createFail(done, "Upload error callback should not have been called"); var fileFail = createFail(done, "Error writing file to be uploaded"); var remoteFile = server_with_credentials + "/upload_basic_auth"; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
