gecko-dev/xpcom/tests/gtest
Nicholas Nethercote 7e1a8cf56c Bug 1315138 - gtestify storage/test/*.cpp. r=mak,erahm.
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
2016-11-11 09:59:23 +11:00
..
Helpers.cpp
Helpers.h Bug 1288077: Forward declare arrays by including 'nsTArrayForwardDeclare.h', r=froydnj 2016-07-20 17:29:36 +02:00
TestAllocReplacement.cpp Bug 1254779 - add tests to verify allocation function hooking; r=glandium 2016-08-12 18:55:07 -04:00
TestAtoms.cpp Bug 1273190, part 3 - Fix some modelines in xpcom/. r=froydnj 2016-05-24 14:45:44 -07:00
TestAutoPtr.cpp Bug 1313467 - Part 4: Convert TestAutoPtr to a gtest. r=froydnj 2016-11-04 11:13:58 -07:00
TestAutoRef.cpp Bug 1313468: Convert XPCOM test TestAutoRef to a gtest. r=froydnj 2016-11-04 16:21:37 -07:00
TestBase64.cpp Bug 1316424 - Convert XPCOM test TestBase64 to a gtest. r=bsmedberg 2016-11-10 13:01:01 -08:00
TestCOMArray.cpp Bug 1313469 - Part 2: Convert TestCOMArray to a gtest. r=froydnj 2016-11-04 16:21:59 -07:00
TestCOMPtr.cpp Bug 1317954 - Use C++11's override and remove virtual where applicable in xpcom/. r=froydnj 2016-11-16 14:27:07 +02:00
TestCOMPtrEq.cpp Bug 1313471 - Part 2: Convert TestCOMPtrEq to a gtest. r=froydnj 2016-11-04 16:22:29 -07:00
TestCRT.cpp
TestCallTemplates.cpp Bug 1316189 - Convert XPCOM test TestCallTemplate to a gtest. r=bsmedberg 2016-11-10 12:50:43 -08:00
TestCloneInputStream.cpp Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj 2016-08-24 14:47:04 +08:00
TestDeadlockDetector.cpp Bug 1315138 - gtestify storage/test/*.cpp. r=mak,erahm. 2016-11-11 09:59:23 +11:00
TestDeadlockDetectorScalability.cpp Bug 1313489 - Part 2: Convert DeadlockDetectorScalability to a gtest. r=froydnj 2016-11-10 12:47:48 -08:00
TestEncoding.cpp
TestEscapeURL.cpp Bug 1316127 - add tests for edge cases for nsUnescapeCount; r=erahm 2016-11-10 23:11:31 -05:00
TestExpirationTracker.cpp Bug 1219246 - use UniquePtr instead of nsAuto*Ptr in xpcom/; r=erahm 2015-10-31 13:47:14 -04:00
TestFile.cpp Bug 1313472 - Part 1: Convert XPCOM test TestFile to a gtest. r=froydnj 2016-11-04 16:22:43 -07:00
TestHashtables.cpp Bug 1317954 - Use C++11's override and remove virtual where applicable in xpcom/. r=froydnj 2016-11-16 14:27:07 +02:00
TestID.cpp Bug 1313474 - Convert XPCOM test TestID to a gtest. r=froydnj 2016-11-04 16:23:08 -07:00
TestNSPRLogModulesParser.cpp Bug 1316189 - Convert XPCOM test TestCallTemplate to a gtest. r=bsmedberg 2016-11-10 12:50:43 -08:00
TestNsRefPtr.cpp Bug 1317954 - Use C++11's override and remove virtual where applicable in xpcom/. r=froydnj 2016-11-16 14:27:07 +02:00
TestObserverArray.cpp Bug 1313477 - Convert XPCOM test TestObserverArray to a gtest. r=froydnj 2016-11-04 16:23:38 -07:00
TestObserverService.cpp Bug 1313488 - Part 0: Adding missing includes. r=froydnj 2016-11-10 12:47:21 -08:00
TestPLDHash.cpp Bug 1313479 - Part 0-1: Add missing includes to unified gtests. r=froydnj 2016-11-04 16:23:57 -07:00
TestPipes.cpp Bug 1309462 - Replace MOZ_ASSERT with MOZ_RELEASE_ASSERT in xpcom/tests/. r=froydnj 2016-10-12 19:40:45 -07:00
TestPriorityQueue.cpp
TestRacingServiceManager.cpp Bug 1316191 - Convert XPCOM test TestRacingServiceManager to a gtest. r=bsmedberg 2016-11-10 12:58:09 -08:00
TestSTLWrappers.cpp Bug 1317451 - ASSERT_DEATH replaced by ASSERT_DEATH_IF_SUPPORTED. r=froydnj 2016-11-13 11:12:49 -08:00
TestSlicedInputStream.cpp Bug 1288997 - memory blob should not be shared across processes - part 2 - SlicedInputStream, r=froydnj 2016-07-25 22:41:02 +02:00
TestSnappyStreams.cpp
TestStateWatching.cpp Bug 1300118 P1 Make TaskQueue deliver runnables to nsIEventTarget. r=bholley 2016-09-13 20:12:15 -07:00
TestStorageStream.cpp Bug 1313468: Convert XPCOM test TestAutoRef to a gtest. r=froydnj 2016-11-04 16:21:37 -07:00
TestStringStream.cpp Bug 1313467 - Part 4: Convert TestAutoPtr to a gtest. r=froydnj 2016-11-04 11:13:58 -07:00
TestStrings.cpp Bug 1318857 - Unhide nsTSubstring_CharT::StripChars in nsTString_CharT. r=froydnj 2016-11-20 00:53:37 +09:00
TestSynchronization.cpp Bug 1273190, part 1 - Fix indentation and mode lines for various xpcom/ files. r=froydnj 2016-05-24 14:45:44 -07:00
TestTArray.cpp Bug 1271751 - part 8 - fix bug in nsTArray_CopyWithConstructors; r=erahm 2016-07-08 16:59:04 -04:00
TestTArray2.cpp Bug 1313481 - Convert XPCOM test TestTArray to a gtest. r=froydnj 2016-11-04 16:24:27 -07:00
TestTextFormatter.cpp Bug 1313482 - Convert XPCOM test TestTextFormatter to a gtest. r=froydnj 2016-11-04 16:24:42 -07:00
TestThreadPool.cpp Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
TestThreadPoolListener.cpp Bug 1316193 - Fix unified bustage. r=me ON A CLOSED TREE 2016-11-10 13:23:21 -08:00
TestThreadUtils.cpp Bug 1313483 - Convert XPCOM test TestThreadUtils to a gtest. r=froydnj 2016-11-04 16:24:59 -07:00
TestThreads.cpp
TestTimeStamp.cpp Bug 1273190, part 1 - Fix indentation and mode lines for various xpcom/ files. r=froydnj 2016-05-24 14:45:44 -07:00
TestTimers.cpp Bug 1313484 - Convert XPCOM test TestTimers to a gtest. r=froydnj 2016-11-09 10:23:43 -08:00
TestTokenizer.cpp Bug 1273190, part 2 - Add some missing licenses and mode lines to XPCOM gtests. r=froydnj 2016-05-24 14:45:44 -07:00
TestUTF.cpp Bug 1301742 - Improve UTF-16 to UTF-8 conversion speed. r=froydnj 2016-09-15 15:46:29 -07:00
TestXPIDLString.cpp Bug 1273190, part 1 - Fix indentation and mode lines for various xpcom/ files. r=froydnj 2016-05-24 14:45:44 -07:00
UTFStrings.h
moz.build Bug 1316437 - Convert TestSTLWrappers to a gtest. r=bsmedberg 2016-11-10 13:04:06 -08:00