Bug 1314350 - Port TestTXMgr to gtest. This removes the framework for testing object destruction order because that was already non-deterministic due to the cycle collector, r=masayuki

MozReview-Commit-ID: vK4iYmytgt

--HG--
extra : rebase_source : fc4be47bf0e68777aaf45250b339cf0d3d332240
extra : source : bb1325166026fec5e13db34eca7588ce18c94505
This commit is contained in:
Benjamin Smedberg 2016-11-15 13:06:05 -05:00
parent 5964cb6f7f
commit 00f9f7a30c
4 changed files with 487 additions and 2883 deletions

File diff suppressed because it is too large Load Diff

View File

@ -4,6 +4,7 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
GeckoCppUnitTests([
'TestTXMgr',
])
SOURCES += [
'TestTXMgr.cpp',
]
FINAL_LIBRARY = 'xul-gtest'

View File

@ -133,7 +133,6 @@ ALLOWED_XPCOM_GLUE = {
('test_transaction_helper', 'storage/test'),
('test_true_async', 'storage/test'),
('test_unlock_notify', 'storage/test'),
('TestTXMgr', 'editor/txmgr/tests'),
('test_IHistory', 'toolkit/components/places/tests/cpp'),
('testcrasher', 'toolkit/crashreporter/test'),
('jsep_session_unittest', 'media/webrtc/signaling/test'),

View File

@ -42,8 +42,6 @@ skip-if = os == 'android' # Bug 1147630
[TestSaturate]
[TestSplayTree]
[TestSyncRunnable]
[TestTXMgr]
skip-if = os == 'b2g' #Bug 919595
[TestTemplateLib]
[TestTuple]
[TestTypeTraits]