You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Shakhnazarov (JIRA)" <ji...@apache.org> on 2015/10/26 18:52:28 UTC

[jira] [Resolved] (CB-7854) Windows 8 filetransfer.spec.18 and 19 ft.onprogress failing

     [ https://issues.apache.org/jira/browse/CB-7854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Shakhnazarov resolved CB-7854.
-------------------------------------
    Resolution: Fixed

> Windows 8 filetransfer.spec.18 and 19 ft.onprogress failing
> -----------------------------------------------------------
>
>                 Key: CB-7854
>                 URL: https://issues.apache.org/jira/browse/CB-7854
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: mobile-spec, Plugin File Transfer, Windows 8
>    Affects Versions: 3.6.3
>         Environment: Windows 8
>    "org.apache.cordova.file-transfer.tests": "0.4.7",
>  
>            Reporter: Angela Fowler
>            Assignee: Jesse MacFadyen
>            Priority: Minor
>
> The ft.onprogress function expects there to be some progress (4 times) :
>                         expect(e.lengthComputable).toBe(true);
>                         expect(e.total).toBeGreaterThan(0);
>                         expect(e.loaded).toBeGreaterThan(0);
> org.apache.cordova.file-transfer.tests.tests >> FileTransfer upload method filetransfer.spec.18 should be able to upload a file
> Expected false to be true.
> Error: Expected false to be true.
>    at stack (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:1292:11)
>    at buildExpectationResult (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:1264:5)
>    at expectationResultFactory (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:483:11)
>    at Spec.prototype.addExpectationResult (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:259:5)
>    at addExpectationResult (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:441:9)
>    at Anonymous function (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:1208:7)
>    at ft.onprogress (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/plugins/org.apache.cordova.file-transfer.tests/tests.js:492:25)
>    at win (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/plugins/org.apache.cordova.file-transfer/www/FileTransfer.js:137:17)
>    at cordova.callbackFromNative (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cordova.js:292:37)
>    at cordova.callbackSuccess (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cordova.js:266:13)
> Expected 0 to be greater than 0.
> Error: Expected 0 to be greater than 0.
>    at stack (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:1292:11)
>    at buildExpectationResult (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:1264:5)
>    at expectationResultFactory (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:483:11)
>    at Spec.prototype.addExpectationResult (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:259:5)
>    at addExpectationResult (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:441:9)
>    at Anonymous function (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:1208:7)
>    at ft.onprogress (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/plugins/org.apache.cordova.file-transfer.tests/tests.js:493:25)
>    at win (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/plugins/org.apache.cordova.file-transfer/www/FileTransfer.js:137:17)
>    at cordova.callbackFromNative (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cordova.js:292:37)
>    at cordova.callbackSuccess (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cordova.js:266:13)
> Expected 0 to be greater than 0.
> Error: Expected 0 to be greater than 0.
>    at stack (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:1292:11)
>    at buildExpectationResult (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:1264:5)
>    at expectationResultFactory (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:483:11)
>    at Spec.prototype.addExpectationResult (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:259:5)
>    at addExpectationResult (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:441:9)
>    at Anonymous function (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cdvtests/jasmine-2.0.0/jasmine.js:1208:7)
>    at ft.onprogress (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/plugins/org.apache.cordova.file-transfer.tests/tests.js:494:25)
>    at win (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/plugins/org.apache.cordova.file-transfer/www/FileTransfer.js:137:17)
>    at cordova.callbackFromNative (ms-appx://86f5ae70-5993-11e4-a645-8b89700cd2e4/www/cordova.js:292:37)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org