Name Description Size Coverage
moz.build 1233 -
storage_test_harness.cpp Execute an async statement, blocking the main thread until we get the callback completion notification. 7964 88 %
storage_test_harness.h Execute an async statement, blocking the main thread until we get the callback completion notification. 7359 97 %
test_AsXXX_helpers.cpp Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 3300 75 %
test_async_callbacks_with_spun_event_loops.cpp Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 4138 95 %
test_async_thread_naming.cpp 8165 100 %
test_asyncStatementExecution_transaction.cpp Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 13530 100 %
test_binding_arrays.cpp This file tests binding and reading out array parameters through the mozIStorageStatement API. 5993 100 %
test_binding_params.cpp This file tests binding and reading out string parameters through the mozIStorageStatement API. 6142 100 %
test_deadlock_detector.cpp Helper class to allocate a sqlite3_mutex for our SQLiteMutex. 1765 -
test_file_perms.cpp This file tests that the file permissions of the sqlite files match what we request they be 1211 89 %
test_interruptSynchronousConnection.cpp 2901 100 %
test_mutex.cpp This file test our sqlite3_mutex wrapper in SQLiteMutex.h. 2035 100 %
test_spinningSynchronousClose.cpp Helper to verify that the event loop was spun. As long as this is dispatched prior to a call to Close()/SpinningSynchronousClose() we are guaranteed this will be run if the event loop is spun to perform a close. This is because SpinningSynchronousClose must spin the event loop to realize the close completed and our runnable will already be enqueued and therefore run before the AsyncCloseConnection's callback. Note that this invariant may be violated if our runnables end up in different queues thanks to Quantum changes, so this test may need to be updated if the close dispatch changes. 2775 97 %
test_statement_scoper.cpp This file test our statement scoper in mozStorageHelper.h. 2917 100 %
test_StatementCache.cpp This file test our statement cache in StatementCache.h. 4607 100 %
test_transaction_helper.cpp This file tests our Transaction helper in mozStorageHelper.h. 5829 100 %
test_true_async.cpp Test that cancellation before a statement is run successfully stops the statement from executing. 5520 100 %
test_unlock_notify.cpp vim set:sw=2 ts=2 et lcs=trail\:.,tab\:>~ : 6744 99 %