Commit Graph

13 Commits

Author SHA1 Message Date
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