Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Master
-
None
-
Cordova version: 6.3.0-dev
Platform: Android
Version: 7.1.2
Model: Nexus 6P
Description
Build and install mobilespec on latest master at 6a18318 . The file-transfer plugin get 25 failures.
53 specs, 25 failures, 2 pending specs Spec List | Failures cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download filetransfer.spec.4 should download a file Expected spy httpFail not to have been called. Error: Expected spy httpFail not to have been called. at stack (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1577:17) at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1547:14) at Spec.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:638:18) at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:330:34) at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:588:21) at Expectation.toHaveBeenCalled (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1501:12) at Object.<anonymous> (file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:272:63) at attemptSync (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1886:24) at QueueRunner.run (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1874:9) at file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1898:16 cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download filetransfer.spec.4.1 should download a file using target name with space Expected spy httpFail not to have been called. Error: Expected spy httpFail not to have been called. at stack (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1577:17) at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1547:14) at Spec.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:638:18) at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:330:34) at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:588:21) at Expectation.toHaveBeenCalled (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1501:12) at Object.<anonymous> (file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:272:63) at attemptSync (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1886:24) at QueueRunner.run (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1874:9) at file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1898:16 cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download filetransfer.spec.5 should download a file using http basic auth Expected spy httpFail not to have been called. Error: Expected spy httpFail not to have been called. at stack (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1577:17) at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1547:14) at Spec.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:638:18) at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:330:34) at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:588:21) at Expectation.toHaveBeenCalled (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1501:12) at Object.<anonymous> (file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:272:63) at attemptSync (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1886:24) at QueueRunner.run (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1874:9) at file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1898:16 cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download filetransfer.spec.12 should get http status on failure Expected 401 not to be 401, 'Ensure http://rwswbpiopr.localtunnel.me/404 is in the white list'. Error: Expected 401 not to be 401, 'Ensure http://rwswbpiopr.localtunnel.me/404 is in the white list'. at stack (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1577:17) at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1547:14) at Spec.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:638:18) at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:330:34) at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:588:21) at Expectation.toBe (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1501:12) at downloadFail (file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:646:55) at fail (file:///android_asset/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:226:9) at Object.callbackFromNative (file:///android_asset/www/cordova.js:295:52) at processMessage (file:///android_asset/www/cordova.js:1119:17) Expected 401 to be 404. Error: Expected 401 to be 404. at stack (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1577:17) at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1547:14) at Spec.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:638:18) at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:330:34) at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:588:21) at Expectation.toBe (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1501:12) at downloadFail (file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:647:51) at fail (file:///android_asset/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:226:9) at Object.callbackFromNative (file:///android_asset/www/cordova.js:295:52) at processMessage (file:///android_asset/www/cordova.js:1119:17) Expected 3 to be 1. Error: Expected 3 to be 1. at stack (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1577:17) at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1547:14) at Spec.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:638:18) at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:330:34) at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:588:21) at Expectation.toBe (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1501:12) at downloadFail (file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:653:48) at fail (file:///android_asset/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:226:9) at Object.callbackFromNative (file:///android_asset/www/cordova.js:295:52) at processMessage (file:///android_asset/www/cordova.js:1119:17) cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download filetransfer.spec.13 should get http body on failure Expected 401 not to be 401, 'Ensure http://rwswbpiopr.localtunnel.me/404 is in the white list'. Error: Expected 401 not to be 401, 'Ensure http://rwswbpiopr.localtunnel.me/404 is in the white list'. at stack (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1577:17) at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1547:14) at Spec.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:638:18) at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:330:34) at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:588:21) at Expectation.toBe (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1501:12) at downloadFail (file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:672:55) at fail (file:///android_asset/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:226:9) at Object.callbackFromNative (file:///android_asset/www/cordova.js:295:52) at processMessage (file:///android_asset/www/cordova.js:1119:17) Expected 401 to be 404. Error: Expected 401 to be 404. at stack (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1577:17) at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1547:14) at Spec.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:638:18) at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:330:34) at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:588:21) at Expectation.toBe (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1501:12) at downloadFail (file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:673:51) at fail (file:///android_asset/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:226:9) at Object.callbackFromNative (file:///android_asset/www/cordova.js:295:52) at processMessage (file:///android_asset/www/cordova.js:1119:17) Expected null to match 'You requested a 404'. Error: Expected null to match 'You requested a 404'. at stack (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1577:17) at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1547:14) at Spec.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:638:18) at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:330:34) at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:588:21) at Expectation.toMatch (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1501:12) at downloadFail (file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:676:44) at fail (file:///android_asset/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:226:9) at Object.callbackFromNative (file:///android_asset/www/cordova.js:295:52) at processMessage (file:///android_asset/www/cordova.js:1119:17) cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download filetransfer.spec.30 downloaded file entries should have a toNativeURL method Expected spy httpFail not to have been called. Error: Expected spy httpFail not to have been called. at stack (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1577:17) at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1547:14) at Spec.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:638:18) at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:330:34) at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:588:21) at Expectation.toHaveBeenCalled (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1501:12) at Object.<anonymous> (file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:272:63) at attemptSync (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1886:24) at QueueRunner.run (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1874:9) at file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1898:16 cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download filetransfer.spec.28 (compatibility) should be able to download a file using local paths Expected spy httpFail not to have been called. Error: Expected spy httpFail not to have been called. at stack (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1577:17) at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1547:14) at Spec.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:638:18) at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:330:34) at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:588:21) at Expectation.toHaveBeenCalled (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1501:12) at Object.<anonymous> (file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:272:63) at attemptSync (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1886:24) at QueueRunner.run (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1874:9) at file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1898:16 cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download filetransfer.spec.33 should properly handle 304 Expected 401 to be 304. Error: Expected 401 to be 304. at stack (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1577:17) at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1547:14) at Spec.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:638:18) at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:330:34) at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:588:21) at Expectation.toBe (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1501:12) at downloadFail (file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:844:51) at fail (file:///android_asset/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:226:9) at Object.callbackFromNative (file:///android_asset/www/cordova.js:295:52) at processMessage (file:///android_asset/www/cordova.js:1119:17) Expected 3 to be 5. Error: Expected 3 to be 5. at stack (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1577:17) at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1547:14) at Spec.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:638:18) at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:330:34) at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:588:21) at Expectation.toBe (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1501:12) at downloadFail (file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:845:44) at fail (file:///android_asset/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:226:9) at Object.callbackFromNative (file:///android_asset/www/cordova.js:295:52) at processMessage (file:///android_asset/www/cordova.js:1119:17) cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download filetransfer.spec.35 304 should not result in the deletion of a cached file Expected 401 to be 304. Error: Expected 401 to be 304. at stack (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1577:17) at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1547:14) at Spec.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:638:18) at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:330:34) at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:588:21) at Expectation.toBe (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1501:12) at downloadFail (file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:881:51) at fail (file:///android_asset/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:226:9) at Object.callbackFromNative (file:///android_asset/www/cordova.js:295:52) at processMessage (file:///android_asset/www/cordova.js:1119:17) Expected 3 to be 5. Error: Expected 3 to be 5. at stack (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1577:17) at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1547:14) at Spec.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:638:18) at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:330:34) at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:588:21) at Expectation.toBe (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1501:12) at downloadFail (file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:882:44) at fail (file:///android_asset/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:226:9) at Object.callbackFromNative (file:///android_asset/www/cordova.js:295:52) at processMessage (file:///android_asset/www/cordova.js:1119:17) cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload filetransfer.spec.18 should be able to upload a file Expected spy httpFail not to have been called. Error: Expected spy httpFail not to have been called. at stack (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1577:17) at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1547:14) at Spec.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:638:18) at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:330:34) at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:588:21) at Expectation.toHaveBeenCalled (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1501:12) at Object.<anonymous> (file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:272:63) at attemptSync (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1886:24) at QueueRunner.run (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1874:9) at file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1898:16 cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload filetransfer.spec.19 should be able to upload a file with http basic auth Expected spy httpFail not to have been called. Error: Expected spy httpFail not to have been called. at stack (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1577:17) at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1547:14) at Spec.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:638:18) at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:330:34) at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:588:21) at Expectation.toHaveBeenCalled (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1501:12) at Object.<anonymous> (file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:272:63) at attemptSync (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1886:24) at QueueRunner.run (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1874:9) at file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1898:16 cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload filetransfer.spec.21 should be stopped by abort() Expected 3 to be 4. Error: Expected 3 to be 4. at stack (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1577:17) at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1547:14) at Spec.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:638:18) at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:330:34) at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:588:21) at Expectation.toBe (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1501:12) at uploadFail (file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:1079:40) at fail (file:///android_asset/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:152:9) at Object.callbackFromNative (file:///android_asset/www/cordova.js:295:52) at <anonymous>:1:9 cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload filetransfer.spec.22 should get http status and body on failure Expected 200 to be 403. Error: Expected 200 to be 403. at stack (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1577:17) at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1547:14) at Spec.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:638:18) at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:330:34) at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:588:21) at Expectation.toBe (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1501:12) at uploadFail (file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:1129:55) at fail (file:///android_asset/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:152:9) at Object.callbackFromNative (file:///android_asset/www/cordova.js:295:52) at <anonymous>:1:9 cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload filetransfer.spec.27 should be able to set custom headers cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload filetransfer.spec.29 (compatibility) should be able to upload a file using local paths Expected null not to be null 'returned data from server should be valid json'. Error: Expected null not to be null 'returned data from server should be valid json'. at stack (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1577:17) at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1547:14) at Spec.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:638:18) at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:330:34) at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:588:21) at Expectation.toBeNull (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1501:12) at verifyUpload (file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:995:41) at uploadWin (file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:1259:25) at win (file:///android_asset/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:163:17) at Object.callbackFromNative (file:///android_asset/www/cordova.js:293:58) cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload filetransfer.spec.31 should be able to upload a file using PUT method Expected spy httpFail not to have been called. Error: Expected spy httpFail not to have been called. at stack (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1577:17) at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1547:14) at Spec.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:638:18) at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:330:34) at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:588:21) at Expectation.toHaveBeenCalled (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1501:12) at Object.<anonymous> (file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:272:63) at attemptSync (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1886:24) at QueueRunner.run (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1874:9) at file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1898:16 cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload filetransfer.spec.32 should be able to upload a file (non-multipart) Expected spy httpFail not to have been called. Error: Expected spy httpFail not to have been called. at stack (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1577:17) at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1547:14) at Spec.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:638:18) at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:330:34) at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:588:21) at Expectation.toHaveBeenCalled (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1501:12) at Object.<anonymous> (file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:272:63) at attemptSync (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1886:24) at QueueRunner.run (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1874:9) at file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1898:16 cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload filetransfer.spec.38 should be able to upload a file using data: source uri Expected FileTransferError({ code: 3, source: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==', target: 'http://rwswbpiopr.localtunnel.me/upload', http_status: 200, body: null, exception: 'Connection reset' }) not to be defined. Error: Expected FileTransferError({ code: 3, source: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==', target: 'http://rwswbpiopr.localtunnel.me/upload', http_status: 200, body: null, exception: 'Connection reset' }) not to be defined. at stack (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1577:17) at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1547:14) at Spec.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:638:18) at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:330:34) at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:588:21) at Expectation.toBeDefined (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1501:12) at file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:1455:41 at fail (file:///android_asset/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:152:9) at Object.callbackFromNative (file:///android_asset/www/cordova.js:295:52) at <anonymous>:1:9 cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload filetransfer.spec.39 should be able to upload a file using data: source uri (non-multipart) Expected spy httpFail not to have been called. Error: Expected spy httpFail not to have been called. at stack (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1577:17) at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1547:14) at Spec.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:638:18) at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:330:34) at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:588:21) at Expectation.toHaveBeenCalled (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1501:12) at Object.<anonymous> (file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:272:63) at attemptSync (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1886:24) at QueueRunner.run (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1874:9) at file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1898:16 cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload filetransfer.spec.40 should not fail to upload a file using data: source uri when the data is empty Expected spy httpFail not to have been called. Error: Expected spy httpFail not to have been called. at stack (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1577:17) at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1547:14) at Spec.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:638:18) at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:330:34) at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:588:21) at Expectation.toHaveBeenCalled (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1501:12) at Object.<anonymous> (file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:272:63) at attemptSync (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1886:24) at QueueRunner.run (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1874:9) at file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1898:16 cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload filetransfer.spec.41 should not fail to upload a file using data: source uri when the data is empty (non-multipart) Expected spy httpFail not to have been called. Error: Expected spy httpFail not to have been called. at stack (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1577:17) at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1547:14) at Spec.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:638:18) at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:330:34) at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:588:21) at Expectation.toHaveBeenCalled (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1501:12) at Object.<anonymous> (file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:272:63) at attemptSync (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1886:24) at QueueRunner.run (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1874:9) at file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1898:16 cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload chunkedMode handling filetransfer.spec.42 chunkedMode=false, multipart=false Expected null not to be null 'returned data from server should be valid json'. Error: Expected null not to be null 'returned data from server should be valid json'. at stack (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1577:17) at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1547:14) at Spec.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:638:18) at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:330:34) at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:588:21) at Expectation.toBeNull (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1501:12) at testChunkedModeWin (file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:1555:45) at file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:1593:29 at win (file:///android_asset/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:163:17) at Object.callbackFromNative (file:///android_asset/www/cordova.js:293:58) cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload chunkedMode handling filetransfer.spec.43 chunkedMode=true, multipart=false Expected null not to be null 'returned data from server should be valid json'. Error: Expected null not to be null 'returned data from server should be valid json'. at stack (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1577:17) at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1547:14) at Spec.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:638:18) at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:330:34) at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:588:21) at Expectation.toBeNull (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1501:12) at testChunkedModeWin (file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:1555:45) at file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:1593:29 at win (file:///android_asset/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:163:17) at Object.callbackFromNative (file:///android_asset/www/cordova.js:293:58) cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload chunkedMode handling filetransfer.spec.44 chunkedMode=false, multipart=true Expected null not to be null 'returned data from server should be valid json'. Error: Expected null not to be null 'returned data from server should be valid json'. at stack (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1577:17) at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1547:14) at Spec.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:638:18) at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:330:34) at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:588:21) at Expectation.toBeNull (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1501:12) at testChunkedModeWin (file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:1555:45) at file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:1593:29 at win (file:///android_asset/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:163:17) at Object.callbackFromNative (file:///android_asset/www/cordova.js:293:58) cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload chunkedMode handling filetransfer.spec.45 chunkedMode=true, multipart=true Expected null not to be null 'returned data from server should be valid json'. Error: Expected null not to be null 'returned data from server should be valid json'. at stack (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1577:17) at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1547:14) at Spec.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:638:18) at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:330:34) at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:588:21) at Expectation.toBeNull (file:///android_asset/www/cdvtests/jasmine-2.4.1/jasmine.js:1501:12) at testChunkedModeWin (file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:1555:45) at file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:1593:29 at win (file:///android_asset/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:163:17) at Object.callbackFromNative (file:///android_asset/www/cordova.js:293:58)