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
This commit is contained in:
Dmitry Blotsky
2014-12-04 18:29:01 -08:00
committed by Ian Clelland
parent 169c8b7cb8
commit fc8f4f0001
+718 -754
View File
File diff suppressed because it is too large Load Diff