diff options
Diffstat (limited to 'tests')
116 files changed, 0 insertions, 1530 deletions
diff --git a/tests/auto/aggregation/aggregation.pro b/tests/auto/aggregation/aggregation.pro deleted file mode 100644 index ac8753ae28..0000000000 --- a/tests/auto/aggregation/aggregation.pro +++ /dev/null @@ -1,4 +0,0 @@ -QT -= gui -QTC_LIB_DEPENDS += aggregation -include(../qttest.pri) -SOURCES += tst_aggregate.cpp diff --git a/tests/auto/algorithm/algorithm.pro b/tests/auto/algorithm/algorithm.pro deleted file mode 100644 index e532c2aad3..0000000000 --- a/tests/auto/algorithm/algorithm.pro +++ /dev/null @@ -1,4 +0,0 @@ -include(../qttest.pri) - -SOURCES += tst_algorithm.cpp -OTHER_FILES += $$IDE_SOURCE_TREE/src/libs/utils/algorithm.h diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro deleted file mode 100644 index c5020a5e6d..0000000000 --- a/tests/auto/auto.pro +++ /dev/null @@ -1,28 +0,0 @@ -TEMPLATE = subdirs - -SUBDIRS += \ - algorithm \ - aggregation \ - changeset \ - cplusplus \ - debugger \ - diff \ - extensionsystem \ - externaltool \ - environment \ - pointeralgorithm \ - profilewriter \ - ssh \ - treeviewfind \ - toolchaincache \ - json \ - utils \ - filesearch \ - mapreduce \ - runextensions \ - languageserverprotocol \ - sdktool \ - valgrind - -qtHaveModule(qml): SUBDIRS += qml -qtHaveModule(quick): SUBDIRS += tracing diff --git a/tests/auto/changeset/changeset.pro b/tests/auto/changeset/changeset.pro deleted file mode 100644 index 163327f81a..0000000000 --- a/tests/auto/changeset/changeset.pro +++ /dev/null @@ -1,5 +0,0 @@ -QTC_LIB_DEPENDS += utils - -include(../qttest.pri) - -SOURCES += tst_changeset.cpp diff --git a/tests/auto/cplusplus/ast/ast.pro b/tests/auto/cplusplus/ast/ast.pro deleted file mode 100644 index 791a5c5ccd..0000000000 --- a/tests/auto/cplusplus/ast/ast.pro +++ /dev/null @@ -1,3 +0,0 @@ -include(../shared/shared.pri) -SOURCES += tst_ast.cpp - diff --git a/tests/auto/cplusplus/c99/c99.pro b/tests/auto/cplusplus/c99/c99.pro deleted file mode 100644 index 601c3f82f5..0000000000 --- a/tests/auto/cplusplus/c99/c99.pro +++ /dev/null @@ -1,8 +0,0 @@ -include(../shared/shared.pri) - -# Inject the source dir for referencing test data from shadow builds. -DEFINES += SRCDIR=\\\"$$PWD\\\" - -SOURCES += tst_c99.cpp -DISTFILES += \ - data/designatedInitializer.1.c diff --git a/tests/auto/cplusplus/checksymbols/checksymbols.pro b/tests/auto/cplusplus/checksymbols/checksymbols.pro deleted file mode 100644 index d0ded1c2b3..0000000000 --- a/tests/auto/cplusplus/checksymbols/checksymbols.pro +++ /dev/null @@ -1,4 +0,0 @@ -include(../shared/shared.pri) -QTC_PLUGIN_DEPENDS += projectexplorer -SOURCES += tst_checksymbols.cpp -HEADERS += ../cplusplus_global.h diff --git a/tests/auto/cplusplus/codeformatter/codeformatter.pro b/tests/auto/cplusplus/codeformatter/codeformatter.pro deleted file mode 100644 index 5f9028b643..0000000000 --- a/tests/auto/cplusplus/codeformatter/codeformatter.pro +++ /dev/null @@ -1,2 +0,0 @@ -include(../shared/shared.pri) -SOURCES += tst_codeformatter.cpp diff --git a/tests/auto/cplusplus/cplusplus.pro b/tests/auto/cplusplus/cplusplus.pro deleted file mode 100644 index 239d179ecb..0000000000 --- a/tests/auto/cplusplus/cplusplus.pro +++ /dev/null @@ -1,19 +0,0 @@ -TEMPLATE = subdirs -CONFIG += ordered - -SUBDIRS = \ - ast \ - codeformatter \ - findusages \ - lookup \ - preprocessor \ - semantic \ - typeprettyprinter \ - misc \ - c99 \ - cppselectionchanger\ - cxx11 \ - checksymbols \ - lexer \ - translationunit \ - fileiterationorder diff --git a/tests/auto/cplusplus/cppselectionchanger/cppselectionchanger.pro b/tests/auto/cplusplus/cppselectionchanger/cppselectionchanger.pro deleted file mode 100644 index ab4b96d90e..0000000000 --- a/tests/auto/cplusplus/cppselectionchanger/cppselectionchanger.pro +++ /dev/null @@ -1,9 +0,0 @@ -include(../shared/shared.pri) - -# Inject the source dir for referencing test data from shadow builds. -DEFINES += SRCDIR=\\\"$$PWD\\\" - -SOURCES += tst_cppselectionchangertest.cpp - -DISTFILES += testCppFile.cpp \ - cppselectionchanger.qbs diff --git a/tests/auto/cplusplus/cxx11/cxx11.pro b/tests/auto/cplusplus/cxx11/cxx11.pro deleted file mode 100644 index 51ed3028f0..0000000000 --- a/tests/auto/cplusplus/cxx11/cxx11.pro +++ /dev/null @@ -1,15 +0,0 @@ -include(../shared/shared.pri) - -# Inject the source dir for referencing test data from shadow builds. -DEFINES += SRCDIR=\\\"$$PWD\\\" - -SOURCES += tst_cxx11.cpp -DISTFILES += \ - data/inlineNamespace.1.cpp \ - data/inlineNamespace.1.errors.txt \ - data/nestedNamespace.1.cpp \ - data/nestedNamespace.1.errors.txt \ - data/staticAssert.1.cpp \ - data/staticAssert.1.errors.txt \ - data/noExcept.1.cpp \ - data/noExcept.1.errors.txt diff --git a/tests/auto/cplusplus/fileiterationorder/fileiterationorder.pro b/tests/auto/cplusplus/fileiterationorder/fileiterationorder.pro deleted file mode 100644 index 1f0f1331e2..0000000000 --- a/tests/auto/cplusplus/fileiterationorder/fileiterationorder.pro +++ /dev/null @@ -1,2 +0,0 @@ -include(../shared/shared.pri) -SOURCES += tst_fileiterationorder.cpp diff --git a/tests/auto/cplusplus/findusages/findusages.pro b/tests/auto/cplusplus/findusages/findusages.pro deleted file mode 100644 index a43bdd2223..0000000000 --- a/tests/auto/cplusplus/findusages/findusages.pro +++ /dev/null @@ -1,3 +0,0 @@ -include(../shared/shared.pri) -SOURCES += tst_findusages.cpp -HEADERS += ../cplusplus_global.h diff --git a/tests/auto/cplusplus/lexer/lexer.pro b/tests/auto/cplusplus/lexer/lexer.pro deleted file mode 100644 index 30d6cc56ef..0000000000 --- a/tests/auto/cplusplus/lexer/lexer.pro +++ /dev/null @@ -1,3 +0,0 @@ -include(../shared/shared.pri) -SOURCES += tst_lexer.cpp -HEADERS += ../cplusplus_global.h diff --git a/tests/auto/cplusplus/lookup/lookup.pro b/tests/auto/cplusplus/lookup/lookup.pro deleted file mode 100644 index 2e64728cbb..0000000000 --- a/tests/auto/cplusplus/lookup/lookup.pro +++ /dev/null @@ -1,2 +0,0 @@ -include(../shared/shared.pri) -SOURCES += tst_lookup.cpp diff --git a/tests/auto/cplusplus/misc/misc.pro b/tests/auto/cplusplus/misc/misc.pro deleted file mode 100644 index 1ba8d02773..0000000000 --- a/tests/auto/cplusplus/misc/misc.pro +++ /dev/null @@ -1,3 +0,0 @@ -include(../shared/shared.pri) -SOURCES += tst_misc.cpp - diff --git a/tests/auto/cplusplus/preprocessor/preprocessor.pro b/tests/auto/cplusplus/preprocessor/preprocessor.pro deleted file mode 100644 index 9d2fed34b8..0000000000 --- a/tests/auto/cplusplus/preprocessor/preprocessor.pro +++ /dev/null @@ -1,23 +0,0 @@ -include(../shared/shared.pri) - -# Inject the source dir for referencing test data from shadow builds. -DEFINES += SRCDIR=\\\"$$PWD\\\" - -SOURCES += tst_preprocessor.cpp -DISTFILES = \ - data/noPP.1.cpp \ - data/noPP.2.cpp \ - data/identifier-expansion.1.cpp data/identifier-expansion.1.out.cpp \ - data/identifier-expansion.2.cpp data/identifier-expansion.2.out.cpp \ - data/identifier-expansion.3.cpp data/identifier-expansion.3.out.cpp \ - data/identifier-expansion.4.cpp data/identifier-expansion.4.out.cpp \ - data/identifier-expansion.5.cpp data/identifier-expansion.5.out.cpp \ - data/reserved.1.cpp data/reserved.1.out.cpp \ - data/recursive.1.cpp data/recursive.1.out.cpp \ - data/macro_expand.c data/macro_expand.out.c \ - data/macro_expand_1.cpp data/macro_expand_1.out.cpp \ - data/macro-test.cpp data/macro-test.out.cpp \ - data/poundpound.1.cpp data/poundpound.1.out.cpp \ - data/empty-macro.cpp data/empty-macro.out.cpp \ - data/empty-macro.2.cpp data/empty-macro.2.out.cpp \ - data/macro_pounder_fn.c diff --git a/tests/auto/cplusplus/semantic/semantic.pro b/tests/auto/cplusplus/semantic/semantic.pro deleted file mode 100644 index 29778f9876..0000000000 --- a/tests/auto/cplusplus/semantic/semantic.pro +++ /dev/null @@ -1,2 +0,0 @@ -include(../shared/shared.pri) -SOURCES += tst_semantic.cpp diff --git a/tests/auto/cplusplus/shared/shared.pri b/tests/auto/cplusplus/shared/shared.pri deleted file mode 100644 index 16377930d6..0000000000 --- a/tests/auto/cplusplus/shared/shared.pri +++ /dev/null @@ -1,4 +0,0 @@ -QTC_PLUGIN_DEPENDS += cppeditor -include(../../qttest.pri) - -DEFINES += Q_PLUGIN_PATH=\"\\\"$$IDE_PLUGIN_PATH\\\"\" diff --git a/tests/auto/cplusplus/translationunit/translationunit.pro b/tests/auto/cplusplus/translationunit/translationunit.pro deleted file mode 100644 index 2d45878497..0000000000 --- a/tests/auto/cplusplus/translationunit/translationunit.pro +++ /dev/null @@ -1,3 +0,0 @@ -include(../shared/shared.pri) -SOURCES += tst_translationunit.cpp -HEADERS += ../cplusplus_global.h diff --git a/tests/auto/cplusplus/typeprettyprinter/typeprettyprinter.pro b/tests/auto/cplusplus/typeprettyprinter/typeprettyprinter.pro deleted file mode 100644 index 83453aee0e..0000000000 --- a/tests/auto/cplusplus/typeprettyprinter/typeprettyprinter.pro +++ /dev/null @@ -1,2 +0,0 @@ -include(../shared/shared.pri) -SOURCES += tst_typeprettyprinter.cpp diff --git a/tests/auto/debugger/debugger.pro b/tests/auto/debugger/debugger.pro deleted file mode 100644 index 6d24b5f799..0000000000 --- a/tests/auto/debugger/debugger.pro +++ /dev/null @@ -1,15 +0,0 @@ - -TEMPLATE = subdirs - -# Avoid race condition when compiling with multiple jobs or moc_predefs.h might get used and -# overridden at the same time as the sub projects are using the same build directory. -# Correct would be to completely rearrange these sub projects into sub directories, using the -# quick fix instead. -CONFIG += ordered - -SUBDIRS += gdb.pro -SUBDIRS += simplifytypes.pro -SUBDIRS += dumpers.pro -SUBDIRS += disassembler.pro -SUBDIRS += offsets.pro -SUBDIRS += protocol.pro diff --git a/tests/auto/debugger/disassembler.pro b/tests/auto/debugger/disassembler.pro deleted file mode 100644 index 2a145964ea..0000000000 --- a/tests/auto/debugger/disassembler.pro +++ /dev/null @@ -1,11 +0,0 @@ -QT = core network widgets -include(../qttest.pri) - -DEBUGGERDIR = $$IDE_SOURCE_TREE/src/plugins/debugger - -INCLUDEPATH += $$DEBUGGERDIR - -SOURCES += \ - tst_disassembler.cpp \ - $$DEBUGGERDIR/disassemblerlines.cpp \ - diff --git a/tests/auto/debugger/dumpers.pro b/tests/auto/debugger/dumpers.pro deleted file mode 100644 index 987c232332..0000000000 --- a/tests/auto/debugger/dumpers.pro +++ /dev/null @@ -1,46 +0,0 @@ -QT = core network - -QTC_LIB_DEPENDS += utils - -include(../qttest.pri) - -msvc { - - LIBS *= -L$$IDE_PLUGIN_PATH - DEFINES += Q_PLUGIN_PATH=\"\\\"$$IDE_PLUGIN_PATH\\\"\" - - CDBEXT_PATH = $$IDE_BUILD_TREE\\$$IDE_LIBRARY_BASENAME - # replace '\' with '\\' - DEFINES += CDBEXT_PATH=\"\\\"$$replace(CDBEXT_PATH, \\\\, \\\\)\\\"\" - -} - -DEBUGGERDIR = $$IDE_SOURCE_TREE/src/plugins/debugger -DUMPERDIR = $$IDE_SOURCE_TREE/share/qtcreator/debugger - -SOURCES += \ - $$DEBUGGERDIR/debuggerprotocol.cpp \ - $$DEBUGGERDIR/simplifytype.cpp \ - $$DEBUGGERDIR/watchdata.cpp \ - $$DEBUGGERDIR/watchutils.cpp \ - tst_dumpers.cpp - -HEADERS += \ - $$DEBUGGERDIR/debuggerprotocol.h \ - $$DEBUGGERDIR/simplifytype.h \ - $$DEBUGGERDIR/watchdata.h \ - $$DEBUGGERDIR/watchutils.h - -!isEmpty(vcproj) { - DEFINES += DUMPERDIR=\"$$DUMPERDIR\" - DEFINES += DEFAULT_QMAKE_BINARY=\"qmake\" -} else { - DEFINES += DUMPERDIR=\\\"$$DUMPERDIR\\\" - DEFINES += DEFAULT_QMAKE_BINARY=\\\"qmake\\\" -} - -INCLUDEPATH += $$DEBUGGERDIR - -# clang 3.5 does not like to optimize long functions. -# likewise gcc 5.4 -clang|gcc: QMAKE_CXXFLAGS_RELEASE = diff --git a/tests/auto/debugger/gdb.pro b/tests/auto/debugger/gdb.pro deleted file mode 100644 index ef5b28236c..0000000000 --- a/tests/auto/debugger/gdb.pro +++ /dev/null @@ -1,15 +0,0 @@ -QT = core network - -QTC_LIB_DEPENDS += utils -include(../qttest.pri) - -DEBUGGERDIR = $$IDE_SOURCE_TREE/src/plugins/debugger - -INCLUDEPATH += $$DEBUGGERDIR - -SOURCES += \ - tst_gdb.cpp \ - $$DEBUGGERDIR/debuggerprotocol.cpp - -HEADERS += \ - $$DEBUGGERDIR/debuggerprotocol.h diff --git a/tests/auto/debugger/offsets.pro b/tests/auto/debugger/offsets.pro deleted file mode 100644 index f3eef5c31a..0000000000 --- a/tests/auto/debugger/offsets.pro +++ /dev/null @@ -1,15 +0,0 @@ -QT -= gui widgets -include(../qttest.pri) - -QT += core-private - -exists(/usr/include/boost/unordered/unordered_set.hpp) { - DEFINES += HAS_BOOST -} - -exists(/usr/local/include/boost/unordered/unordered_set.hpp) { - DEFINES += HAS_BOOST - INCLUDEPATH += /usr/local/include -} - -SOURCES += tst_offsets.cpp diff --git a/tests/auto/debugger/protocol.pro b/tests/auto/debugger/protocol.pro deleted file mode 100644 index edb5529571..0000000000 --- a/tests/auto/debugger/protocol.pro +++ /dev/null @@ -1,15 +0,0 @@ -QT = core network - -QTC_LIB_DEPENDS += utils -include(../qttest.pri) - -DEBUGGERDIR = $$IDE_SOURCE_TREE/src/plugins/debugger - -INCLUDEPATH += $$DEBUGGERDIR - -SOURCES += \ - tst_protocol.cpp \ - $$DEBUGGERDIR/debuggerprotocol.cpp - -HEADERS += \ - $$DEBUGGERDIR/debuggerprotocol.h diff --git a/tests/auto/debugger/simplifytypes.pro b/tests/auto/debugger/simplifytypes.pro deleted file mode 100644 index 7e15fecad3..0000000000 --- a/tests/auto/debugger/simplifytypes.pro +++ /dev/null @@ -1,11 +0,0 @@ -include(../qttest.pri) -QT += network -QT -= gui widgets - -DEBUGGERDIR = $$IDE_SOURCE_TREE/src/plugins/debugger - -INCLUDEPATH += $$DEBUGGERDIR - -SOURCES += \ - tst_simplifytypes.cpp \ - $$DEBUGGERDIR/simplifytype.cpp \ diff --git a/tests/auto/diff/diff.pro b/tests/auto/diff/diff.pro deleted file mode 100644 index 6c75f1e84d..0000000000 --- a/tests/auto/diff/diff.pro +++ /dev/null @@ -1,5 +0,0 @@ -TEMPLATE = subdirs -CONFIG += ordered - -SUBDIRS = \ - differ diff --git a/tests/auto/diff/differ/differ.pro b/tests/auto/diff/differ/differ.pro deleted file mode 100644 index f333f5ba72..0000000000 --- a/tests/auto/diff/differ/differ.pro +++ /dev/null @@ -1,5 +0,0 @@ -QTC_LIB_DEPENDS += utils - -include(../../qttest.pri) - -SOURCES += tst_differ.cpp diff --git a/tests/auto/environment/environment.pro b/tests/auto/environment/environment.pro deleted file mode 100644 index eaa44620bd..0000000000 --- a/tests/auto/environment/environment.pro +++ /dev/null @@ -1,4 +0,0 @@ -QTC_LIB_DEPENDS += utils -include(../qttest.pri) - -SOURCES += tst_environment.cpp diff --git a/tests/auto/extensionsystem/extensionsystem.pro b/tests/auto/extensionsystem/extensionsystem.pro deleted file mode 100644 index f988a84e10..0000000000 --- a/tests/auto/extensionsystem/extensionsystem.pro +++ /dev/null @@ -1,4 +0,0 @@ -TEMPLATE = subdirs -SUBDIRS = pluginmanager \ - pluginspec - diff --git a/tests/auto/extensionsystem/pluginmanager/circularplugins/circularplugins.pro b/tests/auto/extensionsystem/pluginmanager/circularplugins/circularplugins.pro deleted file mode 100644 index 21f257cf08..0000000000 --- a/tests/auto/extensionsystem/pluginmanager/circularplugins/circularplugins.pro +++ /dev/null @@ -1,2 +0,0 @@ -TEMPLATE = subdirs -SUBDIRS = plugin1 plugin2 plugin3 diff --git a/tests/auto/extensionsystem/pluginmanager/circularplugins/plugin1/plugin1.pro b/tests/auto/extensionsystem/pluginmanager/circularplugins/plugin1/plugin1.pro deleted file mode 100644 index 54dcfbabe8..0000000000 --- a/tests/auto/extensionsystem/pluginmanager/circularplugins/plugin1/plugin1.pro +++ /dev/null @@ -1,14 +0,0 @@ -TEMPLATE = lib - -SOURCES += plugin1.cpp -HEADERS += plugin1.h -DEFINES += PLUGIN1_LIBRARY - -DISTFILES = $$PWD/plugin.json - -QTC_LIB_DEPENDS += extensionsystem -include(../../../../../../qtcreator.pri) -include(../../../../qttestrpath.pri) - -TARGET = $$qtLibraryTargetName(plugin1) -CONFIG -= debug_and_release_target diff --git a/tests/auto/extensionsystem/pluginmanager/circularplugins/plugin2/plugin2.pro b/tests/auto/extensionsystem/pluginmanager/circularplugins/plugin2/plugin2.pro deleted file mode 100644 index c776d82fe4..0000000000 --- a/tests/auto/extensionsystem/pluginmanager/circularplugins/plugin2/plugin2.pro +++ /dev/null @@ -1,14 +0,0 @@ -TEMPLATE = lib - -SOURCES += plugin2.cpp -HEADERS += plugin2.h -DEFINES += PLUGIN2_LIBRARY - -DISTFILES = $$PWD/plugin.json - -QTC_LIB_DEPENDS += extensionsystem -include(../../../../../../qtcreator.pri) -include(../../../../qttestrpath.pri) - -TARGET = $$qtLibraryTargetName(plugin2) -CONFIG -= debug_and_release_target diff --git a/tests/auto/extensionsystem/pluginmanager/circularplugins/plugin3/plugin3.pro b/tests/auto/extensionsystem/pluginmanager/circularplugins/plugin3/plugin3.pro deleted file mode 100644 index 243d5ac19a..0000000000 --- a/tests/auto/extensionsystem/pluginmanager/circularplugins/plugin3/plugin3.pro +++ /dev/null @@ -1,14 +0,0 @@ -TEMPLATE = lib - -SOURCES += plugin3.cpp -HEADERS += plugin3.h -DEFINES += PLUGIN3_LIBRARY - -ODISTFILES = $$PWD/plugin.json - -QTC_LIB_DEPENDS += extensionsystem -include(../../../../../../qtcreator.pri) -include(../../../../qttestrpath.pri) - -TARGET = $$qtLibraryTargetName(plugin3) -CONFIG -= debug_and_release_target diff --git a/tests/auto/extensionsystem/pluginmanager/correctplugins1/correctplugins1.pro b/tests/auto/extensionsystem/pluginmanager/correctplugins1/correctplugins1.pro deleted file mode 100644 index f0d76950e8..0000000000 --- a/tests/auto/extensionsystem/pluginmanager/correctplugins1/correctplugins1.pro +++ /dev/null @@ -1,3 +0,0 @@ -TEMPLATE = subdirs -CONFIG += ordered -SUBDIRS = plugin2 plugin3 plugin1 diff --git a/tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin1/plugin1.pro b/tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin1/plugin1.pro deleted file mode 100644 index 0f2bf10922..0000000000 --- a/tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin1/plugin1.pro +++ /dev/null @@ -1,21 +0,0 @@ -TEMPLATE = lib - -SOURCES += plugin1.cpp -HEADERS += plugin1.h -DEFINES += PLUGIN1_LIBRARY - -DISTFILES = $$PWD/plugin.json - -QTC_LIB_DEPENDS += extensionsystem -include(../../../../qttest.pri) - -TARGET = $$qtLibraryTargetName(plugin1) -CONFIG -= debug_and_release_target - -LIBS += -L$$OUT_PWD/../plugin2 -L$$OUT_PWD/../plugin3 -LIBS += -l$$qtLibraryName(plugin2) -l$$qtLibraryName(plugin3) - -macx { -} else:unix { - QMAKE_RPATHDIR += $$OUT_PWD/../lib -} diff --git a/tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin2/plugin2.pro b/tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin2/plugin2.pro deleted file mode 100644 index a168390bc7..0000000000 --- a/tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin2/plugin2.pro +++ /dev/null @@ -1,18 +0,0 @@ -TEMPLATE = lib - -SOURCES += plugin2.cpp -HEADERS += plugin2.h -DEFINES += PLUGIN2_LIBRARY - -DISTFILES = $$PWD/plugin.json - -QTC_LIB_DEPENDS += extensionsystem -include(../../../../qttest.pri) - -TARGET = $$qtLibraryTargetName(plugin2) -CONFIG -= debug_and_release_target - -macx { - QMAKE_LFLAGS_SONAME = -Wl,-install_name,$${OUT_PWD}/ -} - diff --git a/tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin3/plugin3.pro b/tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin3/plugin3.pro deleted file mode 100644 index c2ca37b905..0000000000 --- a/tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin3/plugin3.pro +++ /dev/null @@ -1,22 +0,0 @@ -TEMPLATE = lib - -SOURCES += plugin3.cpp -HEADERS += plugin3.h -DEFINES += PLUGIN3_LIBRARY - -DISTFILES = $$PWD/plugin.json - -QTC_LIB_DEPENDS += extensionsystem -include(../../../../qttest.pri) - -TARGET = $$qtLibraryTargetName(plugin3) -CONFIG -= debug_and_release_target - -LIBS += -L$$OUT_PWD/../plugin2 -LIBS += -l$$qtLibraryName(plugin2) - -macx { - QMAKE_LFLAGS_SONAME = -Wl,-install_name,$${OUT_PWD}/ -} else:unix { - QMAKE_RPATHDIR += $OUT_PWD/../lib -} diff --git a/tests/auto/extensionsystem/pluginmanager/pluginmanager.pro b/tests/auto/extensionsystem/pluginmanager/pluginmanager.pro deleted file mode 100644 index 57b026f5fb..0000000000 --- a/tests/auto/extensionsystem/pluginmanager/pluginmanager.pro +++ /dev/null @@ -1,6 +0,0 @@ -TEMPLATE = subdirs - -SUBDIRS = test.pro \ - circularplugins \ - correctplugins1 - diff --git a/tests/auto/extensionsystem/pluginmanager/test.pro b/tests/auto/extensionsystem/pluginmanager/test.pro deleted file mode 100644 index 736e6319f0..0000000000 --- a/tests/auto/extensionsystem/pluginmanager/test.pro +++ /dev/null @@ -1,10 +0,0 @@ -TARGET = pluginmanager - -# Input - -QTC_LIB_DEPENDS += extensionsystem -include(../../qttest.pri) - -SOURCES += tst_pluginmanager.cpp - -DEFINES += "PLUGINMANAGER_TESTS_DIR=\\\"$$OUT_PWD\\\"" diff --git a/tests/auto/extensionsystem/pluginspec/pluginspec.pro b/tests/auto/extensionsystem/pluginspec/pluginspec.pro deleted file mode 100644 index d4b941b232..0000000000 --- a/tests/auto/extensionsystem/pluginspec/pluginspec.pro +++ /dev/null @@ -1,4 +0,0 @@ -TEMPLATE = subdirs -CONFIG += ordered - -SUBDIRS = testplugin test.pro diff --git a/tests/auto/extensionsystem/pluginspec/test.pro b/tests/auto/extensionsystem/pluginspec/test.pro deleted file mode 100644 index 31b3f2763f..0000000000 --- a/tests/auto/extensionsystem/pluginspec/test.pro +++ /dev/null @@ -1,27 +0,0 @@ -TARGET = pluginspec - -# Input -SOURCES += tst_pluginspec.cpp - -DISTFILES += \ - $$PWD/testspecs/simplespec.json \ - $$PWD/testspecs/simplespec_experimental.json \ - $$PWD/testspecs/spec1.json \ - $$PWD/testspecs/spec2.json \ - $$PWD/testspecs/spec_wrong2.json \ - $$PWD/testspecs/spec_wrong3.json \ - $$PWD/testspecs/spec_wrong4.json \ - $$PWD/testspecs/spec_wrong5.json \ - $$PWD/testdependencies/spec1.json \ - $$PWD/testdependencies/spec2.json \ - $$PWD/testdependencies/spec3.json \ - $$PWD/testdependencies/spec4.json \ - $$PWD/testdependencies/spec5.json \ - $$PWD/testdir/spec.json - -QTC_LIB_DEPENDS += extensionsystem -include(../../qttest.pri) - -DEFINES += "PLUGINSPEC_DIR=\\\"$$PWD\\\"" -DEFINES += "PLUGIN_DIR=\\\"$$OUT_PWD\\\"" -DEFINES += "DLL_INFIX=\\\"d$$section(QTCREATOR_VERSION, ., 0, 0)\\\"" diff --git a/tests/auto/extensionsystem/pluginspec/testplugin/testplugin.pro b/tests/auto/extensionsystem/pluginspec/testplugin/testplugin.pro deleted file mode 100644 index afc5f3c5e1..0000000000 --- a/tests/auto/extensionsystem/pluginspec/testplugin/testplugin.pro +++ /dev/null @@ -1,13 +0,0 @@ -TEMPLATE = lib -DEFINES += MYPLUGIN_LIBRARY -SOURCES += testplugin.cpp -HEADERS += testplugin.h testplugin_global.h - -DISTFILES += testplugin.json - -QTC_LIB_DEPENDS += extensionsystem -include(../../../../../qtcreator.pri) -include(../../../qttestrpath.pri) - -TARGET = $$qtLibraryTargetName(test) -CONFIG -= debug_and_release_target diff --git a/tests/auto/externaltool/externaltool.pro b/tests/auto/externaltool/externaltool.pro deleted file mode 100644 index 1c7936c0e2..0000000000 --- a/tests/auto/externaltool/externaltool.pro +++ /dev/null @@ -1,7 +0,0 @@ -QTC_LIB_DEPENDS += utils -QTC_PLUGIN_DEPENDS += coreplugin -include(../qttest.pri) - -SOURCES += tst_externaltooltest.cpp \ - $$IDE_SOURCE_TREE/src/plugins/coreplugin/externaltool.cpp -HEADERS += $$IDE_SOURCE_TREE/src/plugins/coreplugin/externaltool.h diff --git a/tests/auto/filesearch/filesearch.pro b/tests/auto/filesearch/filesearch.pro deleted file mode 100644 index 1d89df5df6..0000000000 --- a/tests/auto/filesearch/filesearch.pro +++ /dev/null @@ -1,9 +0,0 @@ -QTC_LIB_DEPENDS += utils -include(../qttest.pri) - -# Input -SOURCES += tst_filesearch.cpp - -DISTFILES += testfile.txt - -RESOURCES += tst_filesearch.qrc diff --git a/tests/auto/json/json.pro b/tests/auto/json/json.pro deleted file mode 100644 index b7c5970698..0000000000 --- a/tests/auto/json/json.pro +++ /dev/null @@ -1,13 +0,0 @@ -TARGET = tst_json -QT = core testlib -CONFIG -= app_bundle -CONFIG += testcase - -TESTDATA += test.json test.bjson test3.json test2.json bom.json - -INCLUDEPATH += ../../../src/shared/json - -DEFINES += QT_NO_CAST_TO_ASCII QT_NO_CAST_FROM_ASCII - -include(../../../src/shared/json/json.pri) -SOURCES += tst_json.cpp diff --git a/tests/auto/languageserverprotocol/languageserverprotocol.pro b/tests/auto/languageserverprotocol/languageserverprotocol.pro deleted file mode 100644 index eafc4478ef..0000000000 --- a/tests/auto/languageserverprotocol/languageserverprotocol.pro +++ /dev/null @@ -1,5 +0,0 @@ -QTC_LIB_DEPENDS += utils -QTC_LIB_DEPENDS += languageserverprotocol -include(../qttest.pri) - -SOURCES += tst_languageserverprotocol.cpp diff --git a/tests/auto/mapreduce/mapreduce.pro b/tests/auto/mapreduce/mapreduce.pro deleted file mode 100644 index cbb48a4966..0000000000 --- a/tests/auto/mapreduce/mapreduce.pro +++ /dev/null @@ -1,6 +0,0 @@ -QTC_LIB_DEPENDS += utils -include(../qttest.pri) - -# Input -SOURCES += tst_mapreduce.cpp -OTHER_FILES += $$IDE_SOURCE_TREE/src/libs/utils/mapreduce.h diff --git a/tests/auto/pointeralgorithm/pointeralgorithm.pro b/tests/auto/pointeralgorithm/pointeralgorithm.pro deleted file mode 100644 index 9a71c27da1..0000000000 --- a/tests/auto/pointeralgorithm/pointeralgorithm.pro +++ /dev/null @@ -1,4 +0,0 @@ -include(../qttest.pri) - -SOURCES += tst_pointeralgorithm.cpp -OTHER_FILES += $$IDE_SOURCE_TREE/src/libs/utils/pointeralgorithm.h diff --git a/tests/auto/profilewriter/profilewriter.pro b/tests/auto/profilewriter/profilewriter.pro deleted file mode 100644 index ceefde81fc..0000000000 --- a/tests/auto/profilewriter/profilewriter.pro +++ /dev/null @@ -1,7 +0,0 @@ -QT -= gui - -include(../qttest.pri) -include(../../../src/shared/proparser/proparser.pri) - -SOURCES += \ - tst_profilewriter.cpp diff --git a/tests/auto/qml/codemodel/check/check.pro b/tests/auto/qml/codemodel/check/check.pro deleted file mode 100644 index db5e51419c..0000000000 --- a/tests/auto/qml/codemodel/check/check.pro +++ /dev/null @@ -1,10 +0,0 @@ -QTC_LIB_DEPENDS += qmljs -include(../../../qttest.pri) - -DEFINES+=QTCREATORDIR=\\\"$$IDE_SOURCE_TREE\\\" -DEFINES+=TESTSRCDIR=\\\"$$PWD\\\" - -TARGET = tst_codemodel_check - -SOURCES += \ - tst_check.cpp diff --git a/tests/auto/qml/codemodel/codemodel.pro b/tests/auto/qml/codemodel/codemodel.pro deleted file mode 100644 index 18618a8ea2..0000000000 --- a/tests/auto/qml/codemodel/codemodel.pro +++ /dev/null @@ -1,7 +0,0 @@ -TEMPLATE = subdirs - -SUBDIRS += check \ - importscheck \ - dependencies \ - ecmascript7 - diff --git a/tests/auto/qml/codemodel/dependencies/dependencies.pro b/tests/auto/qml/codemodel/dependencies/dependencies.pro deleted file mode 100644 index e7b6a74f89..0000000000 --- a/tests/auto/qml/codemodel/dependencies/dependencies.pro +++ /dev/null @@ -1,52 +0,0 @@ -QTC_LIB_DEPENDS += qmljs -QTC_PLUGIN_DEPENDS += qmljstools - -include(../../../qttest.pri) - -DEFINES+=QTCREATORDIR=\\\"$$IDE_SOURCE_TREE\\\" -DEFINES+=TESTSRCDIR=\\\"$$PWD\\\" - -QT += core -QT -= gui - -TARGET = tst_dependencies -CONFIG += console -CONFIG -= app_bundle - -TEMPLATE = app - -SOURCES += tst_dependencies.cpp - -DISTFILES += \ - samples/test_ApplicationWindow.qml \ - samples/test_Button.qml \ - samples/test_ColumnLayout.qml \ - samples/test_Component.qml \ - samples/test_GridLayout.qml \ - samples/test_ListModel.qml \ - samples/test_ListView.qml \ - samples/test_ListViewDelegate.qml \ - samples/test_LocalStorage.qml \ - samples/test_Material.qml \ - samples/test_MessageDialog.qml \ - samples/test_QtObject.qml \ - samples/test_RowLayout.qml \ - samples/test_SampleLib.qml \ - samples/test_StackLayout.qml \ - samples/test_Tests.qml \ - samples/test_Timer.qml \ - samples/test_Universal.qml \ - samples/test_Window.qml \ - samples/test_XmlListModel.qml \ - samples/test_CircularGauge.qml \ - samples/test_ColorDialog.qml \ - samples/test_Dialog.qml \ - samples/test_FileDialog.qml \ - samples/test_FontDialog.qml \ - samples/test_Gauge.qml \ - samples/test_PieMenu.qml \ - samples/test_StatusIndicator.qml \ - samples/test_Tumbler.qml \ - samples/test_TumblerColumn.qml \ - samples/test_VisualItemModel.qml - diff --git a/tests/auto/qml/codemodel/ecmascript7/ecmascript7.pro b/tests/auto/qml/codemodel/ecmascript7/ecmascript7.pro deleted file mode 100644 index 8ce2263838..0000000000 --- a/tests/auto/qml/codemodel/ecmascript7/ecmascript7.pro +++ /dev/null @@ -1,28 +0,0 @@ -QTC_LIB_DEPENDS += qmljs -QTC_PLUGIN_DEPENDS += qmljstools - -include(../../../qttest.pri) - -DEFINES+=QTCREATORDIR=\\\"$$IDE_SOURCE_TREE\\\" -DEFINES+=TESTSRCDIR=\\\"$$PWD\\\" - -QT += core -QT -= gui - -TARGET = tst_ecmascript7 -CONFIG += console -CONFIG -= app_bundle - -TEMPLATE = app - -SOURCES += tst_ecmascript7.cpp - -DISTFILES += \ - samples/basic/arrow-functions.js \ - samples/basic/class.js \ - samples/basic/constructor.js \ - samples/basic/extends.js \ - samples/basic/let.js \ - samples/basic/super.js \ - samples/basic/template-strings.js \ - samples/basic/yield.js diff --git a/tests/auto/qml/codemodel/importscheck/importscheck.pro b/tests/auto/qml/codemodel/importscheck/importscheck.pro deleted file mode 100644 index 03501d4ed9..0000000000 --- a/tests/auto/qml/codemodel/importscheck/importscheck.pro +++ /dev/null @@ -1,18 +0,0 @@ -QTC_LIB_DEPENDS += cplusplus utils extensionsystem -include(../../../qttest.pri) -DEFINES += QMLJS_LIBRARY - -QT += qml xml -# direct dependency on qmljs for quicker turnaround when editing them -INCLUDEPATH+=$$IDE_SOURCE_TREE/src/libs -INCLUDEPATH+=$$IDE_SOURCE_TREE/src/libs/qmljs -include($$IDE_SOURCE_TREE/src/libs/qmljs/qmljs-lib.pri) -include($$IDE_SOURCE_TREE/src/libs/languageutils/languageutils-lib.pri) -DEFINES+=QTCREATORDIR=\\\"$$IDE_SOURCE_TREE\\\" -DEFINES+=TESTSRCDIR=\\\"$$PWD\\\" -LIBS += "-L$$IDE_LIBRARY_PATH" - -TARGET = tst_qml_imports_check - -SOURCES += \ - tst_importscheck.cpp diff --git a/tests/auto/qml/persistenttrie/persistenttrie.pro b/tests/auto/qml/persistenttrie/persistenttrie.pro deleted file mode 100644 index 5e3c7169ac..0000000000 --- a/tests/auto/qml/persistenttrie/persistenttrie.pro +++ /dev/null @@ -1,21 +0,0 @@ -QTC_LIB_DEPENDS += qmljs -include(../../qttest.pri) - -DEFINES+=QTCREATORDIR=\\\"$$IDE_SOURCE_TREE\\\" -DEFINES+=TESTSRCDIR=\\\"$$_PRO_FILE_PWD_\\\" - -TARGET = tst_trie_check - -HEADERS += tst_testtrie.h - -SOURCES += \ - tst_testtrie.cpp - -TEMPLATE = app -DEFINES += QMLJS_LIBRARY - -DISTFILES += \ - listAll.data \ - intersect.data \ - merge.data \ - completion.data diff --git a/tests/auto/qml/qml.pro b/tests/auto/qml/qml.pro deleted file mode 100644 index c0da615d8b..0000000000 --- a/tests/auto/qml/qml.pro +++ /dev/null @@ -1,21 +0,0 @@ -TEMPLATE = subdirs - -SUBDIRS += \ - qmleditor \ - qmljssimplereader \ - qmlprojectmanager \ - codemodel \ - reformatter \ - qrcparser \ - persistenttrie - -QTC_DO_NOT_BUILD_QMLDESIGNER = $$(QTC_DO_NOT_BUILD_QMLDESIGNER) -isEmpty(QTC_DO_NOT_BUILD_QMLDESIGNER):qtHaveModule(quick-private) { - SUBDIRS += qmldesigner -} else { - !qtHaveModule(quick-private) { - warning("QmlDesigner plugin has been disabled since the Qt Quick module is not available.") - } else { - warning("QmlDesigner plugin has been disabled since QTC_DO_NOT_BUILD_QMLDESIGNER is set.") - } -} diff --git a/tests/auto/qml/qmldesigner/coretests/coretests.pro b/tests/auto/qml/qmldesigner/coretests/coretests.pro deleted file mode 100644 index 416d3ca08d..0000000000 --- a/tests/auto/qml/qmldesigner/coretests/coretests.pro +++ /dev/null @@ -1,75 +0,0 @@ -QTC_LIB_DEPENDS += \ - utils \ - qmljs \ - qmleditorwidgets - -QTC_LIB_DEPENDS += \ - utils \ - qmljs \ - qmleditorwidgets \ - cplusplus - -QTC_PLUGIN_DEPENDS += \ - coreplugin \ - qmljseditor \ - qmakeprojectmanager \ - qmlprojectmanager - -CONFIG -= qtquickcompiler - -include(../../../qttest.pri) - -QT += qml quick network core-private - -greaterThan(QT_MAJOR_VERSION, 4) { - QT += printsupport - !isEmpty(QT.webkitwidgets.name): QT += webkitwidgets webkit - else: DEFINES += QT_NO_WEBKIT -} else { - contains(QT_CONFIG, webkit): QT += webkit -} - -unix:!openbsd:!osx: LIBS += -lrt # posix shared memory - -DEFINES+=IDE_PLUGIN_PATH=$$system_quote(\"$$IDE_PLUGIN_PATH\") -DEFINES+=IDE_DATA_PATH=$$system_quote(\"$$IDE_DATA_PATH\") -DEFINES+=TESTSRCDIR=$$system_quote(\"$$_PRO_FILE_PWD_\") - -DEFINES += QTCREATOR_TEST -DEFINES += QMLDESIGNER_TEST -DEFINES += QT_RESTRICTED_CAST_FROM_ASCII - -INCLUDEPATH += $$IDE_SOURCE_TREE/src/plugins/qmldesigner/designercore/include -INCLUDEPATH += $$IDE_SOURCE_TREE/src/plugins/qmldesigner/designercore -INCLUDEPATH += $$IDE_SOURCE_TREE//share/qtcreator/qml/qmlpuppet -INCLUDEPATH += $$IDE_SOURCE_TREE/src/plugins/qmldesigner -INCLUDEPATH += $$IDE_SOURCE_TREE/src/plugins/qmldesigner/components/integration -INCLUDEPATH += $$IDE_SOURCE_TREE/src/plugins/qmldesigner/components/componentcore -INCLUDEPATH += $$IDE_SOURCE_TREE/src/plugins/qmldesigner/components/itemlibrary -INCLUDEPATH += $$IDE_SOURCE_TREE/src/plugins/qmldesigner/components/navigator -INCLUDEPATH += $$IDE_SOURCE_TREE/src/plugins/qmldesigner/components/stateseditor -INCLUDEPATH += $$IDE_SOURCE_TREE/src/plugins/qmldesigner/components/formeditor -INCLUDEPATH += $$IDE_SOURCE_TREE/src/plugins/qmldesigner/components/propertyeditor -INCLUDEPATH += $$IDE_SOURCE_TREE/src/plugins/qmldesigner/components/debugview -INCLUDEPATH += $$IDE_SOURCE_TREE/src/plugins/qmldesigner/components/edit3d -INCLUDEPATH *= $$IDE_SOURCE_TREE/src/libs/3rdparty -INCLUDEPATH *= $$IDE_SOURCE_TREE/src/libs/sqlite - -include($$IDE_SOURCE_TREE/src/plugins/qmldesigner/designercore/designercore-lib.pri) - -CONFIG += console -CONFIG -= app_bundle -TEMPLATE = app -SOURCES += \ - ../testview.cpp \ - testrewriterview.cpp \ - tst_testcore.cpp \ - ../testconnectionmanager.cpp - -HEADERS += \ - ../testview.h \ - testrewriterview.h \ - tst_testcore.h \ - ../testconnectionmanager.h - -RESOURCES += ../data/testfiles.qrc diff --git a/tests/auto/qml/qmldesigner/qmldesigner.pro b/tests/auto/qml/qmldesigner/qmldesigner.pro deleted file mode 100644 index 2ea2369f2b..0000000000 --- a/tests/auto/qml/qmldesigner/qmldesigner.pro +++ /dev/null @@ -1,3 +0,0 @@ -TEMPLATE = subdirs - -SUBDIRS += coretests diff --git a/tests/auto/qml/qmleditor/qmlcodeformatter/qmlcodeformatter.pro b/tests/auto/qml/qmleditor/qmlcodeformatter/qmlcodeformatter.pro deleted file mode 100644 index fef95ed12d..0000000000 --- a/tests/auto/qml/qmleditor/qmlcodeformatter/qmlcodeformatter.pro +++ /dev/null @@ -1,8 +0,0 @@ -QTC_LIB_DEPENDS += qmljs -QTC_PLUGIN_DEPENDS += qmljstools -include(../../../qttest.pri) - -SRCDIR = $$IDE_SOURCE_TREE/src - -SOURCES += \ - tst_qmlcodeformatter.cpp diff --git a/tests/auto/qml/qmleditor/qmleditor.pro b/tests/auto/qml/qmleditor/qmleditor.pro deleted file mode 100644 index 2f65c166ef..0000000000 --- a/tests/auto/qml/qmleditor/qmleditor.pro +++ /dev/null @@ -1,3 +0,0 @@ -TEMPLATE = subdirs -SUBDIRS += \ - qmlcodeformatter diff --git a/tests/auto/qml/qmljssimplereader/qmljssimplereader.pro b/tests/auto/qml/qmljssimplereader/qmljssimplereader.pro deleted file mode 100644 index 2c168510d1..0000000000 --- a/tests/auto/qml/qmljssimplereader/qmljssimplereader.pro +++ /dev/null @@ -1,10 +0,0 @@ -QTC_LIB_DEPENDS += qmljs -include(../../qttest.pri) - -DEFINES+=QTCREATORDIR=\\\"$$IDE_SOURCE_TREE\\\" -DEFINES+=TESTSRCDIR=\\\"$$_PRO_FILE_PWD_\\\" - -TARGET = tst_qmljssimplereader - -SOURCES += \ - tst_qmljssimplereader.cpp diff --git a/tests/auto/qml/qmlprojectmanager/fileformat/fileformat.pro b/tests/auto/qml/qmlprojectmanager/fileformat/fileformat.pro deleted file mode 100644 index a85d683f92..0000000000 --- a/tests/auto/qml/qmlprojectmanager/fileformat/fileformat.pro +++ /dev/null @@ -1,16 +0,0 @@ -QTC_LIB_DEPENDS += qmljs -include(../../../qttest.pri) - -QT += qml - -PLUGIN_DIR=$$IDE_SOURCE_TREE/src/plugins/qmlprojectmanager - -include($$PLUGIN_DIR/fileformat/fileformat.pri) -include($$IDE_SOURCE_TREE/src/libs/utils/utils_dependencies.pri) - -INCLUDEPATH += $$PLUGIN_DIR/fileformat - -DEFINES += SRCDIR=\\\"$$_PRO_FILE_PWD_\\\" - -TEMPLATE = app -SOURCES += tst_fileformat.cpp diff --git a/tests/auto/qml/qmlprojectmanager/qmlprojectmanager.pro b/tests/auto/qml/qmlprojectmanager/qmlprojectmanager.pro deleted file mode 100644 index e36121cd0d..0000000000 --- a/tests/auto/qml/qmlprojectmanager/qmlprojectmanager.pro +++ /dev/null @@ -1,3 +0,0 @@ -TEMPLATE = subdirs - -SUBDIRS += fileformat diff --git a/tests/auto/qml/qrcparser/qrcparser.pro b/tests/auto/qml/qrcparser/qrcparser.pro deleted file mode 100644 index d043d709f0..0000000000 --- a/tests/auto/qml/qrcparser/qrcparser.pro +++ /dev/null @@ -1,9 +0,0 @@ -#include(../shared/shared.pri) -QTC_LIB_DEPENDS += utils -include(../../qttest.pri) -#DEFINES+=CPLUSPLUS_BUILD_STATIC_LIB - -#DEFINES += Q_PLUGIN_PATH=\"\\\"$$IDE_PLUGIN_PATH\\\"\" - -DEFINES += TESTSRCDIR=\\\"$$PWD\\\" -SOURCES += $$PWD/tst_qrcparser.cpp diff --git a/tests/auto/qml/reformatter/reformatter.pro b/tests/auto/qml/reformatter/reformatter.pro deleted file mode 100644 index ba3a673b71..0000000000 --- a/tests/auto/qml/reformatter/reformatter.pro +++ /dev/null @@ -1,18 +0,0 @@ -QTC_LIB_DEPENDS += qmljs -include(../../qttest.pri) - -DEFINES+=QTCREATORDIR=\\\"$$IDE_SOURCE_TREE\\\" -DEFINES+=TESTSRCDIR=\\\"$$_PRO_FILE_PWD_\\\" - -TARGET = tst_reformatter - -SOURCES += \ - tst_reformatter.cpp - -DISTFILES += \ - jssyntax.js \ - objectliteral.js \ - qmlreadonly.qml \ - qmlsingleton.qml \ - qmlsyntax.qml \ - comments.qml diff --git a/tests/auto/runextensions/runextensions.pro b/tests/auto/runextensions/runextensions.pro deleted file mode 100644 index 64e1328b90..0000000000 --- a/tests/auto/runextensions/runextensions.pro +++ /dev/null @@ -1,6 +0,0 @@ -QTC_LIB_DEPENDS = utils -include(../qttest.pri) - -# Input -SOURCES += tst_runextensions.cpp -OTHER_FILES += $$IDE_SOURCE_TREE/src/libs/utils/runextensions.h diff --git a/tests/auto/sdktool/sdktool.pro b/tests/auto/sdktool/sdktool.pro deleted file mode 100644 index 8cdcc8c653..0000000000 --- a/tests/auto/sdktool/sdktool.pro +++ /dev/null @@ -1,8 +0,0 @@ -include(../qttest.pri) - -TMP_ILP = $$IDE_LIBEXEC_PATH -win32: TMP_ILP = $$replace(TMP_ILP, \\\\, /) - -DEFINES += $$shell_quote(SDKTOOL_DIR=\"$$TMP_ILP\") - -SOURCES += tst_sdktool.cpp diff --git a/tests/auto/ssh/ssh.pro b/tests/auto/ssh/ssh.pro deleted file mode 100644 index a4e519e4fb..0000000000 --- a/tests/auto/ssh/ssh.pro +++ /dev/null @@ -1,9 +0,0 @@ -QT = core network -QTC_LIB_DEPENDS += ssh utils -include(../qttest.pri) - -TEST_RELATIVE_LIBEXEC_PATH = $$relative_path($$IDE_LIBEXEC_PATH, $$OUT_PWD) -win32:TEST_RELATIVE_LIBEXEC_PATH=../$$TEST_RELATIVE_LIBEXEC_PATH -DEFINES += 'TEST_RELATIVE_LIBEXEC_PATH="\\\"$$TEST_RELATIVE_LIBEXEC_PATH\\\""' - -SOURCES += tst_ssh.cpp diff --git a/tests/auto/toolchaincache/toolchaincache.pro b/tests/auto/toolchaincache/toolchaincache.pro deleted file mode 100644 index 8b04cc317f..0000000000 --- a/tests/auto/toolchaincache/toolchaincache.pro +++ /dev/null @@ -1,6 +0,0 @@ -include(../qttest.pri) - -QT += network - -SOURCES += \ - tst_toolchaincache.cpp diff --git a/tests/auto/tracing/flamegraph/flamegraph.pro b/tests/auto/tracing/flamegraph/flamegraph.pro deleted file mode 100644 index b668b987d1..0000000000 --- a/tests/auto/tracing/flamegraph/flamegraph.pro +++ /dev/null @@ -1,7 +0,0 @@ -QT += quick - -QTC_LIB_DEPENDS += tracing -include(../../qttest.pri) - -SOURCES += \ - tst_flamegraph.cpp diff --git a/tests/auto/tracing/flamegraphview/flamegraphview.pro b/tests/auto/tracing/flamegraphview/flamegraphview.pro deleted file mode 100644 index 7bb4102e35..0000000000 --- a/tests/auto/tracing/flamegraphview/flamegraphview.pro +++ /dev/null @@ -1,13 +0,0 @@ -QT += quick quickwidgets - -QTC_LIB_DEPENDS += tracing -include(../../qttest.pri) - -SOURCES += \ - tst_flamegraphview.cpp - -HEADERS += \ - testflamegraphmodel.h - -RESOURCES += \ - flamegraphview.qrc diff --git a/tests/auto/tracing/timelineabstractrenderer/timelineabstractrenderer.pro b/tests/auto/tracing/timelineabstractrenderer/timelineabstractrenderer.pro deleted file mode 100644 index 53038ebfdf..0000000000 --- a/tests/auto/tracing/timelineabstractrenderer/timelineabstractrenderer.pro +++ /dev/null @@ -1,7 +0,0 @@ -QT += quick - -QTC_LIB_DEPENDS += tracing -include(../../qttest.pri) - -SOURCES += \ - tst_timelineabstractrenderer.cpp diff --git a/tests/auto/tracing/timelineitemsrenderpass/timelineitemsrenderpass.pro b/tests/auto/tracing/timelineitemsrenderpass/timelineitemsrenderpass.pro deleted file mode 100644 index ba37591590..0000000000 --- a/tests/auto/tracing/timelineitemsrenderpass/timelineitemsrenderpass.pro +++ /dev/null @@ -1,7 +0,0 @@ -QT += quick - -QTC_LIB_DEPENDS += tracing -include(../../qttest.pri) - -SOURCES += \ - tst_timelineitemsrenderpass.cpp diff --git a/tests/auto/tracing/timelinemodel/timelinemodel.pro b/tests/auto/tracing/timelinemodel/timelinemodel.pro deleted file mode 100644 index a14fd3a09f..0000000000 --- a/tests/auto/tracing/timelinemodel/timelinemodel.pro +++ /dev/null @@ -1,5 +0,0 @@ -QTC_LIB_DEPENDS += tracing -include(../../qttest.pri) - -SOURCES += \ - tst_timelinemodel.cpp diff --git a/tests/auto/tracing/timelinemodelaggregator/timelinemodelaggregator.pro b/tests/auto/tracing/timelinemodelaggregator/timelinemodelaggregator.pro deleted file mode 100644 index 8eff246b1b..0000000000 --- a/tests/auto/tracing/timelinemodelaggregator/timelinemodelaggregator.pro +++ /dev/null @@ -1,5 +0,0 @@ -QTC_LIB_DEPENDS += tracing -include(../../qttest.pri) - -SOURCES += \ - tst_timelinemodelaggregator.cpp diff --git a/tests/auto/tracing/timelinenotesmodel/timelinenotesmodel.pro b/tests/auto/tracing/timelinenotesmodel/timelinenotesmodel.pro deleted file mode 100644 index bc7a68e570..0000000000 --- a/tests/auto/tracing/timelinenotesmodel/timelinenotesmodel.pro +++ /dev/null @@ -1,5 +0,0 @@ -QTC_LIB_DEPENDS += tracing -include(../../qttest.pri) - -SOURCES += \ - tst_timelinenotesmodel.cpp diff --git a/tests/auto/tracing/timelinenotesrenderpass/timelinenotesrenderpass.pro b/tests/auto/tracing/timelinenotesrenderpass/timelinenotesrenderpass.pro deleted file mode 100644 index 33c09eb66c..0000000000 --- a/tests/auto/tracing/timelinenotesrenderpass/timelinenotesrenderpass.pro +++ /dev/null @@ -1,7 +0,0 @@ -QT += quick - -QTC_LIB_DEPENDS += tracing -include(../../qttest.pri) - -SOURCES += \ - tst_timelinenotesrenderpass.cpp diff --git a/tests/auto/tracing/timelineoverviewrenderer/timelineoverviewrenderer.pro b/tests/auto/tracing/timelineoverviewrenderer/timelineoverviewrenderer.pro deleted file mode 100644 index 5529911590..0000000000 --- a/tests/auto/tracing/timelineoverviewrenderer/timelineoverviewrenderer.pro +++ /dev/null @@ -1,7 +0,0 @@ -QT += quick - -QTC_LIB_DEPENDS += tracing -include(../../qttest.pri) - -SOURCES += \ - tst_timelineoverviewrenderer.cpp diff --git a/tests/auto/tracing/timelinerenderer/timelinerenderer.pro b/tests/auto/tracing/timelinerenderer/timelinerenderer.pro deleted file mode 100644 index 1c49cfdfbf..0000000000 --- a/tests/auto/tracing/timelinerenderer/timelinerenderer.pro +++ /dev/null @@ -1,7 +0,0 @@ -QT += quick - -QTC_LIB_DEPENDS += tracing -include(../../qttest.pri) - -SOURCES += \ - tst_timelinerenderer.cpp diff --git a/tests/auto/tracing/timelinerenderpass/timelinerenderpass.pro b/tests/auto/tracing/timelinerenderpass/timelinerenderpass.pro deleted file mode 100644 index 2bf096ae0b..0000000000 --- a/tests/auto/tracing/timelinerenderpass/timelinerenderpass.pro +++ /dev/null @@ -1,5 +0,0 @@ -QTC_LIB_DEPENDS += tracing -include(../../qttest.pri) - -SOURCES += \ - tst_timelinerenderpass.cpp diff --git a/tests/auto/tracing/timelinerenderstate/timelinerenderstate.pro b/tests/auto/tracing/timelinerenderstate/timelinerenderstate.pro deleted file mode 100644 index b6ccbd0727..0000000000 --- a/tests/auto/tracing/timelinerenderstate/timelinerenderstate.pro +++ /dev/null @@ -1,7 +0,0 @@ -QT += quick - -QTC_LIB_DEPENDS += tracing -include(../../qttest.pri) - -SOURCES += \ - tst_timelinerenderstate.cpp diff --git a/tests/auto/tracing/timelineselectionrenderpass/timelineselectionrenderpass.pro b/tests/auto/tracing/timelineselectionrenderpass/timelineselectionrenderpass.pro deleted file mode 100644 index 77f723bc1c..0000000000 --- a/tests/auto/tracing/timelineselectionrenderpass/timelineselectionrenderpass.pro +++ /dev/null @@ -1,7 +0,0 @@ -QT += quick - -QTC_LIB_DEPENDS += tracing -include(../../qttest.pri) - -SOURCES += \ - tst_timelineselectionrenderpass.cpp diff --git a/tests/auto/tracing/timelinezoomcontrol/timelinezoomcontrol.pro b/tests/auto/tracing/timelinezoomcontrol/timelinezoomcontrol.pro deleted file mode 100644 index 8923467c49..0000000000 --- a/tests/auto/tracing/timelinezoomcontrol/timelinezoomcontrol.pro +++ /dev/null @@ -1,5 +0,0 @@ -QTC_LIB_DEPENDS += tracing -include(../../qttest.pri) - -SOURCES += \ - tst_timelinezoomcontrol.cpp diff --git a/tests/auto/tracing/tracing.pro b/tests/auto/tracing/tracing.pro deleted file mode 100644 index fd432940a6..0000000000 --- a/tests/auto/tracing/tracing.pro +++ /dev/null @@ -1,21 +0,0 @@ -include(../../../qtcreator.pri) -TEMPLATE = subdirs - -SUBDIRS = \ - flamegraph \ - flamegraphview \ - timelineabstractrenderer \ - timelineitemsrenderpass \ - timelinemodel \ - timelinemodelaggregator \ - timelinenotesmodel \ - timelinenotesrenderpass \ - timelineoverviewrenderer \ - timelinerenderer \ - timelinerenderpass \ - timelinerenderstate \ - timelineselectionrenderpass \ - timelinezoomcontrol - -OTHER_FILES += \ - tracingautotest.qbs diff --git a/tests/auto/treeviewfind/treeviewfind.pro b/tests/auto/treeviewfind/treeviewfind.pro deleted file mode 100644 index e1ac8caa02..0000000000 --- a/tests/auto/treeviewfind/treeviewfind.pro +++ /dev/null @@ -1,5 +0,0 @@ -QTC_PLUGIN_DEPENDS += coreplugin -include(../qttest.pri) - -SOURCES += \ - tst_treeviewfind.cpp diff --git a/tests/auto/utils/ansiescapecodehandler/ansiescapecodehandler.pro b/tests/auto/utils/ansiescapecodehandler/ansiescapecodehandler.pro deleted file mode 100644 index 03c65f5884..0000000000 --- a/tests/auto/utils/ansiescapecodehandler/ansiescapecodehandler.pro +++ /dev/null @@ -1,4 +0,0 @@ -QTC_LIB_DEPENDS += utils -include(../../qttest.pri) - -SOURCES += tst_ansiescapecodehandler.cpp diff --git a/tests/auto/utils/fileutils/fileutils.pro b/tests/auto/utils/fileutils/fileutils.pro deleted file mode 100644 index 7378524f7a..0000000000 --- a/tests/auto/utils/fileutils/fileutils.pro +++ /dev/null @@ -1,9 +0,0 @@ -QTC_LIB_DEPENDS += utils -include(../../qttest.pri) - -*-g++ { - CONFIG -= warn_on - QMAKE_CXXFLAGS += -Wall -Wno-trigraphs -} - -SOURCES += tst_fileutils.cpp diff --git a/tests/auto/utils/fuzzymatcher/fuzzymatcher.pro b/tests/auto/utils/fuzzymatcher/fuzzymatcher.pro deleted file mode 100644 index 827bdadc19..0000000000 --- a/tests/auto/utils/fuzzymatcher/fuzzymatcher.pro +++ /dev/null @@ -1,6 +0,0 @@ -QTC_LIB_DEPENDS += utils -include(../../qttest.pri) - -DEFINES += QTCREATOR_UTILS_LIB - -SOURCES += tst_fuzzymatcher.cpp diff --git a/tests/auto/utils/indexedcontainerproxyconstiterator/indexedcontainerproxyconstiterator.pro b/tests/auto/utils/indexedcontainerproxyconstiterator/indexedcontainerproxyconstiterator.pro deleted file mode 100644 index b0f9d7cc7e..0000000000 --- a/tests/auto/utils/indexedcontainerproxyconstiterator/indexedcontainerproxyconstiterator.pro +++ /dev/null @@ -1,4 +0,0 @@ -QTC_LIB_DEPENDS += utils -include(../../qttest.pri) - -SOURCES += tst_indexedcontainerproxyconstiterator.cpp diff --git a/tests/auto/utils/multicursor/multicursor.pro b/tests/auto/utils/multicursor/multicursor.pro deleted file mode 100644 index 16cf52d1d1..0000000000 --- a/tests/auto/utils/multicursor/multicursor.pro +++ /dev/null @@ -1,4 +0,0 @@ -QTC_LIB_DEPENDS += utils -include(../../qttest.pri) - -SOURCES += tst_multicursor.cpp diff --git a/tests/auto/utils/persistentsettings/persistentsettings.pro b/tests/auto/utils/persistentsettings/persistentsettings.pro deleted file mode 100644 index 3bd645a586..0000000000 --- a/tests/auto/utils/persistentsettings/persistentsettings.pro +++ /dev/null @@ -1,4 +0,0 @@ -QTC_LIB_DEPENDS += utils -include(../../qttest.pri) - -SOURCES += tst_persistentsettings.cpp diff --git a/tests/auto/utils/qtcprocess/qtcprocess.pro b/tests/auto/utils/qtcprocess/qtcprocess.pro deleted file mode 100644 index e3d92a1d07..0000000000 --- a/tests/auto/utils/qtcprocess/qtcprocess.pro +++ /dev/null @@ -1,10 +0,0 @@ -QTC_LIB_DEPENDS += utils -include(../../qttest.pri) - -win32:DEFINES += _CRT_SECURE_NO_WARNINGS - -TEST_RELATIVE_LIBEXEC_PATH = $$relative_path($$IDE_LIBEXEC_PATH, $$OUT_PWD) -win32:TEST_RELATIVE_LIBEXEC_PATH=../$$TEST_RELATIVE_LIBEXEC_PATH -DEFINES += 'TEST_RELATIVE_LIBEXEC_PATH="\\\"$$TEST_RELATIVE_LIBEXEC_PATH\\\""' - -SOURCES += tst_qtcprocess.cpp diff --git a/tests/auto/utils/settings/settings.pro b/tests/auto/utils/settings/settings.pro deleted file mode 100644 index b087dfeeb0..0000000000 --- a/tests/auto/utils/settings/settings.pro +++ /dev/null @@ -1,4 +0,0 @@ -QTC_LIB_DEPENDS += utils -include(../../qttest.pri) - -SOURCES += tst_settings.cpp diff --git a/tests/auto/utils/stringutils/stringutils.pro b/tests/auto/utils/stringutils/stringutils.pro deleted file mode 100644 index 1e1aacfaf5..0000000000 --- a/tests/auto/utils/stringutils/stringutils.pro +++ /dev/null @@ -1,6 +0,0 @@ -QTC_LIB_DEPENDS += utils -include(../../qttest.pri) - -DEFINES -= QT_USE_QSTRINGBUILDER - -SOURCES += tst_stringutils.cpp diff --git a/tests/auto/utils/templateengine/templateengine.pro b/tests/auto/utils/templateengine/templateengine.pro deleted file mode 100644 index 17117dff7e..0000000000 --- a/tests/auto/utils/templateengine/templateengine.pro +++ /dev/null @@ -1,6 +0,0 @@ -QTC_LIB_DEPENDS += utils -include(../../qttest.pri) - -DEFINES -= QT_USE_QSTRINGBUILDER - -SOURCES += tst_templateengine.cpp diff --git a/tests/auto/utils/treemodel/treemodel.pro b/tests/auto/utils/treemodel/treemodel.pro deleted file mode 100644 index b1e3ed0824..0000000000 --- a/tests/auto/utils/treemodel/treemodel.pro +++ /dev/null @@ -1,4 +0,0 @@ -QTC_LIB_DEPENDS += utils -include(../../qttest.pri) - -SOURCES += tst_treemodel.cpp diff --git a/tests/auto/utils/utils.pro b/tests/auto/utils/utils.pro deleted file mode 100644 index 048fbe9b43..0000000000 --- a/tests/auto/utils/utils.pro +++ /dev/null @@ -1,14 +0,0 @@ -TEMPLATE = subdirs - -SUBDIRS = \ - fileutils \ - ansiescapecodehandler \ - fuzzymatcher \ - indexedcontainerproxyconstiterator \ - persistentsettings \ - qtcprocess \ - settings \ - stringutils \ - templateengine \ - treemodel \ - multicursor diff --git a/tests/auto/valgrind/callgrind/callgrind.pro b/tests/auto/valgrind/callgrind/callgrind.pro deleted file mode 100644 index c48d1f43a5..0000000000 --- a/tests/auto/valgrind/callgrind/callgrind.pro +++ /dev/null @@ -1,4 +0,0 @@ -TEMPLATE = subdirs - -SUBDIRS += callgrindparsertests.pro -# modeltest.pro not compiling due to missing widget handler. diff --git a/tests/auto/valgrind/callgrind/callgrindparsertests.pro b/tests/auto/valgrind/callgrind/callgrindparsertests.pro deleted file mode 100644 index 3055b7dfb3..0000000000 --- a/tests/auto/valgrind/callgrind/callgrindparsertests.pro +++ /dev/null @@ -1,12 +0,0 @@ -QTC_LIB_DEPENDS += utils ssh -QTC_PLUGIN_DEPENDS += debugger projectexplorer -include(../../qttest.pri) -include($$IDE_SOURCE_TREE/src/plugins/valgrind/valgrind_test.pri) -TARGET = tst_callgrindparsertests - -DEFINES += "PARSERTESTS_DATA_DIR=\\\"$$_PRO_FILE_PWD_/data\\\"" -#enable extra debugging code -DEFINES += "CALLGRINDPARSERTESTS" - -SOURCES += callgrindparsertests.cpp -HEADERS += callgrindparsertests.h diff --git a/tests/auto/valgrind/valgrind.pro b/tests/auto/valgrind/valgrind.pro deleted file mode 100644 index 08c400af2e..0000000000 --- a/tests/auto/valgrind/valgrind.pro +++ /dev/null @@ -1,3 +0,0 @@ -TEMPLATE = subdirs - -SUBDIRS += memcheck callgrind diff --git a/tests/manual/manual.pro b/tests/manual/manual.pro deleted file mode 100644 index ba9fdb09ba..0000000000 --- a/tests/manual/manual.pro +++ /dev/null @@ -1,19 +0,0 @@ -TEMPLATE=subdirs - -SUBDIRS= \ - fakevim \ - debugger \ - subdir_proparser \ - shootout \ - pluginview \ - widgets - -unix { -# Uses popen - SUBDIRS += \ -# Profile library paths issues - process \ - ssh -} - -subdir_proparser.file=proparser/testreader.pro diff --git a/tests/manual/widgets/crumblepath/crumblepath.pro b/tests/manual/widgets/crumblepath/crumblepath.pro deleted file mode 100644 index 52199f05ee..0000000000 --- a/tests/manual/widgets/crumblepath/crumblepath.pro +++ /dev/null @@ -1,17 +0,0 @@ -SOURCES += \ - ../common/themeselector.cpp \ - tst_manual_widgets_crumblepath.cpp - -HEADERS += \ - ../common/themeselector.h - -RESOURCES += \ - ../common/themes.qrc - -QTC_LIB_DEPENDS += \ - utils - -QTC_PLUGIN_DEPENDS += \ - coreplugin - -include(../../../auto/qttest.pri) diff --git a/tests/manual/widgets/infolabel/infolabel.pro b/tests/manual/widgets/infolabel/infolabel.pro deleted file mode 100644 index 21918f47ca..0000000000 --- a/tests/manual/widgets/infolabel/infolabel.pro +++ /dev/null @@ -1,17 +0,0 @@ -SOURCES += \ - ../common/themeselector.cpp \ - tst_manual_widgets_infolabel.cpp - -HEADERS += \ - ../common/themeselector.h - -RESOURCES += \ - ../common/themes.qrc - -QTC_LIB_DEPENDS += \ - utils - -QTC_PLUGIN_DEPENDS += \ - coreplugin - -include(../../../auto/qttest.pri) diff --git a/tests/manual/widgets/widgets.pro b/tests/manual/widgets/widgets.pro deleted file mode 100644 index 00f36c1c94..0000000000 --- a/tests/manual/widgets/widgets.pro +++ /dev/null @@ -1,4 +0,0 @@ -TEMPLATE = subdirs -SUBDIRS = \ - crumblepath \ - infolabel diff --git a/tests/tests.pro b/tests/tests.pro deleted file mode 100644 index 08d0e9438d..0000000000 --- a/tests/tests.pro +++ /dev/null @@ -1,2 +0,0 @@ -TEMPLATE=subdirs -SUBDIRS += auto manual tools unit diff --git a/tests/unit/echoserver/echoserver.pro b/tests/unit/echoserver/echoserver.pro deleted file mode 100644 index 55bcb7222e..0000000000 --- a/tests/unit/echoserver/echoserver.pro +++ /dev/null @@ -1,29 +0,0 @@ -QT += core network - -TARGET = echo -CONFIG += console -CONFIG -= app_bundle - -TEMPLATE = app - -unix:LIBS += -ldl - -include($$PWD/../../../src/libs/utils/utils-lib.pri) - -include(../../../qtcreator.pri) -include(../../../src/libs/clangsupport/clangsupport-lib.pri) -include(../../../src/libs/sqlite/sqlite-lib.pri) - -INCLUDEPATH += ../../../src/libs - -SOURCES += \ - echoclangcodemodelserver.cpp \ - echoserverprocessmain.cpp - -HEADERS += \ - echoclangcodemodelserver.h - -DEFINES += CLANGSUPPORT_TESTS -DEFINES += DONT_CHECK_MESSAGE_COUNTER - -win32:DESTDIR = .. diff --git a/tests/unit/unit.pro b/tests/unit/unit.pro deleted file mode 100644 index cbd0d9bb05..0000000000 --- a/tests/unit/unit.pro +++ /dev/null @@ -1,5 +0,0 @@ -TEMPLATE = subdirs - -SUBDIRS = echoserver unittest - -unittest.depends = echoserver diff --git a/tests/unit/unittest/benchmark_dependency.pri b/tests/unit/unittest/benchmark_dependency.pri deleted file mode 100644 index d5a0b20558..0000000000 --- a/tests/unit/unittest/benchmark_dependency.pri +++ /dev/null @@ -1,26 +0,0 @@ -GOOGLEBENCHMARK_DIR = $$(GOOGLEBENCHMARK_DIR) - -!isEmpty(GOOGLEBENCHMARK_DIR):exists($$GOOGLEBENCHMARK_DIR) { - INCLUDEPATH += $$GOOGLEBENCHMARK_DIR/include - - DEFINES += HAVE_STD_REGEX WITH_BENCHMARKS - SOURCES += \ - $$GOOGLEBENCHMARK_DIR/src/benchmark.cc \ - $$GOOGLEBENCHMARK_DIR/src/benchmark_register.cc \ - $$GOOGLEBENCHMARK_DIR/src/colorprint.cc \ - $$GOOGLEBENCHMARK_DIR/src/commandlineflags.cc \ - $$GOOGLEBENCHMARK_DIR/src/complexity.cc \ - $$GOOGLEBENCHMARK_DIR/src/console_reporter.cc \ - $$GOOGLEBENCHMARK_DIR/src/counter.cc \ - $$GOOGLEBENCHMARK_DIR/src/csv_reporter.cc \ - $$GOOGLEBENCHMARK_DIR/src/json_reporter.cc \ - $$GOOGLEBENCHMARK_DIR/src/perf_counters.cc \ - $$GOOGLEBENCHMARK_DIR/src/reporter.cc \ - $$GOOGLEBENCHMARK_DIR/src/sleep.cc \ - $$GOOGLEBENCHMARK_DIR/src/statistics.cc \ - $$GOOGLEBENCHMARK_DIR/src/string_util.cc \ - $$GOOGLEBENCHMARK_DIR/src/sysinfo.cc \ - $$GOOGLEBENCHMARK_DIR/src/timers.cc - - win32:LIBS += -lshlwapi -} diff --git a/tests/unit/unittest/clang_dependency.pri b/tests/unit/unittest/clang_dependency.pri deleted file mode 100644 index 100bda296d..0000000000 --- a/tests/unit/unittest/clang_dependency.pri +++ /dev/null @@ -1,28 +0,0 @@ -include(../../../src/shared/clang/clang_installation.pri) -include(../../../src/shared/clang/clang_defines.pri) - -!isEmpty(LLVM_VERSION) { - requires(!isEmpty(LIBCLANG_LIBS)) - equals(LLVM_IS_COMPILED_WITH_RTTI, "NO") : message("LLVM needs to be compiled with RTTI!") - requires(equals(LLVM_IS_COMPILED_WITH_RTTI, "YES")) - - DEFINES += CLANG_UNIT_TESTS - INCLUDEPATH += $$LLVM_INCLUDEPATH - win32 { - # set run path for clang.dll dependency - bin_path = $$LLVM_BINDIR - bin_path ~= s,/,\\,g - # the below gets added to later by testcase.prf - check.commands = cd . & set PATH=$$bin_path;%PATH%& cmd /c - } - - LIBS += $$ALL_CLANG_LIBS - - !contains(QMAKE_DEFAULT_LIBDIRS, $$re_escape($$LLVM_LIBDIR)): QMAKE_RPATHDIR += $$LLVM_LIBDIR - - LLVM_CXXFLAGS ~= s,-g\d?, - QMAKE_CXXFLAGS_WARN_ON *= $$LLVM_CXXFLAGS_WARNINGS - QMAKE_CXXFLAGS *= $$LLVM_CXXFLAGS - - DEFINES += CLANG_COMPILER_PATH=\"R\\\"xxx($$LLVM_BINDIR/clang)xxx\\\"\" -} diff --git a/tests/unit/unittest/cplusplus.pri b/tests/unit/unittest/cplusplus.pri deleted file mode 100644 index 068cde9f1a..0000000000 --- a/tests/unit/unittest/cplusplus.pri +++ /dev/null @@ -1,4 +0,0 @@ -INCLUDEPATH += $$PWD - - -include($$PWD/../../../src/libs/cplusplus/cplusplus-lib.pri) diff --git a/tests/unit/unittest/creator_dependency.pri b/tests/unit/unittest/creator_dependency.pri deleted file mode 100644 index a66989b20b..0000000000 --- a/tests/unit/unittest/creator_dependency.pri +++ /dev/null @@ -1,24 +0,0 @@ -include($$PWD/../../../src/libs/utils/utils-lib.pri) - -include($$PWD/../../../src/libs/3rdparty/yaml-cpp/yaml-cpp.pri) -include($$PWD/../../../src/libs/sqlite/sqlite-lib.pri) -include($$PWD/../../../src/libs/clangsupport/clangsupport-lib.pri) -include($$PWD/../../../src/plugins/coreplugin/corepluginunittestfiles.pri) -include($$PWD/../../../src/plugins/cppeditor/cppeditorunittestfiles.pri) -include($$PWD/../../../src/plugins/debugger/debuggerunittestfiles.pri) -include($$PWD/../../../src/plugins/qmldesigner/qmldesignerunittestfiles.pri) -!isEmpty(QTC_UNITTEST_BUILD_CPP_PARSER):include(cplusplus.pri) -!isEmpty(LLVM_VERSION) { -include($$PWD/../../../src/plugins/clangtools/clangtoolsunittestfiles.pri) -include($$PWD/../../../src/shared/clang/clang_defines.pri) -include($$PWD/../../../src/tools/clangbackend/source/clangbackendclangipc-source.pri) -include($$PWD/../../../src/plugins/clangcodemodel/clangcodemodelunittestfiles.pri) -} else { -DEFINES += CLANG_VERSION=\\\"6.0.0\\\" -DEFINES += "\"CLANG_INCLUDE_DIR=\\\"/usr/include\\\"\"" -} - -INCLUDEPATH += \ - $$PWD/../../../src/libs \ - $$PWD/../../../src/libs/3rdparty \ - $$PWD/../../../src/plugins diff --git a/tests/unit/unittest/gmock_dependency.pri b/tests/unit/unittest/gmock_dependency.pri deleted file mode 100644 index 614c6379d3..0000000000 --- a/tests/unit/unittest/gmock_dependency.pri +++ /dev/null @@ -1,61 +0,0 @@ -isEmpty(GOOGLETEST_DIR):GOOGLETEST_DIR=$$(GOOGLETEST_DIR) - - -defineTest(setGoogleTestDirectories) { - DIRECTORY = $$1 - GTEST_INCLUDE_DIR = $$DIRECTORY/googletest - GMOCK_INCLUDE_DIR = $$DIRECTORY/googlemock - GTEST_SRC_DIR = $$GTEST_INCLUDE_DIR - GMOCK_SRC_DIR = $$GMOCK_INCLUDE_DIR - export(GTEST_INCLUDE_DIR) - export(GMOCK_INCLUDE_DIR) - export(GTEST_SRC_DIR) - export(GMOCK_SRC_DIR) -} - -isEmpty(GOOGLETEST_DIR) { - exists($$PWD/3rdparty/googletest) { - setGoogleTestDirectories($$PWD/3rdparty/googletest) - } else: linux { - GTEST_INCLUDE_DIR = /usr/include/gtest - GMOCK_INCLUDE_DIR = /usr/include/gmock - GTEST_SRC_DIR = /usr/src/gtest - GMOCK_SRC_DIR = /usr/src/gmock - } -} else { - setGoogleTestDirectories($$GOOGLETEST_DIR) -} - -requires(exists($$GTEST_SRC_DIR):exists($$GMOCK_SRC_DIR)) -!exists($$GTEST_SRC_DIR):message("No gmock is found! To enable unit tests set GOOGLETEST_DIR") - -DEFINES += \ - GTEST_HAS_STD_INITIALIZER_LIST_ \ - GTEST_LANG_CXX11 \ - GTEST_HAS_STD_TUPLE_ \ - GTEST_HAS_STD_TYPE_TRAITS_ \ - GTEST_HAS_STD_FUNCTION_ \ - GTEST_HAS_RTTI \ - GTEST_HAS_STD_BEGIN_AND_END_ \ - GTEST_HAS_STD_UNIQUE_PTR_ \ - GTEST_HAS_EXCEPTIONS \ - GTEST_HAS_STREAM_REDIRECTION \ - GTEST_HAS_TYPED_TEST \ - GTEST_HAS_TYPED_TEST_P \ - GTEST_HAS_PARAM_TEST \ - GTEST_HAS_DEATH_TEST - -INCLUDEPATH *= \ - $$GTEST_INCLUDE_DIR \ - $$GTEST_INCLUDE_DIR/include \ - $$GTEST_SRC_DIR \ - $$GMOCK_INCLUDE_DIR \ - $$GMOCK_INCLUDE_DIR/include \ - $$GMOCK_SRC_DIR - -SOURCES += \ - $$GMOCK_SRC_DIR/src/gmock-all.cc \ - $$GTEST_SRC_DIR/src/gtest-all.cc - -HEADERS += \ - $$PWD/gtest-qt-printing.h diff --git a/tests/unit/unittest/unittest.pro b/tests/unit/unittest/unittest.pro deleted file mode 100644 index 58677b4263..0000000000 --- a/tests/unit/unittest/unittest.pro +++ /dev/null @@ -1,236 +0,0 @@ -INCLUDEPATH += ../mockup -INCLUDEPATH += ../mockup/qmldesigner/designercore/include - -QT += core network testlib widgets -CONFIG += console c++17 testcase -CONFIG -= app_bundle shared - -QTC_UNITTEST_BUILD_CPP_PARSER = $$(QTC_UNITTEST_BUILD_CPP_PARSER) - -include(gmock_dependency.pri) -include(clang_dependency.pri) -include(creator_dependency.pri) -include(benchmark_dependency.pri) - -requires(isEmpty(QTC_CLANG_BUILDMODE_MISMATCH)) - -!msvc:force_debug_info:QMAKE_CXXFLAGS += -fno-omit-frame-pointer - -DEFINES += \ - QT_NO_CAST_TO_ASCII \ - QT_RESTRICTED_CAST_FROM_ASCII \ - QT_USE_QSTRINGBUILDER \ - UNIT_TESTS \ - DONT_CHECK_MESSAGE_COUNTER \ - QTC_RESOURCE_DIR=\"R\\\"xxx($$PWD/../../../share/qtcreator)xxx\\\"\" \ - TESTDATA_DIR=\"R\\\"xxx($$PWD/data)xxx\\\"\" -msvc: QMAKE_CXXFLAGS_WARN_ON -= -w34100 # 'unreferenced formal parameter' in MATCHER_* functions -win32:DEFINES += ECHOSERVER=\"R\\\"xxx($$OUT_PWD/../echo)xxx\\\"\" -unix: DEFINES += ECHOSERVER=\"R\\\"xxx($$OUT_PWD/../echoserver/echo)xxx\\\"\" - -RELATIVE_DATA_PATH = ../../../share/qtcreator -DEFINES += $$shell_quote(RELATIVE_DATA_PATH=\"$$RELATIVE_DATA_PATH\") - -win32 { - RELATIVE_LIBEXEC_PATH = . -} else: macos { - RELATIVE_LIBEXEC_PATH = ../Resources/libexec -} else { - RELATIVE_LIBEXEC_PATH = ../libexec/qtcreator -} -DEFINES += $$shell_quote(RELATIVE_LIBEXEC_PATH=\"$$RELATIVE_LIBEXEC_PATH\") - -linux { -QMAKE_LFLAGS_RELEASE = #disable optimization -QMAKE_LFLAGS += -fno-merge-debug-strings -fuse-ld=gold -CONFIG(release, debug|release):QMAKE_LFLAGS += -Wl,--strip-debug -} - -CONFIG(debug, debug|release): DEFINES += SQLITE_DEBUG - - -gcc:!clang: QMAKE_CXXFLAGS += -Wno-noexcept-type -msvc{ -QMAKE_CXXFLAGS += /bigobj /wd4267 /wd4141 /wd4146 /wd4624 -QMAKE_LFLAGS += /INCREMENTAL - -} - -TEST_RELATIVE_LIBEXEC_PATH = $$relative_path($$IDE_LIBEXEC_PATH, $$OUT_PWD) -win32:TEST_RELATIVE_LIBEXEC_PATH=../$$TEST_RELATIVE_LIBEXEC_PATH -DEFINES += 'TEST_RELATIVE_LIBEXEC_PATH="\\\"$$TEST_RELATIVE_LIBEXEC_PATH\\\""' - -SOURCES += \ - clientserverinprocess-test.cpp \ - clientserveroutsideprocess-test.cpp \ - fakeprocess.cpp \ - gtest-creator-printing.cpp \ - gtest-qt-printing.cpp \ - asynchronousimagecache-test.cpp \ - nodelistproperty-test.cpp \ - projectstoragesqlitefunctionregistry-test.cpp \ - storagecache-test.cpp \ - sqlitealgorithms-test.cpp \ - synchronousimagecache-test.cpp \ - imagecachegenerator-test.cpp \ - imagecachestorage-test.cpp \ - lastchangedrowid-test.cpp \ - lineprefixer-test.cpp \ - listmodeleditor-test.cpp \ - processevents-utilities.cpp \ - readandwritemessageblock-test.cpp \ - sizedarray-test.cpp \ - smallstring-test.cpp \ - spydummy.cpp \ - sqlitesessions-test.cpp \ - sqlitevalue-test.cpp \ - eventspy.cpp \ - unittests-main.cpp \ - utf8-test.cpp \ - sqliteindex-test.cpp \ - sqlitetransaction-test.cpp \ - processcreator-test.cpp \ - mocktimer.cpp \ - sqlitecolumn-test.cpp \ - sqlitedatabasebackend-test.cpp \ - sqlitedatabase-test.cpp \ - sqlitestatement-test.cpp \ - sqlitetable-test.cpp \ - sqlstatementbuilder-test.cpp \ - createtablesqlstatementbuilder-test.cpp \ - sqlitereadstatementmock.cpp \ - sqlitewritestatementmock.cpp \ - sqlitereadwritestatementmock.cpp \ - sourcepath-test.cpp \ - sourcepathview-test.cpp \ - projectstorage-test.cpp \ - sourcepathcache-test.cpp - -!isEmpty(QTC_UNITTEST_BUILD_CPP_PARSER):SOURCES += matchingtext-test.cpp - -!isEmpty(LIBCLANG_LIBS) { -SOURCES += \ - chunksreportedmonitor.cpp \ - clangasyncjob-base.cpp \ - clangcodecompleteresults-test.cpp \ - clangcodemodelserver-test.cpp \ - clangcompletecodejob-test.cpp \ - clangdiagnosticfilter-test.cpp \ - clangdocumentprocessors-test.cpp \ - clangdocumentprocessor-test.cpp \ - clangdocuments-test.cpp \ - clangdocument-test.cpp \ - clangfixitoperation-test.cpp \ - clangfollowsymbol-test.cpp \ - clangisdiagnosticrelatedtolocation-test.cpp \ - clangjobqueue-test.cpp \ - clangjobs-test.cpp \ - clangparsesupportivetranslationunitjob-test.cpp \ - clangrequestannotationsjob-test.cpp \ - clangrequestreferencesjob-test.cpp \ - clangresumedocumentjob-test.cpp \ - clangstring-test.cpp \ - clangsupportivetranslationunitinitializer-test.cpp \ - clangsuspenddocumentjob-test.cpp \ - clangtooltipinfo-test.cpp \ - clangtranslationunits-test.cpp \ - clangtranslationunit-test.cpp \ - clangupdateannotationsjob-test.cpp \ - codecompleter-test.cpp \ - codecompletionsextractor-test.cpp \ - completionchunkstotextconverter-test.cpp \ - cursor-test.cpp \ - diagnosticset-test.cpp \ - diagnostic-test.cpp \ - fixit-test.cpp \ - gtest-clang-printing.cpp \ - highlightingresultreporter-test.cpp \ - skippedsourceranges-test.cpp \ - sourcelocation-test.cpp \ - sourcerange-test.cpp \ - token-test.cpp \ - tokenprocessor-test.cpp \ - translationunitupdater-test.cpp \ - unsavedfiles-test.cpp \ - unsavedfile-test.cpp \ - utf8positionfromlinecolumn-test.cpp \ - clangreferencescollector-test.cpp \ - clangdocumentsuspenderresumer-test.cpp \ - readexporteddiagnostics-test.cpp - -!isEmpty(QTC_UNITTEST_BUILD_CPP_PARSER):SOURCE += \ - clangcompletioncontextanalyzer-test.cpp \ - activationsequencecontextprocessor-test.cpp \ - activationsequenceprocessor-test.cpp - -} - -!isEmpty(LIBTOOLING_LIBS) { -SOURCES += \ - gtest-llvm-printing.cpp \ -} - -!isEmpty(GOOGLEBENCHMARK_DIR):exists($$GOOGLEBENCHMARK_DIR) { -SOURCES += \ - smallstring-benchmark.cpp -} - -HEADERS += \ - abstractviewmock.h \ - compare-operators.h \ - conditionally-disabled-tests.h \ - dummyclangipcclient.h \ - dynamicastmatcherdiagnosticcontainer-matcher.h \ - eventspy.h \ - fakeprocess.h \ - filesystem-utilities.h \ - googletest.h \ - gtest-creator-printing.h \ - gtest-llvm-printing.h \ - gtest-qt-printing.h \ - gtest-std-printing.h \ - imagecachecollectormock.h \ - mockclangcodemodelclient.h \ - mockclangcodemodelserver.h \ - mockimagecachegenerator.h \ - mockimagecachestorage.h \ - mocklistmodeleditorview.h \ - mockqfilesystemwatcher.h \ - mocksyntaxhighligher.h \ - mocktimestampprovider.h \ - notification.h \ - processevents-utilities.h \ - sourcerangecontainer-matcher.h \ - spydummy.h \ - google-using-declarations.h \ - sqliteteststatement.h \ - mockmutex.h \ - mocksqlitestatement.h \ - unittest-utility-functions.h \ - rundocumentparse-utility.h \ - mocktimer.h \ - mocksqlitetransactionbackend.h \ - mockqueue.h \ - mockfutureinterface.h \ - ../mockup/qmldesigner/designercore/include/nodeinstanceview.h \ - ../mockup/qmldesigner/designercore/include/rewriterview.h \ - ../mockup/qmldesigner/designercore/include/itemlibraryitem.h\ - sqlitedatabasemock.h \ - sqlitereadstatementmock.h \ - sqlitestatementmock.h \ - sqlitetransactionbackendmock.h \ - sqlitewritestatementmock.h \ - sqlitereadwritestatementmock.h \ - projectstoragemock.h - - -!isEmpty(LIBCLANG_LIBS) { -HEADERS += \ - chunksreportedmonitor.h \ - clangasyncjob-base.h \ - clangcompareoperators.h \ - diagnosticcontainer-matcher.h \ - gtest-clang-printing.h -} - -OTHER_FILES += $$files(data/*) $$files(data/include/*) |