v86/tests/devices
Ernest Wong 644d2cfca8 Filestorage tests: Improve mock transaction lifetimes
- Assert that transaction operations are done within their callback
scopes.
- Improve test performance by using setImmediate for queueing macrotasks
instead of using setTimeout.
- Check for in-progress callbacks before completing transactions.

Note that promise callbacks are run as microtasks. When request
onsuccess callbacks are run, the transaction becomes active again and allows
further requests to be placed against that transaction. The transaction
becomes inactive when the program reaches the end of the event loop
iteration. However, all microtasks are exhausted before the event loop
iteration ends, so the transaction remains active even within the promise
callbacks.
2020-08-30 19:37:15 -05:00
..
testfs Filesystem: Load files via their sha256 2020-08-30 19:29:53 -05:00
filestorage.js Filestorage tests: Improve mock transaction lifetimes 2020-08-30 19:37:15 -05:00
testfs.json Filesystem: Load files via their sha256 2020-08-30 19:29:53 -05:00
virtio_9p.js Add TEST_RELEASE_BUILD to run tests on release build 2020-08-30 19:37:15 -05:00