Commit Graph

33 Commits

Author SHA1 Message Date
daserge 189942284a CB-6928 Wrong behaviour transferring cacheable content
Adds support of 304 handling for iOS, Windows and adds a corresponding test
2015-11-11 09:46:17 +03:00
daserge 5857384b94 CB-51 API: FileTransfer - Support PUT Method
Adds a test for upload via PUT method
Adds support for Windows platform
2015-11-11 09:28:21 +03:00
Jesse MacFadyen 587e051225 CB-9906 cleanup duplicate code, removed 2nd isWP8 declaration. 2015-11-05 13:54:57 -08:00
daserge 1e900148e6 CB-9950 Unpend Filetransfer spec.27 on wp8 as custom headers are now supported 2015-11-04 17:47:26 +03:00
Jesse MacFadyen 066acb33af Merge branch 'CB-9906' 2015-11-03 22:17:28 -08:00
Jesse MacFadyen c5d92726c2 filetransfer.spec.6 was failing in 4.x branch of iOS because -1 was returned. 2015-11-03 22:14:55 -08:00
Alexander Sorokin 4dc697a863 CB-9843 Added wp8 quirk to test spec 12
github: close #106
2015-10-27 20:32:04 +03:00
Alexander Sorokin 869eea41ec CB-9673 Fixed test spec.6 failure on iOS
github: close #102
2015-10-16 10:15:01 +03:00
daserge 83ee62514a CB-9385 Return FILE_NOT_FOUND_ERR when receiving 404 code on iOS
Added a corresponding test case
2015-10-15 19:17:27 +03:00
Alexander Sorokin 1142a96b2c CB-9791 Decreased download and upload tests timeout 2015-10-13 15:41:41 +03:00
Steve Gill cebdae3a40 updated tests to use cordova apache vm 2015-08-19 23:33:49 -07:00
daserge 1c39fb547f CB-9493 Fix file paths in file-transfer manual tests
Also changes toNativeURL -> toURL because of deprecation
2015-08-14 17:16:32 +03:00
daserge 499ec5c07b CB-9376 Fix FileTransfer plugin manual tests issue - 'undefined' in paths 2015-07-16 15:40:44 +03:00
Nikhil Khandelwal 428d791f55 Remove verbose console log messages 2015-05-12 15:16:54 -07:00
alsorokin cd7eb26c7a CB-8933 Increased download and upload test timeout 2015-04-30 14:15:35 +03:00
alsorokin 8e22d5a6b0 CB-8641 Fixed tests to pass on windows and wp8 2015-04-08 13:09:12 +03:00
alsorokin c772257a85 CB-8495 Fixed wp8 and wp81 test failures 2015-02-18 17:02:40 +03:00
Vladimir Kotikov bb0ed704a8 CB-7957 Adds support for browser platform 2015-02-11 17:46:01 -08:00
Vladimir Kotikov 837771c4c6 CB-8095 Fixes JSHint and formatting issues 2015-02-11 17:46:00 -08:00
Vladimir Kotikov 320f0d4173 CB-8095 Updates tests and documentation 2015-02-11 17:46:00 -08:00
Ian Clelland 2bfbd2c782 CB-8125: Fix spec tests 28 and 29
These tests had long been failing (silently). The refactor for CB-8125
surfaced those failures, and so this fixes them.
2014-12-17 11:08:46 -05:00
Dmitry Blotsky fc8f4f0001 CB-8125: Reorganize and clean up test suite.
Audited all calls to done() to ensure correct async execution. Removed some redundant code. Removed depencency on mobile-spec: tests now run even if started independently. Tested without plugin-test-framework and with it, on Windows, iOS, and Android.

Made deleteFile and writeFile raise real errors when they encounter real problems; otherwise, made their logging sound less threatening. Fixed spec.17, using localFilePath instead of fileName.

Fixed issue with pending() throwing errors when being called in an async 'unsupported' callback by calling it in afterEach. Also made log messages slightly more informative.

This closes #55
2014-12-17 11:08:27 -05:00
Ian Clelland 6c253e832d Merge branch 'fixtests' 2014-11-27 14:24:58 -05:00
maria.bukharina 6fee835928 CB-7944 Pended unsupported auto tests for windows
This closes #48
2014-11-14 11:16:48 -05:00
Edna Morales 38d35c291f CB-7423 fix spec28,29 lastProgressEvent not visible to afterEach function 2014-09-02 17:07:35 -04:00
Staci Cooper 807dbdd371 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer into fixtests 2014-09-02 14:42:49 -04:00
Archana Naik 82ad25e2c0 Amazon related changes. 2014-08-28 12:07:06 -07:00
Edna Morales 6f9b59fd88 added documentation for new test 2014-08-18 13:39:29 -04:00
Edna Morales e1afbb6d24 rebase from master 2014-08-18 11:59:20 -04:00
Michal Mocny b5d1dffc2f CB-6466 Fix failing test due to recent url change 2014-08-15 15:00:34 -04:00
Edna Morales 86446811b2 Merge renamed tests dir 2014-08-13 13:07:30 -04:00
Staci Cooper 0b257f534c CB-6466 created mobile-spec test
Added a test to check that filetransfer.download() automatically creates
any nonexistent directories.

Also removed some unused code
2014-08-12 13:06:36 -04:00
Staci Cooper fbca17be1e Renamed test dir, added nested plugin.xml and test
Added upload spec.6
2014-08-01 16:30:43 -04:00