aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/debugger
diff options
context:
space:
mode:
authorLeander Beernaert <leander.beernaert@qt.io>2019-08-07 16:25:52 +0200
committerLeander Beernaert <leander.beernaert@qt.io>2019-08-14 14:01:58 +0000
commit4e14f6e70abb4a02a570a390f462736666b234a7 (patch)
treeabd6ccb232ab16eabe1b41e6e76435ad248fb766 /tests/auto/qml/debugger
parent494dc05ea1758f2bee49ddb98712a030336acbd2 (diff)
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 <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/auto/qml/debugger')
-rw-r--r--tests/auto/qml/debugger/CMakeLists.txt21
-rw-r--r--tests/auto/qml/debugger/qdebugmessageservice/CMakeLists.txt54
-rw-r--r--tests/auto/qml/debugger/qpacketprotocol/CMakeLists.txt44
-rw-r--r--tests/auto/qml/debugger/qqmldebugclient/CMakeLists.txt43
-rw-r--r--tests/auto/qml/debugger/qqmldebuggingenabler/CMakeLists.txt4
-rw-r--r--tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenabler/CMakeLists.txt45
-rw-r--r--tests/auto/qml/debugger/qqmldebuggingenabler/qqmldebuggingenablerserver/CMakeLists.txt33
-rw-r--r--tests/auto/qml/debugger/qqmldebugjs/CMakeLists.txt53
-rw-r--r--tests/auto/qml/debugger/qqmldebugjsserver/CMakeLists.txt32
-rw-r--r--tests/auto/qml/debugger/qqmldebuglocal/CMakeLists.txt48
-rw-r--r--tests/auto/qml/debugger/qqmldebugprocess/CMakeLists.txt4
-rw-r--r--tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocess/CMakeLists.txt23
-rw-r--r--tests/auto/qml/debugger/qqmldebugprocess/qqmldebugprocessprocess/CMakeLists.txt27
-rw-r--r--tests/auto/qml/debugger/qqmldebugservice/CMakeLists.txt58
-rw-r--r--tests/auto/qml/debugger/qqmlenginecontrol/CMakeLists.txt53
-rw-r--r--tests/auto/qml/debugger/qqmlenginedebuginspectorintegrationtest/CMakeLists.txt52
-rw-r--r--tests/auto/qml/debugger/qqmlenginedebugservice/CMakeLists.txt46
-rw-r--r--tests/auto/qml/debugger/qqmlinspector/CMakeLists.txt52
-rw-r--r--tests/auto/qml/debugger/qqmlnativeconnector/CMakeLists.txt22
-rw-r--r--tests/auto/qml/debugger/qqmlpreview/CMakeLists.txt54
-rw-r--r--tests/auto/qml/debugger/qqmlprofilerservice/CMakeLists.txt52
-rw-r--r--tests/auto/qml/debugger/qv4debugger/CMakeLists.txt33
22 files changed, 853 insertions, 0 deletions
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:<TRUE>:
+# 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:<TRUE>:
+# 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:<TRUE>:
+# 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:<TRUE>:
+# 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:<TRUE>:
+# 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:<TRUE>:
+# 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:<TRUE>:
+# 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:<TRUE>:
+# 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:<TRUE>:
+# 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:<TRUE>:
+# 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:<TRUE>:
+# 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:<TRUE>:
+# 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:<TRUE>:
+# 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:<TRUE>:
+# 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:<TRUE>:
+# 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:<TRUE>:
+# CONFIG = "testcase"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 2:.:.:qv4debugger.pro:APPLE_OSX:
+# CONFIG = "-app_bundle"