blob: 5dee9b27c12d5bb6929ed45982e86909823cf53e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
Passing Flags parameter tests. This test checks if passing Flags parameters to DirectoryEntry.getFile does not crash and works as expected.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
* Passing JSON Flags object.
* Passing JSON Flags object (with exclusive=true).
* Passing null as a flags parameter.
* Passing a number as a flags parameter.
Caught exception: TypeError: Failed to execute 'getFile' on 'DirectoryEntry': parameter 2 ('options') is not an object.
Finished running tests.
PASS expectedCallbacksCount is 1
PASS unexpectedCallbacksCount is 0
PASS successfullyParsed is true
TEST COMPLETE
|