CppTools: Use test objects to group related test functions

Change-Id: I9ed2ad222579f49c20c75a53c862bb7251cff28d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Christian Kandeler
2021-08-25 11:06:31 +02:00
parent 9796f88fd5
commit 245b6c0dc7
35 changed files with 1131 additions and 539 deletions

View File

@@ -230,21 +230,33 @@ Project {
condition: qtc.testsEnabled
files: [
"compileroptionsbuilder_test.cpp",
"compileroptionsbuilder_test.h",
"cppcodegen_test.cpp",
"cppcodegen_test.h",
"cppcompletion_test.cpp",
"cppcompletion_test.h",
"cppheadersource_test.cpp",
"cppheadersource_test.h",
"cpplocalsymbols_test.cpp",
"cpplocalsymbols_test.h",
"cpplocatorfilter_test.cpp",
"cpplocatorfilter_test.h",
"cppmodelmanager_test.cpp",
"cppmodelmanager_test.h",
"cpppointerdeclarationformatter_test.cpp",
"cpppointerdeclarationformatter_test.h",
"cppsourceprocessertesthelper.cpp",
"cppsourceprocessertesthelper.h",
"cppsourceprocessor_test.cpp",
"cppsourceprocessor_test.h",
"modelmanagertesthelper.cpp",
"modelmanagertesthelper.h",
"projectinfo_test.cpp",
"projectinfo_test.h",
"symbolsearcher_test.cpp",
"symbolsearcher_test.h",
"typehierarchybuilder_test.cpp",
"typehierarchybuilder_test.h",
]
cpp.defines: outer.concat(['SRCDIR="' + FileInfo.path(filePath) + '"'])