diff options
Diffstat (limited to 'tests/auto')
88 files changed, 558 insertions, 0 deletions
diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt new file mode 100644 index 0000000000..88f4e3b20b --- /dev/null +++ b/tests/auto/CMakeLists.txt @@ -0,0 +1,25 @@ +add_subdirectory(aggregation) +add_subdirectory(algorithm) +add_subdirectory(changeset) +add_subdirectory(cplusplus) +add_subdirectory(debugger) +add_subdirectory(diff) +add_subdirectory(environment) +add_subdirectory(extensionsystem) +add_subdirectory(externaltool) +add_subdirectory(filesearch) +add_subdirectory(json) +add_subdirectory(languageserverprotocol) +add_subdirectory(mapreduce) +add_subdirectory(pointeralgorithm) +add_subdirectory(profilewriter) +add_subdirectory(qml) +add_subdirectory(qtcprocess) +add_subdirectory(runextensions) +add_subdirectory(sdktool) +add_subdirectory(ssh) +add_subdirectory(toolchaincache) +add_subdirectory(tracing) +add_subdirectory(treeviewfind) +add_subdirectory(utils) +# add_subdirectory(valgrind) diff --git a/tests/auto/aggregation/CMakeLists.txt b/tests/auto/aggregation/CMakeLists.txt new file mode 100644 index 0000000000..1827d6b111 --- /dev/null +++ b/tests/auto/aggregation/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_aggregation + DEPENDS Aggregation Qt5::Core + SOURCES tst_aggregate.cpp +) diff --git a/tests/auto/algorithm/CMakeLists.txt b/tests/auto/algorithm/CMakeLists.txt new file mode 100644 index 0000000000..f856b34836 --- /dev/null +++ b/tests/auto/algorithm/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_algorithm + INCLUDES "${CMAKE_SOURCE_DIR}/src/libs" + SOURCES tst_algorithm.cpp +) diff --git a/tests/auto/changeset/CMakeLists.txt b/tests/auto/changeset/CMakeLists.txt new file mode 100644 index 0000000000..50adbd176b --- /dev/null +++ b/tests/auto/changeset/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_changeset + DEPENDS Utils + SOURCES tst_changeset.cpp +) diff --git a/tests/auto/cplusplus/CMakeLists.txt b/tests/auto/cplusplus/CMakeLists.txt new file mode 100644 index 0000000000..1c85a988cc --- /dev/null +++ b/tests/auto/cplusplus/CMakeLists.txt @@ -0,0 +1,15 @@ +add_subdirectory(ast) +add_subdirectory(c99) +add_subdirectory(checksymbols) +add_subdirectory(codeformatter) +add_subdirectory(cppselectionchanger) +add_subdirectory(cxx11) +add_subdirectory(fileiterationorder) +add_subdirectory(findusages) +add_subdirectory(lexer) +add_subdirectory(lookup) +add_subdirectory(misc) +add_subdirectory(preprocessor) +add_subdirectory(semantic) +add_subdirectory(translationunit) +add_subdirectory(typeprettyprinter) diff --git a/tests/auto/cplusplus/ast/CMakeLists.txt b/tests/auto/cplusplus/ast/CMakeLists.txt new file mode 100644 index 0000000000..5bfef72674 --- /dev/null +++ b/tests/auto/cplusplus/ast/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_cplusplus_ast + DEPENDS CppTools + SOURCES tst_ast.cpp +) diff --git a/tests/auto/cplusplus/c99/CMakeLists.txt b/tests/auto/cplusplus/c99/CMakeLists.txt new file mode 100644 index 0000000000..836f4b5c55 --- /dev/null +++ b/tests/auto/cplusplus/c99/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_cplusplus_c99 + DEPENDS CppTools + SOURCES tst_c99.cpp +) diff --git a/tests/auto/cplusplus/checksymbols/CMakeLists.txt b/tests/auto/cplusplus/checksymbols/CMakeLists.txt new file mode 100644 index 0000000000..b46c1e8a63 --- /dev/null +++ b/tests/auto/cplusplus/checksymbols/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_cplusplus_checksymbols + DEPENDS CppTools + SOURCES tst_checksymbols.cpp +) diff --git a/tests/auto/cplusplus/codeformatter/CMakeLists.txt b/tests/auto/cplusplus/codeformatter/CMakeLists.txt new file mode 100644 index 0000000000..9dfcc9346e --- /dev/null +++ b/tests/auto/cplusplus/codeformatter/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_cplusplus_codeformatter + DEPENDS CppTools + SOURCES tst_codeformatter.cpp +) diff --git a/tests/auto/cplusplus/cppselectionchanger/CMakeLists.txt b/tests/auto/cplusplus/cppselectionchanger/CMakeLists.txt new file mode 100644 index 0000000000..6df9d4c2ba --- /dev/null +++ b/tests/auto/cplusplus/cppselectionchanger/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_cplusplus_cppselectionchangertest + DEPENDS CppTools + SOURCES tst_cppselectionchangertest.cpp +) diff --git a/tests/auto/cplusplus/cxx11/CMakeLists.txt b/tests/auto/cplusplus/cxx11/CMakeLists.txt new file mode 100644 index 0000000000..b21ee16194 --- /dev/null +++ b/tests/auto/cplusplus/cxx11/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_cplusplus_cxx11 + DEPENDS CppTools + SOURCES tst_cxx11.cpp +) diff --git a/tests/auto/cplusplus/fileiterationorder/CMakeLists.txt b/tests/auto/cplusplus/fileiterationorder/CMakeLists.txt new file mode 100644 index 0000000000..3f3d99d0e7 --- /dev/null +++ b/tests/auto/cplusplus/fileiterationorder/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_cplusplus_fileiterationorder + DEPENDS CppTools + SOURCES tst_fileiterationorder.cpp +) diff --git a/tests/auto/cplusplus/findusages/CMakeLists.txt b/tests/auto/cplusplus/findusages/CMakeLists.txt new file mode 100644 index 0000000000..5155c324e5 --- /dev/null +++ b/tests/auto/cplusplus/findusages/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_cplusplus_findusages + DEPENDS CppTools Utils + SOURCES tst_findusages.cpp +) diff --git a/tests/auto/cplusplus/lexer/CMakeLists.txt b/tests/auto/cplusplus/lexer/CMakeLists.txt new file mode 100644 index 0000000000..8cc0c55062 --- /dev/null +++ b/tests/auto/cplusplus/lexer/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_cplusplus_lexer + DEPENDS CppTools + SOURCES tst_lexer.cpp +) diff --git a/tests/auto/cplusplus/lookup/CMakeLists.txt b/tests/auto/cplusplus/lookup/CMakeLists.txt new file mode 100644 index 0000000000..4ca7f97e21 --- /dev/null +++ b/tests/auto/cplusplus/lookup/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_cplusplus_lookup + DEPENDS CppTools + SOURCES tst_lookup.cpp +) diff --git a/tests/auto/cplusplus/misc/CMakeLists.txt b/tests/auto/cplusplus/misc/CMakeLists.txt new file mode 100644 index 0000000000..260ec2ae12 --- /dev/null +++ b/tests/auto/cplusplus/misc/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_cplusplus_misc + DEPENDS CppTools Utils + SOURCES tst_misc.cpp +) diff --git a/tests/auto/cplusplus/preprocessor/CMakeLists.txt b/tests/auto/cplusplus/preprocessor/CMakeLists.txt new file mode 100644 index 0000000000..c473084bad --- /dev/null +++ b/tests/auto/cplusplus/preprocessor/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_cplusplus_preprocessor + DEPENDS CppTools + SOURCES tst_preprocessor.cpp +) diff --git a/tests/auto/cplusplus/semantic/CMakeLists.txt b/tests/auto/cplusplus/semantic/CMakeLists.txt new file mode 100644 index 0000000000..6a358e9fff --- /dev/null +++ b/tests/auto/cplusplus/semantic/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_cplusplus_semantic + DEPENDS CppTools + SOURCES tst_semantic.cpp +) diff --git a/tests/auto/cplusplus/translationunit/CMakeLists.txt b/tests/auto/cplusplus/translationunit/CMakeLists.txt new file mode 100644 index 0000000000..5633d0f36b --- /dev/null +++ b/tests/auto/cplusplus/translationunit/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_cplusplus_translationunit + DEPENDS CppTools + SOURCES tst_translationunit.cpp +) diff --git a/tests/auto/cplusplus/typeprettyprinter/CMakeLists.txt b/tests/auto/cplusplus/typeprettyprinter/CMakeLists.txt new file mode 100644 index 0000000000..a6c0718114 --- /dev/null +++ b/tests/auto/cplusplus/typeprettyprinter/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_cplusplus_typeprettyprinter + DEPENDS CppTools + SOURCES tst_typeprettyprinter.cpp +) diff --git a/tests/auto/debugger/CMakeLists.txt b/tests/auto/debugger/CMakeLists.txt new file mode 100644 index 0000000000..b4e7da69dc --- /dev/null +++ b/tests/auto/debugger/CMakeLists.txt @@ -0,0 +1,53 @@ +set(DEBUGGERDIR "${CMAKE_SOURCE_DIR}/src/plugins/debugger") + +add_qtc_test(tst_debugger_disassembler + INCLUDES "${DEBUGGERDIR}" + SOURCES + tst_disassembler.cpp + "${DEBUGGERDIR}/disassemblerlines.cpp" "${DEBUGGERDIR}/disassemblerlines.h" +) + +if (WITH_DEBUGGER_DUMPERS) + add_qtc_test(tst_debugger_dumpers + DEPENDS Qt5::Network Utils + DEFINES DUMPERDIR="${CMAKE_SOURCE_DIR}/share/qtcreator/debugger" + INCLUDES + "${DEBUGGERDIR}" + SOURCES + "${DEBUGGERDIR}/debuggerprotocol.cpp" "${DEBUGGERDIR}/debuggerprotocol.h" + "${DEBUGGERDIR}/simplifytype.cpp" "${DEBUGGERDIR}/simplifytype.h" + "${DEBUGGERDIR}/watchdata.cpp" "${DEBUGGERDIR}/watchdata.h" + "${DEBUGGERDIR}/watchutils.cpp" "${DEBUGGERDIR}/watchutils.h" + tst_dumpers.cpp + ) +endif() + +add_qtc_test(tst_debugger_gdb + DEPENDS Qt5::Network Utils + INCLUDES "${DEBUGGERDIR}" + SOURCES + tst_gdb.cpp + "${DEBUGGERDIR}/debuggerprotocol.cpp" "${DEBUGGERDIR}/debuggerprotocol.h" +) + +add_qtc_test(tst_debugger_namedemangler + INCLUDES "${DEBUGGERDIR}" + SOURCES + tst_namedemangler.cpp + "${DEBUGGERDIR}/namedemangler/globalparsestate.cpp" "${DEBUGGERDIR}/namedemangler/globalparsestate.h" + "${DEBUGGERDIR}/namedemangler/namedemangler.cpp" "${DEBUGGERDIR}/namedemangler/namedemangler.h" + "${DEBUGGERDIR}/namedemangler/parsetreenodes.cpp" "${DEBUGGERDIR}/namedemangler/parsetreenodes.h" +) + +add_qtc_test(tst_debugger_offsets + DEPENDS Qt5::CorePrivate + INCLUDES "${DEBUGGERDIR}" + SOURCES tst_offsets.cpp +) + +add_qtc_test(tst_debugger_simplifytypes + INCLUDES "${DEBUGGERDIR}" + SOURCES + tst_simplifytypes.cpp + "${DEBUGGERDIR}/simplifytype.cpp" "${DEBUGGERDIR}/simplifytype.h" +) diff --git a/tests/auto/diff/CMakeLists.txt b/tests/auto/diff/CMakeLists.txt new file mode 100644 index 0000000000..61bd0b2845 --- /dev/null +++ b/tests/auto/diff/CMakeLists.txt @@ -0,0 +1 @@ +add_subdirectory(differ) diff --git a/tests/auto/diff/differ/CMakeLists.txt b/tests/auto/diff/differ/CMakeLists.txt new file mode 100644 index 0000000000..59b675d4ce --- /dev/null +++ b/tests/auto/diff/differ/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_differ + DEPENDS Utils + SOURCES tst_differ.cpp +) diff --git a/tests/auto/environment/CMakeLists.txt b/tests/auto/environment/CMakeLists.txt new file mode 100644 index 0000000000..c38dfe733e --- /dev/null +++ b/tests/auto/environment/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_environment + DEPENDS Utils + SOURCES tst_environment.cpp +) diff --git a/tests/auto/extensionsystem/CMakeLists.txt b/tests/auto/extensionsystem/CMakeLists.txt new file mode 100644 index 0000000000..48d0b007d4 --- /dev/null +++ b/tests/auto/extensionsystem/CMakeLists.txt @@ -0,0 +1,2 @@ +add_subdirectory(pluginmanager) +add_subdirectory(pluginspec) diff --git a/tests/auto/extensionsystem/pluginmanager/CMakeLists.txt b/tests/auto/extensionsystem/pluginmanager/CMakeLists.txt new file mode 100644 index 0000000000..26130c88ba --- /dev/null +++ b/tests/auto/extensionsystem/pluginmanager/CMakeLists.txt @@ -0,0 +1,9 @@ +add_subdirectory(circularplugins) +add_subdirectory(correctplugins1) + +add_qtc_test(tst_pluginmanager + DEFINES PLUGINMANAGER_TESTS_DIR="${CMAKE_CURRENT_BINARY_DIR}" + DEPENDS ExtensionSystem + SOURCES + tst_pluginmanager.cpp +) diff --git a/tests/auto/extensionsystem/pluginmanager/circularplugins/CMakeLists.txt b/tests/auto/extensionsystem/pluginmanager/circularplugins/CMakeLists.txt new file mode 100644 index 0000000000..bbf4a58ef9 --- /dev/null +++ b/tests/auto/extensionsystem/pluginmanager/circularplugins/CMakeLists.txt @@ -0,0 +1,4 @@ +set(TEST_PLUGIN_PATH "${CMAKE_CURRENT_BINARY_DIR}") +add_subdirectory(plugin1) +add_subdirectory(plugin2) +add_subdirectory(plugin3) diff --git a/tests/auto/extensionsystem/pluginmanager/circularplugins/plugin1/CMakeLists.txt b/tests/auto/extensionsystem/pluginmanager/circularplugins/plugin1/CMakeLists.txt new file mode 100644 index 0000000000..b5d95b8c91 --- /dev/null +++ b/tests/auto/extensionsystem/pluginmanager/circularplugins/plugin1/CMakeLists.txt @@ -0,0 +1,6 @@ +add_qtc_plugin(plugin1 + DEPENDS ExtensionSystem + SOURCES + plugin1.cpp plugin1.h + PLUGIN_PATH "${TEST_PLUGIN_PATH}" + ) diff --git a/tests/auto/extensionsystem/pluginmanager/circularplugins/plugin2/CMakeLists.txt b/tests/auto/extensionsystem/pluginmanager/circularplugins/plugin2/CMakeLists.txt new file mode 100644 index 0000000000..bb862240ea --- /dev/null +++ b/tests/auto/extensionsystem/pluginmanager/circularplugins/plugin2/CMakeLists.txt @@ -0,0 +1,6 @@ +add_qtc_plugin(plugin2 + DEPENDS ExtensionSystem + SOURCES + plugin2.cpp plugin2.h + PLUGIN_PATH "${TEST_PLUGIN_PATH}" + ) diff --git a/tests/auto/extensionsystem/pluginmanager/circularplugins/plugin3/CMakeLists.txt b/tests/auto/extensionsystem/pluginmanager/circularplugins/plugin3/CMakeLists.txt new file mode 100644 index 0000000000..211ce4ab30 --- /dev/null +++ b/tests/auto/extensionsystem/pluginmanager/circularplugins/plugin3/CMakeLists.txt @@ -0,0 +1,6 @@ +add_qtc_plugin(plugin3 + DEPENDS ExtensionSystem + SOURCES + plugin3.cpp plugin3.h + PLUGIN_PATH "${TEST_PLUGIN_PATH}" + ) diff --git a/tests/auto/extensionsystem/pluginmanager/correctplugins1/CMakeLists.txt b/tests/auto/extensionsystem/pluginmanager/correctplugins1/CMakeLists.txt new file mode 100644 index 0000000000..bbf4a58ef9 --- /dev/null +++ b/tests/auto/extensionsystem/pluginmanager/correctplugins1/CMakeLists.txt @@ -0,0 +1,4 @@ +set(TEST_PLUGIN_PATH "${CMAKE_CURRENT_BINARY_DIR}") +add_subdirectory(plugin1) +add_subdirectory(plugin2) +add_subdirectory(plugin3) diff --git a/tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin1/CMakeLists.txt b/tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin1/CMakeLists.txt new file mode 100644 index 0000000000..737cf2a9f7 --- /dev/null +++ b/tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin1/CMakeLists.txt @@ -0,0 +1,7 @@ +add_qtc_plugin(correct_plugin1 + PLUGIN_NAME plugin1 + DEPENDS ExtensionSystem + SOURCES + plugin1.cpp plugin1.h + PLUGIN_PATH "${TEST_PLUGIN_PATH}" +) diff --git a/tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin2/CMakeLists.txt b/tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin2/CMakeLists.txt new file mode 100644 index 0000000000..9a366d4b03 --- /dev/null +++ b/tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin2/CMakeLists.txt @@ -0,0 +1,7 @@ +add_qtc_plugin(correct_plugin2 + PLUGIN_NAME plugin2 + DEPENDS ExtensionSystem + SOURCES + plugin2.cpp plugin2.h + PLUGIN_PATH "${TEST_PLUGIN_PATH}" +) diff --git a/tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin3/CMakeLists.txt b/tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin3/CMakeLists.txt new file mode 100644 index 0000000000..8564a2a21d --- /dev/null +++ b/tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin3/CMakeLists.txt @@ -0,0 +1,7 @@ +add_qtc_plugin(correct_plugin3 + PLUGIN_NAME plugin3 + DEPENDS ExtensionSystem + SOURCES + plugin3.cpp plugin3.h + PLUGIN_PATH "${TEST_PLUGIN_PATH}" +) diff --git a/tests/auto/extensionsystem/pluginspec/CMakeLists.txt b/tests/auto/extensionsystem/pluginspec/CMakeLists.txt new file mode 100644 index 0000000000..8380467989 --- /dev/null +++ b/tests/auto/extensionsystem/pluginspec/CMakeLists.txt @@ -0,0 +1,10 @@ +add_subdirectory(testplugin) + +add_qtc_test(tst_pluginspec + DEFINES + PLUGIN_DIR="${CMAKE_CURRENT_BINARY_DIR}" + PLUGINSPEC_DIR="${CMAKE_CURRENT_SOURCE_DIR}" + DEPENDS ExtensionSystem + SOURCES + tst_pluginspec.cpp +) diff --git a/tests/auto/extensionsystem/pluginspec/testplugin/CMakeLists.txt b/tests/auto/extensionsystem/pluginspec/testplugin/CMakeLists.txt new file mode 100644 index 0000000000..2a01133532 --- /dev/null +++ b/tests/auto/extensionsystem/pluginspec/testplugin/CMakeLists.txt @@ -0,0 +1,21 @@ +# TODO: unittest should be fixed +if(APPLE) + set(plugin_output_name "libtest_debug") +elseif(UNIX) + set(plugin_output_name "liblibtest") +else() + set(plugin_output_name "testd4") +endif() + +add_qtc_plugin(testplugin + DEPENDS ExtensionSystem + DEFINES MYPLUGIN_LIBRARY + SOURCES + testplugin.cpp testplugin.h + PLUGIN_PATH "${CMAKE_CURRENT_BINARY_DIR}" + PROPERTIES + OUTPUT_NAME ${plugin_output_name} +) + +# The empty string gets removed if I put it above +set_target_properties(testplugin PROPERTIES PREFIX "") diff --git a/tests/auto/externaltool/CMakeLists.txt b/tests/auto/externaltool/CMakeLists.txt new file mode 100644 index 0000000000..64a6004150 --- /dev/null +++ b/tests/auto/externaltool/CMakeLists.txt @@ -0,0 +1,7 @@ +add_qtc_test(tst_externaltooltest + DEPENDS Core app_version + SOURCES + tst_externaltooltest.cpp + "${CMAKE_SOURCE_DIR}/src/plugins/coreplugin/externaltool.cpp" + "${CMAKE_SOURCE_DIR}/src/plugins/coreplugin/externaltool.h" +) diff --git a/tests/auto/filesearch/CMakeLists.txt b/tests/auto/filesearch/CMakeLists.txt new file mode 100644 index 0000000000..e61567e78a --- /dev/null +++ b/tests/auto/filesearch/CMakeLists.txt @@ -0,0 +1,6 @@ +add_qtc_test(tst_filesearch + DEPENDS Utils + SOURCES + tst_filesearch.cpp + tst_filesearch.qrc +) diff --git a/tests/auto/json/CMakeLists.txt b/tests/auto/json/CMakeLists.txt new file mode 100644 index 0000000000..e03addf91d --- /dev/null +++ b/tests/auto/json/CMakeLists.txt @@ -0,0 +1,7 @@ +add_qtc_test(tst_json + DEPENDS Utils + INCLUDES "${CMAKE_SOURCE_DIR}/src/shared/json" + SOURCES + tst_json.cpp + "${CMAKE_SOURCE_DIR}/src/shared/json/json.cpp" +) diff --git a/tests/auto/languageserverprotocol/CMakeLists.txt b/tests/auto/languageserverprotocol/CMakeLists.txt new file mode 100644 index 0000000000..76664b67cb --- /dev/null +++ b/tests/auto/languageserverprotocol/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_languageserverprotocol + DEPENDS Utils LanguageServerProtocol + SOURCES tst_languageserverprotocol.cpp +) diff --git a/tests/auto/mapreduce/CMakeLists.txt b/tests/auto/mapreduce/CMakeLists.txt new file mode 100644 index 0000000000..5a57f3c676 --- /dev/null +++ b/tests/auto/mapreduce/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_mapreduce + DEPENDS Utils + SOURCES tst_mapreduce.cpp +) diff --git a/tests/auto/pointeralgorithm/CMakeLists.txt b/tests/auto/pointeralgorithm/CMakeLists.txt new file mode 100644 index 0000000000..52a8bbc499 --- /dev/null +++ b/tests/auto/pointeralgorithm/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_pointeralgorithm + INCLUDES "${CMAKE_SOURCE_DIR}/src/libs" + SOURCES tst_pointeralgorithm.cpp +) diff --git a/tests/auto/profilewriter/CMakeLists.txt b/tests/auto/profilewriter/CMakeLists.txt new file mode 100644 index 0000000000..c929843c83 --- /dev/null +++ b/tests/auto/profilewriter/CMakeLists.txt @@ -0,0 +1,5 @@ +add_qtc_test(tst_profilewriter + DEPENDS Utils ProParser + INCLUDES "${CMAKE_SOURCE_DIR}/src/shared/proparser" + SOURCES tst_profilewriter.cpp +) diff --git a/tests/auto/qml/CMakeLists.txt b/tests/auto/qml/CMakeLists.txt new file mode 100644 index 0000000000..61e6c1e0b5 --- /dev/null +++ b/tests/auto/qml/CMakeLists.txt @@ -0,0 +1,8 @@ +add_subdirectory(codemodel) +add_subdirectory(persistenttrie) +add_subdirectory(qmldesigner) +add_subdirectory(qmleditor) +add_subdirectory(qmljssimplereader) +add_subdirectory(qmlprojectmanager) +add_subdirectory(qrcparser) +add_subdirectory(reformatter) diff --git a/tests/auto/qml/codemodel/CMakeLists.txt b/tests/auto/qml/codemodel/CMakeLists.txt new file mode 100644 index 0000000000..94eae7af58 --- /dev/null +++ b/tests/auto/qml/codemodel/CMakeLists.txt @@ -0,0 +1,4 @@ +add_subdirectory(check ) +add_subdirectory(dependencies ) +add_subdirectory(ecmascript7 ) +add_subdirectory(importscheck ) diff --git a/tests/auto/qml/codemodel/check/CMakeLists.txt b/tests/auto/qml/codemodel/check/CMakeLists.txt new file mode 100644 index 0000000000..fdcd1334bd --- /dev/null +++ b/tests/auto/qml/codemodel/check/CMakeLists.txt @@ -0,0 +1,8 @@ +add_qtc_test(tst_qml_check + DEPENDS qmljs + DEFINES + QT_CREATOR + QTCREATORDIR="${CMAKE_SOURCE_DIR}" + TESTSRCDIR="${CMAKE_CURRENT_SOURCE_DIR}" + SOURCES tst_check.cpp +) diff --git a/tests/auto/qml/codemodel/dependencies/CMakeLists.txt b/tests/auto/qml/codemodel/dependencies/CMakeLists.txt new file mode 100644 index 0000000000..544e771873 --- /dev/null +++ b/tests/auto/qml/codemodel/dependencies/CMakeLists.txt @@ -0,0 +1,9 @@ +add_qtc_test(tst_qml_dependencies + DEPENDS qmljs QmlJSTools ExtensionSystem Utils + INCLUDES "${CMAKE_SOURCE_DIR}/src/plugins" + DEFINES + QT_CREATOR + QTCREATORDIR="${CMAKE_SOURCE_DIR}" + TESTSRCDIR="${CMAKE_CURRENT_SOURCE_DIR}" + SOURCES tst_dependencies.cpp +) diff --git a/tests/auto/qml/codemodel/ecmascript7/CMakeLists.txt b/tests/auto/qml/codemodel/ecmascript7/CMakeLists.txt new file mode 100644 index 0000000000..62a0ba588d --- /dev/null +++ b/tests/auto/qml/codemodel/ecmascript7/CMakeLists.txt @@ -0,0 +1,9 @@ +add_qtc_test(tst_qml_ecmascript7 + DEPENDS qmljs QmlJSTools ExtensionSystem Utils + INCLUDES "${CMAKE_SOURCE_DIR}/src/plugins" + DEFINES + QT_CREATOR + QTCREATORDIR="${CMAKE_SOURCE_DIR}" + TESTSRCDIR="${CMAKE_CURRENT_SOURCE_DIR}" + SOURCES tst_ecmascript7.cpp +) diff --git a/tests/auto/qml/codemodel/importscheck/CMakeLists.txt b/tests/auto/qml/codemodel/importscheck/CMakeLists.txt new file mode 100644 index 0000000000..5f994a58ee --- /dev/null +++ b/tests/auto/qml/codemodel/importscheck/CMakeLists.txt @@ -0,0 +1,9 @@ +add_qtc_test(tst_qml_importscheck + DEPENDS qmljs QmlJSTools Utils CPlusPlus + INCLUDES "${CMAKE_SOURCE_DIR}/src/plugins" + DEFINES + QT_CREATOR + QTCREATORDIR="${CMAKE_SOURCE_DIR}" + TESTSRCDIR="${CMAKE_CURRENT_SOURCE_DIR}" + SOURCES tst_importscheck.cpp +) diff --git a/tests/auto/qml/persistenttrie/CMakeLists.txt b/tests/auto/qml/persistenttrie/CMakeLists.txt new file mode 100644 index 0000000000..2ab22d0919 --- /dev/null +++ b/tests/auto/qml/persistenttrie/CMakeLists.txt @@ -0,0 +1,8 @@ +add_qtc_test(tst_qml_testtrie + DEPENDS qmljs + DEFINES + QT_CREATOR + QTCREATORDIR="${CMAKE_SOURCE_DIR}" + TESTSRCDIR="${CMAKE_CURRENT_SOURCE_DIR}" + SOURCES tst_testtrie.cpp +) diff --git a/tests/auto/qml/qmldesigner/CMakeLists.txt b/tests/auto/qml/qmldesigner/CMakeLists.txt new file mode 100644 index 0000000000..9d4ab11adc --- /dev/null +++ b/tests/auto/qml/qmldesigner/CMakeLists.txt @@ -0,0 +1 @@ +add_subdirectory(coretests) diff --git a/tests/auto/qml/qmldesigner/coretests/CMakeLists.txt b/tests/auto/qml/qmldesigner/coretests/CMakeLists.txt new file mode 100644 index 0000000000..3e83f280af --- /dev/null +++ b/tests/auto/qml/qmldesigner/coretests/CMakeLists.txt @@ -0,0 +1,20 @@ +# TODO: fix compiler errors +return() + +add_qtc_test(tst_qml_testcore + DEPENDS qmljs Utils QmlEditorWidgets CPlusPlus Core QmlJSEditor + INCLUDES + "${CMAKE_SOURCE_DIR}/src/plugins/qmldesigner/designercore/include" + "${CMAKE_SOURCE_DIR}/src/plugins/qmldesigner/designercore" + "${CMAKE_SOURCE_DIR}/share/qtcreator/qml/qmlpuppet/interfaces" + "${CMAKE_SOURCE_DIR}/share/qtcreator/qml/qmlpuppet/types" + DEFINES + QT_CREATOR + QTCREATORDIR="${CMAKE_SOURCE_DIR}" + TESTSRCDIR="${CMAKE_CURRENT_SOURCE_DIR}" + SOURCES + ../data/testfiles.qrc + ../testview.cpp ../testview.h + testrewriterview.cpp testrewriterview.h + tst_testcore.cpp tst_testcore.h +) diff --git a/tests/auto/qml/qmleditor/CMakeLists.txt b/tests/auto/qml/qmleditor/CMakeLists.txt new file mode 100644 index 0000000000..93a723626e --- /dev/null +++ b/tests/auto/qml/qmleditor/CMakeLists.txt @@ -0,0 +1 @@ +add_subdirectory(qmlcodeformatter) diff --git a/tests/auto/qml/qmleditor/qmlcodeformatter/CMakeLists.txt b/tests/auto/qml/qmleditor/qmlcodeformatter/CMakeLists.txt new file mode 100644 index 0000000000..d8daee0578 --- /dev/null +++ b/tests/auto/qml/qmleditor/qmlcodeformatter/CMakeLists.txt @@ -0,0 +1,8 @@ +add_qtc_test(tst_qml_qmlcodeformatter + DEPENDS qmljs QmlJSTools TextEditor + DEFINES + QT_CREATOR + QTCREATORDIR="${CMAKE_SOURCE_DIR}" + TESTSRCDIR="${CMAKE_CURRENT_SOURCE_DIR}" + SOURCES tst_qmlcodeformatter.cpp +) diff --git a/tests/auto/qml/qmljssimplereader/CMakeLists.txt b/tests/auto/qml/qmljssimplereader/CMakeLists.txt new file mode 100644 index 0000000000..4742047d7b --- /dev/null +++ b/tests/auto/qml/qmljssimplereader/CMakeLists.txt @@ -0,0 +1,8 @@ +add_qtc_test(tst_qml_qmljssimplereader + DEPENDS qmljs + DEFINES + QT_CREATOR + QTCREATORDIR="${CMAKE_SOURCE_DIR}" + TESTSRCDIR="${CMAKE_CURRENT_SOURCE_DIR}" + SOURCES tst_qmljssimplereader.cpp +) diff --git a/tests/auto/qml/qmlprojectmanager/CMakeLists.txt b/tests/auto/qml/qmlprojectmanager/CMakeLists.txt new file mode 100644 index 0000000000..f7c00d44bd --- /dev/null +++ b/tests/auto/qml/qmlprojectmanager/CMakeLists.txt @@ -0,0 +1 @@ +add_subdirectory(fileformat) diff --git a/tests/auto/qml/qmlprojectmanager/fileformat/CMakeLists.txt b/tests/auto/qml/qmlprojectmanager/fileformat/CMakeLists.txt new file mode 100644 index 0000000000..5d7f7c79bf --- /dev/null +++ b/tests/auto/qml/qmlprojectmanager/fileformat/CMakeLists.txt @@ -0,0 +1,15 @@ +get_target_property(QmlProjectManagerSources QmlProjectManager SOURCES) +foreach(source IN LISTS QmlProjectManagerSources) + if (source MATCHES "fileformat") + list(APPEND fileformat_sources "${CMAKE_SOURCE_DIR}/src/plugins/qmlprojectmanager/${source}") + endif() +endforeach() + +add_qtc_test(tst_qml_fileformat + DEPENDS qmljs Utils + INCLUDES "${CMAKE_SOURCE_DIR}/src/plugins/qmlprojectmanager/fileformat" + DEFINES + QT_CREATOR + SRCDIR="${CMAKE_CURRENT_SOURCE_DIR}" + SOURCES tst_fileformat.cpp ${fileformat_sources} +) diff --git a/tests/auto/qml/qrcparser/CMakeLists.txt b/tests/auto/qml/qrcparser/CMakeLists.txt new file mode 100644 index 0000000000..bcecb807e4 --- /dev/null +++ b/tests/auto/qml/qrcparser/CMakeLists.txt @@ -0,0 +1,8 @@ +add_qtc_test(tst_qml_qrcparser + DEPENDS qmljs Utils + DEFINES + QT_CREATOR + QTCREATORDIR="${CMAKE_SOURCE_DIR}" + TESTSRCDIR="${CMAKE_CURRENT_SOURCE_DIR}" + SOURCES tst_qrcparser.cpp +) diff --git a/tests/auto/qml/reformatter/CMakeLists.txt b/tests/auto/qml/reformatter/CMakeLists.txt new file mode 100644 index 0000000000..a9119ccd93 --- /dev/null +++ b/tests/auto/qml/reformatter/CMakeLists.txt @@ -0,0 +1,8 @@ +add_qtc_test(tst_qml_reformatter + DEPENDS qmljs + DEFINES + QT_CREATOR + QTCREATORDIR="${CMAKE_SOURCE_DIR}" + TESTSRCDIR="${CMAKE_CURRENT_SOURCE_DIR}" + SOURCES tst_reformatter.cpp +) diff --git a/tests/auto/qtcprocess/CMakeLists.txt b/tests/auto/qtcprocess/CMakeLists.txt new file mode 100644 index 0000000000..16b9f4a9fa --- /dev/null +++ b/tests/auto/qtcprocess/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_qtcprocess + DEPENDS Utils + SOURCES tst_qtcprocess.cpp +) diff --git a/tests/auto/runextensions/CMakeLists.txt b/tests/auto/runextensions/CMakeLists.txt new file mode 100644 index 0000000000..73455f7518 --- /dev/null +++ b/tests/auto/runextensions/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_runextensions + DEPENDS Utils + SOURCES tst_runextensions.cpp +) diff --git a/tests/auto/sdktool/CMakeLists.txt b/tests/auto/sdktool/CMakeLists.txt new file mode 100644 index 0000000000..65d83c00e3 --- /dev/null +++ b/tests/auto/sdktool/CMakeLists.txt @@ -0,0 +1,5 @@ +add_qtc_test(tst_sdktool + DEPENDS Utils + DEFINES SDKTOOL_DIR="${IDE_LIBEXEC_PATH}" + SOURCES tst_sdktool.cpp +) diff --git a/tests/auto/ssh/CMakeLists.txt b/tests/auto/ssh/CMakeLists.txt new file mode 100644 index 0000000000..590144d3bd --- /dev/null +++ b/tests/auto/ssh/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_ssh + DEPENDS Utils QtcSsh + SOURCES tst_ssh.cpp +) diff --git a/tests/auto/toolchaincache/CMakeLists.txt b/tests/auto/toolchaincache/CMakeLists.txt new file mode 100644 index 0000000000..6e7444d518 --- /dev/null +++ b/tests/auto/toolchaincache/CMakeLists.txt @@ -0,0 +1,5 @@ +add_qtc_test(tst_toolchaincache + DEPENDS ProjectExplorer + INCLUDES "${CMAKE_SOURCE_DIR}/src/libs" + SOURCES tst_toolchaincache.cpp +) diff --git a/tests/auto/tracing/CMakeLists.txt b/tests/auto/tracing/CMakeLists.txt new file mode 100644 index 0000000000..5ad3ed915d --- /dev/null +++ b/tests/auto/tracing/CMakeLists.txt @@ -0,0 +1,14 @@ +add_subdirectory(flamegraph) +add_subdirectory(flamegraphview) +add_subdirectory(timelineabstractrenderer) +add_subdirectory(timelineitemsrenderpass) +add_subdirectory(timelinemodel) +add_subdirectory(timelinemodelaggregator) +add_subdirectory(timelinenotesmodel) +add_subdirectory(timelinenotesrenderpass) +add_subdirectory(timelineoverviewrenderer) +add_subdirectory(timelinerenderer) +add_subdirectory(timelinerenderpass) +add_subdirectory(timelinerenderstate) +add_subdirectory(timelineselectionrenderpass) +add_subdirectory(timelinezoomcontrol) diff --git a/tests/auto/tracing/flamegraph/CMakeLists.txt b/tests/auto/tracing/flamegraph/CMakeLists.txt new file mode 100644 index 0000000000..eee7081aa2 --- /dev/null +++ b/tests/auto/tracing/flamegraph/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_tracing_flamegraph + DEPENDS Tracing Qt5::Quick + SOURCES tst_flamegraph.cpp +) diff --git a/tests/auto/tracing/flamegraphview/CMakeLists.txt b/tests/auto/tracing/flamegraphview/CMakeLists.txt new file mode 100644 index 0000000000..2a247c9ea1 --- /dev/null +++ b/tests/auto/tracing/flamegraphview/CMakeLists.txt @@ -0,0 +1,6 @@ +add_qtc_test(tst_tracing_flamegraphview + DEPENDS Tracing Qt5::QuickWidgets Qt5::Quick Utils + SOURCES + tst_flamegraphview.cpp + flamegraphview.qrc +) diff --git a/tests/auto/tracing/timelineabstractrenderer/CMakeLists.txt b/tests/auto/tracing/timelineabstractrenderer/CMakeLists.txt new file mode 100644 index 0000000000..5bf14c179c --- /dev/null +++ b/tests/auto/tracing/timelineabstractrenderer/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_tracing_timelineabstractrenderer + DEPENDS Tracing Qt5::Gui Qt5::Quick + SOURCES tst_timelineabstractrenderer.cpp +) diff --git a/tests/auto/tracing/timelineitemsrenderpass/CMakeLists.txt b/tests/auto/tracing/timelineitemsrenderpass/CMakeLists.txt new file mode 100644 index 0000000000..056880e54c --- /dev/null +++ b/tests/auto/tracing/timelineitemsrenderpass/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_tracing_timelineitemsrenderpass + DEPENDS Tracing Qt5::Quick + SOURCES tst_timelineitemsrenderpass.cpp +) diff --git a/tests/auto/tracing/timelinemodel/CMakeLists.txt b/tests/auto/tracing/timelinemodel/CMakeLists.txt new file mode 100644 index 0000000000..198f71e9b8 --- /dev/null +++ b/tests/auto/tracing/timelinemodel/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_tracing_timelinemodel + DEPENDS Tracing Qt5::Gui + SOURCES tst_timelinemodel.cpp +) diff --git a/tests/auto/tracing/timelinemodelaggregator/CMakeLists.txt b/tests/auto/tracing/timelinemodelaggregator/CMakeLists.txt new file mode 100644 index 0000000000..7845c6ad51 --- /dev/null +++ b/tests/auto/tracing/timelinemodelaggregator/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_tracing_timelinemodelaggregator + DEPENDS Tracing Qt5::Gui + SOURCES tst_timelinemodelaggregator.cpp +) diff --git a/tests/auto/tracing/timelinenotesmodel/CMakeLists.txt b/tests/auto/tracing/timelinenotesmodel/CMakeLists.txt new file mode 100644 index 0000000000..d59241ad98 --- /dev/null +++ b/tests/auto/tracing/timelinenotesmodel/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_tracing_timelinenotesmodel + DEPENDS Tracing Qt5::Gui + SOURCES tst_timelinenotesmodel.cpp +) diff --git a/tests/auto/tracing/timelinenotesrenderpass/CMakeLists.txt b/tests/auto/tracing/timelinenotesrenderpass/CMakeLists.txt new file mode 100644 index 0000000000..4bed7af0d5 --- /dev/null +++ b/tests/auto/tracing/timelinenotesrenderpass/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_tracing_timelinenotesrenderpass + DEPENDS Tracing Qt5::Quick + SOURCES tst_timelinenotesrenderpass.cpp +) diff --git a/tests/auto/tracing/timelineoverviewrenderer/CMakeLists.txt b/tests/auto/tracing/timelineoverviewrenderer/CMakeLists.txt new file mode 100644 index 0000000000..275765765d --- /dev/null +++ b/tests/auto/tracing/timelineoverviewrenderer/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_tracing_timelineoverviewrenderer + DEPENDS Tracing Qt5::Quick + SOURCES tst_timelineoverviewrenderer.cpp +) diff --git a/tests/auto/tracing/timelinerenderer/CMakeLists.txt b/tests/auto/tracing/timelinerenderer/CMakeLists.txt new file mode 100644 index 0000000000..30e44a5cd2 --- /dev/null +++ b/tests/auto/tracing/timelinerenderer/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_tracing_timelinerenderer + DEPENDS Tracing Qt5::Gui Qt5::Quick + SOURCES tst_timelinerenderer.cpp +) diff --git a/tests/auto/tracing/timelinerenderpass/CMakeLists.txt b/tests/auto/tracing/timelinerenderpass/CMakeLists.txt new file mode 100644 index 0000000000..3f0cd33f20 --- /dev/null +++ b/tests/auto/tracing/timelinerenderpass/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_tracing_timelinerenderpass + DEPENDS Tracing + SOURCES tst_timelinerenderpass.cpp +) diff --git a/tests/auto/tracing/timelinerenderstate/CMakeLists.txt b/tests/auto/tracing/timelinerenderstate/CMakeLists.txt new file mode 100644 index 0000000000..53f0b67415 --- /dev/null +++ b/tests/auto/tracing/timelinerenderstate/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_tracing_timelinerenderstate + DEPENDS Tracing Qt5::Gui Qt5::Quick + SOURCES tst_timelinerenderstate.cpp +) diff --git a/tests/auto/tracing/timelineselectionrenderpass/CMakeLists.txt b/tests/auto/tracing/timelineselectionrenderpass/CMakeLists.txt new file mode 100644 index 0000000000..a3e3c9af67 --- /dev/null +++ b/tests/auto/tracing/timelineselectionrenderpass/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_tracing_timelineselectionrenderpass + DEPENDS Tracing Qt5::Quick + SOURCES tst_timelineselectionrenderpass.cpp +) diff --git a/tests/auto/tracing/timelinezoomcontrol/CMakeLists.txt b/tests/auto/tracing/timelinezoomcontrol/CMakeLists.txt new file mode 100644 index 0000000000..1e5f7989e9 --- /dev/null +++ b/tests/auto/tracing/timelinezoomcontrol/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_tracing_timelinezoomcontrol + DEPENDS Tracing Qt5::Gui + SOURCES tst_timelinezoomcontrol.cpp +) diff --git a/tests/auto/treeviewfind/CMakeLists.txt b/tests/auto/treeviewfind/CMakeLists.txt new file mode 100644 index 0000000000..6ce09aa209 --- /dev/null +++ b/tests/auto/treeviewfind/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_treeviewfind + DEPENDS Core + SOURCES tst_treeviewfind.cpp +) diff --git a/tests/auto/utils/CMakeLists.txt b/tests/auto/utils/CMakeLists.txt new file mode 100644 index 0000000000..74f1d6f819 --- /dev/null +++ b/tests/auto/utils/CMakeLists.txt @@ -0,0 +1,7 @@ +add_subdirectory(ansiescapecodehandler) +add_subdirectory(fileutils) +add_subdirectory(fuzzymatcher) +add_subdirectory(settings) +add_subdirectory(stringutils) +add_subdirectory(templateengine) +add_subdirectory(treemodel) diff --git a/tests/auto/utils/ansiescapecodehandler/CMakeLists.txt b/tests/auto/utils/ansiescapecodehandler/CMakeLists.txt new file mode 100644 index 0000000000..971849d8b2 --- /dev/null +++ b/tests/auto/utils/ansiescapecodehandler/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_utils_ansiescapecodehandler + DEPENDS Utils + SOURCES tst_ansiescapecodehandler.cpp +) diff --git a/tests/auto/utils/fileutils/CMakeLists.txt b/tests/auto/utils/fileutils/CMakeLists.txt new file mode 100644 index 0000000000..0f766bc999 --- /dev/null +++ b/tests/auto/utils/fileutils/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_utils_fileutils + DEPENDS Utils + SOURCES tst_fileutils.cpp +) diff --git a/tests/auto/utils/fuzzymatcher/CMakeLists.txt b/tests/auto/utils/fuzzymatcher/CMakeLists.txt new file mode 100644 index 0000000000..fb5198fe08 --- /dev/null +++ b/tests/auto/utils/fuzzymatcher/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_utils_fuzzymatcher + DEPENDS Utils + SOURCES tst_fuzzymatcher.cpp +) diff --git a/tests/auto/utils/settings/CMakeLists.txt b/tests/auto/utils/settings/CMakeLists.txt new file mode 100644 index 0000000000..5bf072b08a --- /dev/null +++ b/tests/auto/utils/settings/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_utils_settings + DEPENDS Utils + SOURCES tst_settings.cpp +) diff --git a/tests/auto/utils/stringutils/CMakeLists.txt b/tests/auto/utils/stringutils/CMakeLists.txt new file mode 100644 index 0000000000..9d77c71d86 --- /dev/null +++ b/tests/auto/utils/stringutils/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_utils_stringutils + DEPENDS Utils + SOURCES tst_stringutils.cpp +) diff --git a/tests/auto/utils/templateengine/CMakeLists.txt b/tests/auto/utils/templateengine/CMakeLists.txt new file mode 100644 index 0000000000..bb13af8817 --- /dev/null +++ b/tests/auto/utils/templateengine/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_utils_templateengine + DEPENDS Utils + SOURCES tst_templateengine.cpp +) diff --git a/tests/auto/utils/treemodel/CMakeLists.txt b/tests/auto/utils/treemodel/CMakeLists.txt new file mode 100644 index 0000000000..487afcefd7 --- /dev/null +++ b/tests/auto/utils/treemodel/CMakeLists.txt @@ -0,0 +1,4 @@ +add_qtc_test(tst_utils_treemodel + DEPENDS Utils + SOURCES tst_treemodel.cpp +) |