From 4e14f6e70abb4a02a570a390f462736666b234a7 Mon Sep 17 00:00:00 2001 From: Leander Beernaert Date: Wed, 7 Aug 2019 16:25:52 +0200 Subject: Add QtDeclarative Test Coverage All tests compile and run on a developer build. These tests are failing: tst_qqmlsqldatabase Fails due to missing sql driver tst_qqmlsqldatabase Fails in wip/qt6 tst_ququicklayouts Fails in wip/qt6 tst_flickableinterop Fails in wip/qt6 tst_qquickpinchandler Fails in wip/qt6 tst_qquickflickable Fails in wip/qt6 tst_qquickgridview Fails in wip/qt6 tst_qquickimage Fails due to missing jpeg plugin tst_qquicklistview Fails in wip/qt6 tst_qquicktext Fails in wip/qt6 tst_qquickcanvasitem Fails in wip/qt6 tst_scenegraph Fails due to missing jpeg plugin tst_TestFiltering Fails in wip/qt6 Change-Id: I4b9d69c118e23c095cb72ad5a67653fc30943bb1 Reviewed-by: Alexandru Croitor --- tests/auto/qml/debugger/CMakeLists.txt | 21 ++++++++ .../debugger/qdebugmessageservice/CMakeLists.txt | 54 ++++++++++++++++++++ .../qml/debugger/qpacketprotocol/CMakeLists.txt | 44 ++++++++++++++++ .../qml/debugger/qqmldebugclient/CMakeLists.txt | 43 ++++++++++++++++ .../debugger/qqmldebuggingenabler/CMakeLists.txt | 4 ++ .../qqmldebuggingenabler/CMakeLists.txt | 45 +++++++++++++++++ .../qqmldebuggingenablerserver/CMakeLists.txt | 33 ++++++++++++ tests/auto/qml/debugger/qqmldebugjs/CMakeLists.txt | 53 ++++++++++++++++++++ .../qml/debugger/qqmldebugjsserver/CMakeLists.txt | 32 ++++++++++++ .../qml/debugger/qqmldebuglocal/CMakeLists.txt | 48 ++++++++++++++++++ .../qml/debugger/qqmldebugprocess/CMakeLists.txt | 4 ++ .../qqmldebugprocess/CMakeLists.txt | 23 +++++++++ .../qqmldebugprocessprocess/CMakeLists.txt | 27 ++++++++++ .../qml/debugger/qqmldebugservice/CMakeLists.txt | 58 ++++++++++++++++++++++ .../qml/debugger/qqmlenginecontrol/CMakeLists.txt | 53 ++++++++++++++++++++ .../CMakeLists.txt | 52 +++++++++++++++++++ .../debugger/qqmlenginedebugservice/CMakeLists.txt | 46 +++++++++++++++++ .../auto/qml/debugger/qqmlinspector/CMakeLists.txt | 52 +++++++++++++++++++ .../debugger/qqmlnativeconnector/CMakeLists.txt | 22 ++++++++ tests/auto/qml/debugger/qqmlpreview/CMakeLists.txt | 54 ++++++++++++++++++++ .../debugger/qqmlprofilerservice/CMakeLists.txt | 52 +++++++++++++++++++ tests/auto/qml/debugger/qv4debugger/CMakeLists.txt | 33 ++++++++++++ 22 files changed, 853 insertions(+) create mode 100644 tests/auto/qml/debugger/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qdebugmessageservice/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qpacketprotocol/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmldebugclient/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmldebuggingenabler/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenabler/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenablerserver/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmldebugjs/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmldebugjsserver/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmldebuglocal/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmldebugprocess/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocess/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocessprocess/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmldebugservice/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmlenginecontrol/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmlenginedebuginspectorintegrationtest/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmlenginedebugservice/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmlinspector/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmlnativeconnector/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmlpreview/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qqmlprofilerservice/CMakeLists.txt create mode 100644 tests/auto/qml/debugger/qv4debugger/CMakeLists.txt (limited to 'tests/auto/qml/debugger') diff --git a/tests/auto/qml/debugger/CMakeLists.txt b/tests/auto/qml/debugger/CMakeLists.txt new file mode 100644 index 0000000000..7c0bd2e1cb --- /dev/null +++ b/tests/auto/qml/debugger/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from debugger.pro. + +add_subdirectory(qqmldebugjsserver) +add_subdirectory(qdebugmessageservice) +add_subdirectory(qqmlenginedebugservice) +add_subdirectory(qqmldebugjs) +add_subdirectory(qqmlinspector) +add_subdirectory(qqmlprofilerservice) +add_subdirectory(qpacketprotocol) +add_subdirectory(qqmlenginedebuginspectorintegrationtest) +add_subdirectory(qqmlenginecontrol) +add_subdirectory(qqmldebuggingenabler) +add_subdirectory(qqmlnativeconnector) +add_subdirectory(qqmldebugprocess) +add_subdirectory(qqmlpreview) +if(QT_FEATURE_private_tests) + add_subdirectory(qqmldebugclient) + add_subdirectory(qqmldebuglocal) + add_subdirectory(qqmldebugservice) + add_subdirectory(qv4debugger) +endif() diff --git a/tests/auto/qml/debugger/qdebugmessageservice/CMakeLists.txt b/tests/auto/qml/debugger/qdebugmessageservice/CMakeLists.txt new file mode 100644 index 0000000000..26b9635206 --- /dev/null +++ b/tests/auto/qml/debugger/qdebugmessageservice/CMakeLists.txt @@ -0,0 +1,54 @@ +# Generated from qdebugmessageservice.pro. + +##################################################################### +## tst_qdebugmessageservice Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qdebugmessageservice + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + tst_qdebugmessageservice.cpp + INCLUDE_DIRECTORIES + ../../../shared + ../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlDebugPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::QmlDebug + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qdebugmessageservice.pro:: +# CONFIG = "testcase" +# OTHER_FILES = "data/test.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qdebugmessageservice.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qdebugmessageservice CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qdebugmessageservice CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qpacketprotocol/CMakeLists.txt b/tests/auto/qml/debugger/qpacketprotocol/CMakeLists.txt new file mode 100644 index 0000000000..08f8ae3694 --- /dev/null +++ b/tests/auto/qml/debugger/qpacketprotocol/CMakeLists.txt @@ -0,0 +1,44 @@ +# Generated from qpacketprotocol.pro. + +##################################################################### +## tst_qpacketprotocol Test: +##################################################################### + +add_qt_test(tst_qpacketprotocol + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + tst_qpacketprotocol.cpp + INCLUDE_DIRECTORIES + ../../../shared + ../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlDebugPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::QmlDebug +) + +#### Keys ignored in scope 1:.:.:qpacketprotocol.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qpacketprotocol.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qpacketprotocol CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qpacketprotocol CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmldebugclient/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugclient/CMakeLists.txt new file mode 100644 index 0000000000..4e52ab57cf --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebugclient/CMakeLists.txt @@ -0,0 +1,43 @@ +# Generated from qqmldebugclient.pro. + +##################################################################### +## tst_qqmldebugclient Test: +##################################################################### + +add_qt_test(tst_qqmldebugclient + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + ../shared/qqmldebugtestservice.cpp ../shared/qqmldebugtestservice.h + tst_qqmldebugclient.cpp + DEFINES + QT_QML_DEBUG + QT_QML_DEBUG_NO_WARNING + INCLUDE_DIRECTORIES + ../../../shared + ../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlDebugPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlDebug +) + +## Scopes: +##################################################################### + +extend_target(tst_qqmldebugclient CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmldebugclient CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmldebuggingenabler/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebuggingenabler/CMakeLists.txt new file mode 100644 index 0000000000..8ba39c1d93 --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebuggingenabler/CMakeLists.txt @@ -0,0 +1,4 @@ +# Generated from qqmldebuggingenabler.pro. + +add_subdirectory(qqmldebuggingenabler) +add_subdirectory(qqmldebuggingenablerserver) diff --git a/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenabler/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenabler/CMakeLists.txt new file mode 100644 index 0000000000..59a5aa9fa1 --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenabler/CMakeLists.txt @@ -0,0 +1,45 @@ +# Generated from qqmldebuggingenabler.pro. + +##################################################################### +## tst_qqmldebuggingenabler Test: +##################################################################### + +add_qt_test(tst_qqmldebuggingenabler + GUI + SOURCES + ../../../../shared/util.cpp ../../../../shared/util.h + ../../shared/debugutil.cpp ../../shared/debugutil_p.h + ../../shared/qqmldebugprocess.cpp ../../shared/qqmldebugprocess_p.h + tst_qqmldebuggingenabler.cpp + INCLUDE_DIRECTORIES + ../../../../shared + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlDebugPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlDebug +) + +#### Keys ignored in scope 1:.:.:qqmldebuggingenabler.pro:: +# CONFIG = "testcase" "-debug_and_release_target" +# OTHER_FILES = "data/test.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmldebuggingenabler.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmldebuggingenabler CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmldebuggingenabler CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenablerserver/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenablerserver/CMakeLists.txt new file mode 100644 index 0000000000..602d1afd20 --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenablerserver/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from qqmldebuggingenablerserver.pro. + +##################################################################### +## qqmldebuggingenablerserver Binary: +##################################################################### + +add_qt_executable(qqmldebuggingenablerserver + GUI + # special case begin + # Remove OUTPUT_DIRECTORY and INSTALL_DIRECTORY with $$[QT_INSTALL_TESTS] + # as these are invalid + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../qqmldebuggingenabler" + # special case end + SOURCES + qqmldebuggingenablerserver.cpp + DEFINES + QT_QML_DEBUG_NO_WARNING + INCLUDE_DIRECTORIES + ../../shared + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qqmldebuggingenablerserver.pro:: +# CONFIG = "-debug_and_release_target" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmldebuggingenablerserver.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/debugger/qqmldebugjs/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugjs/CMakeLists.txt new file mode 100644 index 0000000000..79279f1622 --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebugjs/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qqmldebugjs.pro. + +##################################################################### +## tst_qqmldebugjs Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmldebugjs + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + tst_qqmldebugjs.cpp + INCLUDE_DIRECTORIES + ../../../shared + ../shared ../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlDebugPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::QmlDebug + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmldebugjs.pro:: +# CONFIG = "testcase" +# OTHER_FILES = "data/test.qml" "data/test.js" "data/timer.qml" "data/exception.qml" "data/oncompleted.qml" "data/loadjsfile.qml" "data/condition.qml" "data/changeBreakpoint.qml" "data/stepAction.qml" "data/breakpointRelocation.qml" "data/createComponent.qml" "data/encodeQmlScope.qml" "data/breakOnAnchor.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmldebugjs.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmldebugjs CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmldebugjs CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmldebugjsserver/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugjsserver/CMakeLists.txt new file mode 100644 index 0000000000..3de762f331 --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebugjsserver/CMakeLists.txt @@ -0,0 +1,32 @@ +# Generated from qqmldebugjsserver.pro. + +##################################################################### +## qqmldebugjsserver Binary: +##################################################################### + +# special case begin +# Remove INSTALL_DIRECTORY and INSTALL_DIRECTORY from this test a +# use the one from special case instead +# special case end +add_qt_executable(qqmldebugjsserver + GUI + # special case begin + OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} + # special case end + SOURCES + qqmldebugjsserver.cpp + DEFINES + QT_QML_DEBUG_NO_WARNING + INCLUDE_DIRECTORIES + ../shared + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Test +) + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmldebugjsserver.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/debugger/qqmldebuglocal/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebuglocal/CMakeLists.txt new file mode 100644 index 0000000000..b4ba42d140 --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebuglocal/CMakeLists.txt @@ -0,0 +1,48 @@ +# Generated from qqmldebuglocal.pro. + +##################################################################### +## tst_qqmldebuglocal Test: +##################################################################### + +add_qt_test(tst_qqmldebuglocal + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + ../shared/qqmldebugtestservice.cpp ../shared/qqmldebugtestservice.h + tst_qqmldebuglocal.cpp + DEFINES + QT_QML_DEBUG_NO_WARNING + INCLUDE_DIRECTORIES + ../../../shared + ../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlDebugPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlDebug +) + +#### Keys ignored in scope 1:.:.:qqmldebuglocal.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmldebuglocal.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmldebuglocal CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmldebuglocal CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmldebugprocess/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugprocess/CMakeLists.txt new file mode 100644 index 0000000000..41482ab37c --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebugprocess/CMakeLists.txt @@ -0,0 +1,4 @@ +# Generated from qqmldebugprocess.pro. + +add_subdirectory(qqmldebugprocess) +add_subdirectory(qqmldebugprocessprocess) diff --git a/tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocess/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocess/CMakeLists.txt new file mode 100644 index 0000000000..3af7cb42bb --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocess/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from qqmldebugprocess.pro. + +##################################################################### +## tst_qqmldebugprocess Test: +##################################################################### + +add_qt_test(tst_qqmldebugprocess + GUI + SOURCES + ../../shared/qqmldebugprocess.cpp ../../shared/qqmldebugprocess_p.h + tst_qqmldebugprocess.cpp + INCLUDE_DIRECTORIES + ../../shared +) + +#### Keys ignored in scope 1:.:.:qqmldebugprocess.pro:: +# CONFIG = "testcase" "-debug_and_release_target" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmldebugprocess.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocessprocess/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocessprocess/CMakeLists.txt new file mode 100644 index 0000000000..3a1bbae9f4 --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocessprocess/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from qqmldebugprocessprocess.pro. + +##################################################################### +## qqmldebugprocessprocess Binary: +##################################################################### + +# special case begin +# Remove OUTPUT_DIRECTORY and INSTALL_DIRECTORY which start with +# $$[QT_INSTALL_TESTS] +# special case end + +add_qt_executable(qqmldebugprocessprocess +# special case begin + OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../qqmldebugprocess" +# special case end + SOURCES + qqmldebugprocessprocess.cpp +) + +#### Keys ignored in scope 1:.:.:qqmldebugprocessprocess.pro:: +# CONFIG = "-debug_and_release_target" "console" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmldebugprocessprocess.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/debugger/qqmldebugservice/CMakeLists.txt b/tests/auto/qml/debugger/qqmldebugservice/CMakeLists.txt new file mode 100644 index 0000000000..0e93b2b55f --- /dev/null +++ b/tests/auto/qml/debugger/qqmldebugservice/CMakeLists.txt @@ -0,0 +1,58 @@ +# Generated from qqmldebugservice.pro. + +##################################################################### +## tst_qqmldebugservice Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmldebugservice + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + ../shared/qqmldebugtestservice.cpp ../shared/qqmldebugtestservice.h + tst_qqmldebugservice.cpp + DEFINES + QT_QML_DEBUG_NO_WARNING + INCLUDE_DIRECTORIES + ../../../shared + ../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlDebugPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlDebug + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmldebugservice.pro:: +# CONFIG = "testcase" +# OTHER_FILES = "data/test.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmldebugservice.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmldebugservice CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmldebugservice CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmlenginecontrol/CMakeLists.txt b/tests/auto/qml/debugger/qqmlenginecontrol/CMakeLists.txt new file mode 100644 index 0000000000..6c2da84ce8 --- /dev/null +++ b/tests/auto/qml/debugger/qqmlenginecontrol/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qqmlenginecontrol.pro. + +##################################################################### +## tst_qqmlenginecontrol Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlenginecontrol + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + tst_qqmlenginecontrol.cpp + INCLUDE_DIRECTORIES + ../../../shared + ../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlDebugPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::QmlDebug + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlenginecontrol.pro:: +# CONFIG = "testcase" +# OTHER_FILES = "data/test.qml" "data/exit.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlenginecontrol.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlenginecontrol CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlenginecontrol CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmlenginedebuginspectorintegrationtest/CMakeLists.txt b/tests/auto/qml/debugger/qqmlenginedebuginspectorintegrationtest/CMakeLists.txt new file mode 100644 index 0000000000..0b3a8e8ffc --- /dev/null +++ b/tests/auto/qml/debugger/qqmlenginedebuginspectorintegrationtest/CMakeLists.txt @@ -0,0 +1,52 @@ +# Generated from qqmlenginedebuginspectorintegrationtest.pro. + +##################################################################### +## tst_qqmlenginedebuginspectorintegration Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlenginedebuginspectorintegration + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + tst_qqmlenginedebuginspectorintegration.cpp + INCLUDE_DIRECTORIES + ../../../shared + ../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlDebugPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::QmlDebug + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlenginedebuginspectorintegrationtest.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlenginedebuginspectorintegrationtest.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlenginedebuginspectorintegration CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlenginedebuginspectorintegration CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmlenginedebugservice/CMakeLists.txt b/tests/auto/qml/debugger/qqmlenginedebugservice/CMakeLists.txt new file mode 100644 index 0000000000..9235577d89 --- /dev/null +++ b/tests/auto/qml/debugger/qqmlenginedebugservice/CMakeLists.txt @@ -0,0 +1,46 @@ +# Generated from qqmlenginedebugservice.pro. + +##################################################################### +## tst_qqmlenginedebugservice Test: +##################################################################### + +add_qt_test(tst_qqmlenginedebugservice + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + tst_qqmlenginedebugservice.cpp + DEFINES + QT_QML_DEBUG_NO_WARNING + INCLUDE_DIRECTORIES + ../../../shared + ../shared + LIBRARIES + Qt::QmlDebugPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlDebug + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:qqmlenginedebugservice.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlenginedebugservice.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlenginedebugservice CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlenginedebugservice CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmlinspector/CMakeLists.txt b/tests/auto/qml/debugger/qqmlinspector/CMakeLists.txt new file mode 100644 index 0000000000..470d46880a --- /dev/null +++ b/tests/auto/qml/debugger/qqmlinspector/CMakeLists.txt @@ -0,0 +1,52 @@ +# Generated from qqmlinspector.pro. + +##################################################################### +## tst_qqmlinspector Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlinspector + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + tst_qqmlinspector.cpp + INCLUDE_DIRECTORIES + ../../../shared + ../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlDebugPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::QmlDebug + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlinspector.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlinspector.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlinspector CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlinspector CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmlnativeconnector/CMakeLists.txt b/tests/auto/qml/debugger/qqmlnativeconnector/CMakeLists.txt new file mode 100644 index 0000000000..117417baf7 --- /dev/null +++ b/tests/auto/qml/debugger/qqmlnativeconnector/CMakeLists.txt @@ -0,0 +1,22 @@ +# Generated from qqmlnativeconnector.pro. + +##################################################################### +## tst_qqmlnativeconnector Test: +##################################################################### + +add_qt_test(tst_qqmlnativeconnector + GUI + SOURCES + tst_qqmlnativeconnector.cpp + DEFINES + QT_QML_DEBUG + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +## Scopes: +##################################################################### diff --git a/tests/auto/qml/debugger/qqmlpreview/CMakeLists.txt b/tests/auto/qml/debugger/qqmlpreview/CMakeLists.txt new file mode 100644 index 0000000000..fb8deee316 --- /dev/null +++ b/tests/auto/qml/debugger/qqmlpreview/CMakeLists.txt @@ -0,0 +1,54 @@ +# Generated from qqmlpreview.pro. + +##################################################################### +## tst_qqmlpreview Test: +##################################################################### + +# Collect test data +list(APPEND test_data "data/window.qml") +list(APPEND test_data "data/qtquick2.qml") +list(APPEND test_data "data/window2.qml") +list(APPEND test_data "data/window1.qml") +list(APPEND test_data "data/broken.qml") +list(APPEND test_data "data/zoom.qml") +list(APPEND test_data "data/i18n/qml_fr_FR.qm") + +add_qt_test(tst_qqmlpreview + GUI + SOURCES + ../../../../../src/plugins/qmltooling/qmldbg_preview/qqmlpreviewblacklist.cpp ../../../../../src/plugins/qmltooling/qmldbg_preview/qqmlpreviewblacklist.h + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + tst_qqmlpreview.cpp + INCLUDE_DIRECTORIES + ../../../../../src/plugins/qmltooling/qmldbg_preview + ../../../shared + ../shared + LIBRARIES + Qt::QmlDebugPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::QmlDebug + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlpreview.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlpreview.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlpreview CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlpreview CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qqmlprofilerservice/CMakeLists.txt b/tests/auto/qml/debugger/qqmlprofilerservice/CMakeLists.txt new file mode 100644 index 0000000000..4ddb2cadbd --- /dev/null +++ b/tests/auto/qml/debugger/qqmlprofilerservice/CMakeLists.txt @@ -0,0 +1,52 @@ +# Generated from qqmlprofilerservice.pro. + +##################################################################### +## tst_qqmlprofilerservice Test: +##################################################################### + +# Collect test data + +file(GLOB test_data_glob + LIST_DIRECTORIES true + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + "data/*") +list(APPEND test_data ${test_data_glob}) + +add_qt_test(tst_qqmlprofilerservice + GUI + SOURCES + ../../../shared/util.cpp ../../../shared/util.h + ../shared/debugutil.cpp ../shared/debugutil_p.h + ../shared/qqmldebugprocess.cpp ../shared/qqmldebugprocess_p.h + tst_qqmlprofilerservice.cpp + INCLUDE_DIRECTORIES + ../../../shared + ../shared + LIBRARIES + Qt::GuiPrivate + Qt::QmlDebugPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::QmlDebug + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qqmlprofilerservice.pro:: +# CONFIG = "testcase" +# OTHER_FILES = "data/pixmapCacheTest.qml" "data/controlFromJS.qml" "data/test.qml" "data/exit.qml" "data/scenegraphTest.qml" "data/TestImage_2x2.png" "data/signalSourceLocation.qml" "data/javascript.qml" "data/timer.qml" "data/qstr.qml" "data/memory.qml" "data/batchOverflow.qml" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlprofilerservice.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlprofilerservice CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlprofilerservice CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) diff --git a/tests/auto/qml/debugger/qv4debugger/CMakeLists.txt b/tests/auto/qml/debugger/qv4debugger/CMakeLists.txt new file mode 100644 index 0000000000..a0e474578c --- /dev/null +++ b/tests/auto/qml/debugger/qv4debugger/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from qv4debugger.pro. + +##################################################################### +## tst_qv4debugger Test: +##################################################################### + +add_qt_test(tst_qv4debugger + GUI + SOURCES + ../../../../../src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.cpp ../../../../../src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.h + ../../../../../src/plugins/qmltooling/qmldbg_debugger/qv4debugger.cpp ../../../../../src/plugins/qmltooling/qmldbg_debugger/qv4debugger.h + ../../../../../src/plugins/qmltooling/qmldbg_debugger/qv4debugjob.cpp ../../../../../src/plugins/qmltooling/qmldbg_debugger/qv4debugjob.h + tst_qv4debugger.cpp + INCLUDE_DIRECTORIES + ../../../../../src/plugins/qmltooling/qmldbg_debugger + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Network + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qv4debugger.pro:: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qv4debugger.pro:APPLE_OSX: +# CONFIG = "-app_bundle" -- cgit v1.2.3