mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
7e1a8cf56c
This change is mostly straightforward, except for the following. - It removes all the printing from the do_check_* macros because gtest macros do appropriate printing. - test_StatementCache.cpp needs some special gtest magic for the type parameterization. - It merges the four tests in test_unlock_notify.cpp because they rely on being executed in order, and so aren't independent. - storage_test_harness_tail.h is no longer necessary because gtest provides the test looping functionality. - It uses #include and the preprocessor to remove the duplication between test_deadlock_detector.cpp and xpcom/tests/DeadlockDetector.cpp. - It makes the test in test_service_init_background_thread.cpp a death test to force it to be the first storage gtest, because it fails otherwise. - It adds code to undo the SQLite mutex hooking as necessary, so that tests don't interfere with each other. - It de-virtualizes Spinner's destructor (as identified in bug 1318282). --HG-- rename : storage/test/storage_test_harness.h => storage/test/gtest/storage_test_harness.h rename : storage/test/test_AsXXX_helpers.cpp => storage/test/gtest/test_AsXXX_helpers.cpp rename : storage/test/test_StatementCache.cpp => storage/test/gtest/test_StatementCache.cpp rename : storage/test/test_asyncStatementExecution_transaction.cpp => storage/test/gtest/test_asyncStatementExecution_transaction.cpp rename : storage/test/test_async_callbacks_with_spun_event_loops.cpp => storage/test/gtest/test_async_callbacks_with_spun_event_loops.cpp rename : storage/test/test_binding_params.cpp => storage/test/gtest/test_binding_params.cpp rename : storage/test/test_deadlock_detector.cpp => storage/test/gtest/test_deadlock_detector.cpp rename : storage/test/test_file_perms.cpp => storage/test/gtest/test_file_perms.cpp rename : storage/test/test_mutex.cpp => storage/test/gtest/test_mutex.cpp rename : storage/test/test_service_init_background_thread.cpp => storage/test/gtest/test_service_init_background_thread.cpp rename : storage/test/test_statement_scoper.cpp => storage/test/gtest/test_statement_scoper.cpp rename : storage/test/test_transaction_helper.cpp => storage/test/gtest/test_transaction_helper.cpp rename : storage/test/test_true_async.cpp => storage/test/gtest/test_true_async.cpp rename : storage/test/test_unlock_notify.cpp => storage/test/gtest/test_unlock_notify.cpp extra : rebase_source : dbb695c112564efa1945116be1a8435988982e74 |
||
---|---|---|
.. | ||
build | ||
test | ||
.eslintrc.js | ||
FileSystemModule.cpp | ||
FileSystemModule.h | ||
IStorageBindingParamsInternal.h | ||
moz.build | ||
mozIStorageAggregateFunction.idl | ||
mozIStorageAsyncConnection.idl | ||
mozIStorageAsyncStatement.idl | ||
mozIStorageBaseStatement.idl | ||
mozIStorageBindingParams.idl | ||
mozIStorageBindingParamsArray.idl | ||
mozIStorageCompletionCallback.idl | ||
mozIStorageConnection.idl | ||
mozIStorageError.idl | ||
mozIStorageFunction.idl | ||
mozIStoragePendingStatement.idl | ||
mozIStorageProgressHandler.idl | ||
mozIStorageResultSet.idl | ||
mozIStorageRow.idl | ||
mozIStorageService.idl | ||
mozIStorageStatement.idl | ||
mozIStorageStatementCallback.idl | ||
mozIStorageStatementParams.idl | ||
mozIStorageStatementRow.idl | ||
mozIStorageVacuumParticipant.idl | ||
mozIStorageValueArray.idl | ||
mozStorageArgValueArray.cpp | ||
mozStorageArgValueArray.h | ||
mozStorageAsyncStatement.cpp | ||
mozStorageAsyncStatement.h | ||
mozStorageAsyncStatementExecution.cpp | ||
mozStorageAsyncStatementExecution.h | ||
mozStorageAsyncStatementJSHelper.cpp | ||
mozStorageAsyncStatementJSHelper.h | ||
mozStorageAsyncStatementParams.cpp | ||
mozStorageAsyncStatementParams.h | ||
mozStorageBindingParams.cpp | ||
mozStorageBindingParams.h | ||
mozStorageBindingParamsArray.cpp | ||
mozStorageBindingParamsArray.h | ||
mozStorageConnection.cpp | ||
mozStorageConnection.h | ||
mozStorageError.cpp | ||
mozStorageError.h | ||
mozStorageHelper.h | ||
mozStoragePrivateHelpers.cpp | ||
mozStoragePrivateHelpers.h | ||
mozStorageResultSet.cpp | ||
mozStorageResultSet.h | ||
mozStorageRow.cpp | ||
mozStorageRow.h | ||
mozStorageService.cpp | ||
mozStorageService.h | ||
mozStorageSQLFunctions.cpp | ||
mozStorageSQLFunctions.h | ||
mozStorageStatement.cpp | ||
mozStorageStatement.h | ||
mozStorageStatementData.h | ||
mozStorageStatementJSHelper.cpp | ||
mozStorageStatementJSHelper.h | ||
mozStorageStatementParams.cpp | ||
mozStorageStatementParams.h | ||
mozStorageStatementRow.cpp | ||
mozStorageStatementRow.h | ||
SQLCollations.cpp | ||
SQLCollations.h | ||
SQLiteMutex.h | ||
StatementCache.h | ||
storage.h | ||
StorageBaseStatementInternal.cpp | ||
StorageBaseStatementInternal.h | ||
style.txt | ||
TelemetryVFS.cpp | ||
VacuumManager.cpp | ||
VacuumManager.h | ||
Variant_inl.h | ||
Variant.h | ||
variantToSQLiteT_impl.h |