Bug 1332631 part H - move gtests from xpcom/glue to xpcom/tests, and unify the two TestThreadUtils.cpp into one file, r=froydnj

MozReview-Commit-ID: 2idOXKJOnuW

--HG--
rename : xpcom/glue/tests/gtest/TestArray.cpp => xpcom/tests/gtest/TestArray.cpp
rename : xpcom/glue/tests/gtest/TestGCPostBarriers.cpp => xpcom/tests/gtest/TestGCPostBarriers.cpp
rename : xpcom/glue/tests/gtest/TestNsDeque.cpp => xpcom/tests/gtest/TestNsDeque.cpp
extra : rebase_source : f5b3dc2f338c056e96c9fc42d9cdb4d2f7128116
extra : histedit_source : 9d85be5854af26a214aff4e1027415b9472e21a1
This commit is contained in:
Benjamin Smedberg 2017-01-20 15:22:23 -05:00
parent 9b43ba6de7
commit e56d1ab394
8 changed files with 1018 additions and 1029 deletions

File diff suppressed because it is too large Load Diff

View File

@ -5,11 +5,7 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
UNIFIED_SOURCES += [
'TestArray.cpp',
'TestFileUtils.cpp',
'TestGCPostBarriers.cpp',
'TestNsDeque.cpp',
'TestThreadUtils.cpp',
]
LOCAL_INCLUDES = [

View File

@ -5,6 +5,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsCOMArray.h"
#include "nsCOMPtr.h"
#include "nsISupports.h"
#include "gtest/gtest.h"
// {9e70a320-be02-11d1-8031-006008159b5a}

File diff suppressed because it is too large Load Diff

View File

@ -6,20 +6,22 @@
UNIFIED_SOURCES += [
'Helpers.cpp',
'TestArray.cpp',
'TestAtoms.cpp',
'TestAutoPtr.cpp',
'TestAutoRef.cpp',
'TestBase64.cpp',
'TestCallTemplates.cpp',
'TestCloneInputStream.cpp',
'TestCOMArray.cpp',
'TestCOMPtrEq.cpp',
'TestCRT.cpp',
'TestEncoding.cpp',
'TestEscapeURL.cpp',
'TestExpirationTracker.cpp',
'TestFile.cpp',
'TestGCPostBarriers.cpp',
'TestID.cpp',
'TestNsDeque.cpp',
'TestNSPRLogModulesParser.cpp',
'TestObserverArray.cpp',
'TestObserverService.cpp',
@ -65,6 +67,7 @@ if CONFIG['WRAP_STL_INCLUDES'] and not CONFIG['CLANG_CL']:
# the global namespace for other files.
SOURCES += [
'TestAllocReplacement.cpp',
'TestCOMArray.cpp',
'TestCOMPtr.cpp', # Redefines IFoo and IBar
'TestHashtables.cpp', # Redefines IFoo
'TestNsRefPtr.cpp', # Redefines Foo