blob: 29740b2e3511d5d4a22059b84d25287a44cc234b [file] [log] [blame]
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': cannot convert to dictionary.
Finished running tests.
PASS expectedCallbacksCount is 1
PASS unexpectedCallbacksCount is 0
PASS successfullyParsed is true
TEST COMPLETE