summaryrefslogtreecommitdiffstats
path: root/tests/auto/quick3d
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick3d')
-rw-r--r--tests/auto/quick3d/3dcore/CMakeLists.txt38
-rw-r--r--tests/auto/quick3d/3dinput/CMakeLists.txt38
-rw-r--r--tests/auto/quick3d/3drender/CMakeLists.txt38
-rw-r--r--tests/auto/quick3d/CMakeLists.txt11
-rw-r--r--tests/auto/quick3d/dynamicnodecreation/CMakeLists.txt36
-rw-r--r--tests/auto/quick3d/quick3dbuffer/CMakeLists.txt19
-rw-r--r--tests/auto/quick3d/quick3dnode/CMakeLists.txt40
-rw-r--r--tests/auto/quick3d/quick3dnodeinstantiator/CMakeLists.txt36
8 files changed, 256 insertions, 0 deletions
diff --git a/tests/auto/quick3d/3dcore/CMakeLists.txt b/tests/auto/quick3d/3dcore/CMakeLists.txt
new file mode 100644
index 000000000..adb239788
--- /dev/null
+++ b/tests/auto/quick3d/3dcore/CMakeLists.txt
@@ -0,0 +1,38 @@
+# Generated from Qt::3DCore.pro.
+
+#####################################################################
+## tst_import3dcore Test:
+#####################################################################
+
+qt_add_test(tst_import3dcore
+ SOURCES
+ ../../render/qmlscenereader/qmlscenereader.cpp ../../render/qmlscenereader/qmlscenereader.h
+ tst_import3dcore.cpp
+ INCLUDE_DIRECTORIES
+ ../../render/qmlscenereader
+ PUBLIC_LIBRARIES
+ Qt::3DCore
+ Qt::3DCorePrivate
+ Qt::3DQuick
+ Qt::3DRender
+ Qt::3DRenderPrivate
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::Qml
+)
+
+# Resources:
+set(3dcore_resource_files
+ "3dcore.qml"
+)
+
+qt_add_resource(tst_import3dcore "Qt::3DCore"
+ PREFIX
+ "/"
+ FILES
+ ${3dcore_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:3dcore.pro:<TRUE>:
+# TEMPLATE = "app"
diff --git a/tests/auto/quick3d/3dinput/CMakeLists.txt b/tests/auto/quick3d/3dinput/CMakeLists.txt
new file mode 100644
index 000000000..52612a899
--- /dev/null
+++ b/tests/auto/quick3d/3dinput/CMakeLists.txt
@@ -0,0 +1,38 @@
+# Generated from 3dinput.pro.
+
+#####################################################################
+## tst_import3dinput Test:
+#####################################################################
+
+qt_add_test(tst_import3dinput
+ SOURCES
+ ../../render/qmlscenereader/qmlscenereader.cpp ../../render/qmlscenereader/qmlscenereader.h
+ tst_import3dinput.cpp
+ INCLUDE_DIRECTORIES
+ ../../render/qmlscenereader
+ PUBLIC_LIBRARIES
+ Qt::3DCore
+ Qt::3DCorePrivate
+ Qt::3DQuick
+ Qt::3DRender
+ Qt::3DRenderPrivate
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::Qml
+)
+
+# Resources:
+set(3dinput_resource_files
+ "3dinput.qml"
+)
+
+qt_add_resource(tst_import3dinput "3dinput"
+ PREFIX
+ "/"
+ FILES
+ ${3dinput_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:3dinput.pro:<TRUE>:
+# TEMPLATE = "app"
diff --git a/tests/auto/quick3d/3drender/CMakeLists.txt b/tests/auto/quick3d/3drender/CMakeLists.txt
new file mode 100644
index 000000000..68196ca4d
--- /dev/null
+++ b/tests/auto/quick3d/3drender/CMakeLists.txt
@@ -0,0 +1,38 @@
+# Generated from 3drender.pro.
+
+#####################################################################
+## tst_import3drender Test:
+#####################################################################
+
+qt_add_test(tst_import3drender
+ SOURCES
+ ../../render/qmlscenereader/qmlscenereader.cpp ../../render/qmlscenereader/qmlscenereader.h
+ tst_import3drender.cpp
+ INCLUDE_DIRECTORIES
+ ../../render/qmlscenereader
+ PUBLIC_LIBRARIES
+ Qt::3DCore
+ Qt::3DCorePrivate
+ Qt::3DQuick
+ Qt::3DRender
+ Qt::3DRenderPrivate
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::Qml
+)
+
+# Resources:
+set( 3drender_resource_files
+ "3drender.qml"
+)
+
+qt_add_resource(tst_import3drender "3drender"
+ PREFIX
+ "/"
+ FILES
+ ${3drender_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:3drender.pro:<TRUE>:
+# TEMPLATE = "app"
diff --git a/tests/auto/quick3d/CMakeLists.txt b/tests/auto/quick3d/CMakeLists.txt
new file mode 100644
index 000000000..504b7b2e9
--- /dev/null
+++ b/tests/auto/quick3d/CMakeLists.txt
@@ -0,0 +1,11 @@
+# Generated from quick3d.pro.
+
+if(QT_FEATURE_private_tests)
+ add_subdirectory(quick3dnodeinstantiator)
+ add_subdirectory(dynamicnodecreation)
+ add_subdirectory(3drender)
+ add_subdirectory(3dinput)
+ add_subdirectory(3dcore)
+ add_subdirectory(quick3dbuffer)
+ add_subdirectory(quick3dnode)
+endif()
diff --git a/tests/auto/quick3d/dynamicnodecreation/CMakeLists.txt b/tests/auto/quick3d/dynamicnodecreation/CMakeLists.txt
new file mode 100644
index 000000000..a90760be4
--- /dev/null
+++ b/tests/auto/quick3d/dynamicnodecreation/CMakeLists.txt
@@ -0,0 +1,36 @@
+# Generated from dynamicnodecreation.pro.
+
+#####################################################################
+## tst_dynamicnodecreation Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_dynamicnodecreation
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ tst_dynamicnodecreation.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::3DCore
+ Qt::3DCorePrivate
+ Qt::3DQuick
+ Qt::3DQuickPrivate
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:dynamicnodecreation.pro:<TRUE>:
+# OTHER_FILES = "data/createDynamicChild.qml" "data/createMultiple.qml" "data/createSingle.qml" "data/inactive.qml" "data/dynamicEntity.qml"
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/quick3d/quick3dbuffer/CMakeLists.txt b/tests/auto/quick3d/quick3dbuffer/CMakeLists.txt
new file mode 100644
index 000000000..5c1667ae2
--- /dev/null
+++ b/tests/auto/quick3d/quick3dbuffer/CMakeLists.txt
@@ -0,0 +1,19 @@
+# Generated from quick3dbuffer.pro.
+
+#####################################################################
+## tst_quick3dbuffer Test:
+#####################################################################
+
+qt_add_test(tst_quick3dbuffer
+ SOURCES
+ tst_quick3dbuffer.cpp
+ PUBLIC_LIBRARIES
+ Qt::3DCore
+ Qt::3DCorePrivate
+ Qt::3DQuick
+ Qt::3DQuickPrivate
+ Qt::Gui
+)
+
+#### Keys ignored in scope 1:.:.:quick3dbuffer.pro:<TRUE>:
+# TEMPLATE = "app"
diff --git a/tests/auto/quick3d/quick3dnode/CMakeLists.txt b/tests/auto/quick3d/quick3dnode/CMakeLists.txt
new file mode 100644
index 000000000..520cec50a
--- /dev/null
+++ b/tests/auto/quick3d/quick3dnode/CMakeLists.txt
@@ -0,0 +1,40 @@
+# Generated from quick3dnode.pro.
+
+#####################################################################
+## tst_quick3dnode Test:
+#####################################################################
+
+qt_add_test(tst_quick3dnode
+ SOURCES
+ ../../render/qmlscenereader/qmlscenereader.cpp ../../render/qmlscenereader/qmlscenereader.h
+ tst_quick3dnode.cpp
+ INCLUDE_DIRECTORIES
+ ../../render/qmlscenereader
+ PUBLIC_LIBRARIES
+ Qt::3DCore
+ Qt::3DCorePrivate
+ Qt::3DQuick
+ Qt::3DQuickPrivate
+ Qt::3DQuickRenderPrivate
+ Qt::3DRender
+ Qt::3DRenderPrivate
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::Qml
+)
+
+# Resources:
+set(quick3dnode_resource_files
+ "quick3dnodev9.qml"
+)
+
+qt_add_resource(tst_quick3dnode "quick3dnode"
+ PREFIX
+ "/"
+ FILES
+ ${quick3dnode_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:quick3dnode.pro:<TRUE>:
+# TEMPLATE = "app"
diff --git a/tests/auto/quick3d/quick3dnodeinstantiator/CMakeLists.txt b/tests/auto/quick3d/quick3dnodeinstantiator/CMakeLists.txt
new file mode 100644
index 000000000..f79d97d2e
--- /dev/null
+++ b/tests/auto/quick3d/quick3dnodeinstantiator/CMakeLists.txt
@@ -0,0 +1,36 @@
+# Generated from quick3dnodeinstantiator.pro.
+
+#####################################################################
+## tst_qnodeinstantiator Test:
+#####################################################################
+
+# Collect test data
+file(GLOB_RECURSE test_data_glob
+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
+ data/*)
+list(APPEND test_data ${test_data_glob})
+
+qt_add_test(tst_qnodeinstantiator
+ SOURCES
+ ../../shared/util.cpp ../../shared/util.h
+ stringmodel.h
+ tst_quick3dnodeinstantiator.cpp
+ DEFINES
+ QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
+ INCLUDE_DIRECTORIES
+ ../../shared
+ PUBLIC_LIBRARIES
+ Qt::3DCore
+ Qt::3DQuick
+ Qt::3DQuickPrivate
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ TESTDATA ${test_data}
+)
+
+#### Keys ignored in scope 1:.:.:quick3dnodeinstantiator.pro:<TRUE>:
+# OTHER_FILES = "data/createAndRemove.qml" "data/createMultiple.qml" "data/createNone.qml" "data/createSingle.qml" "data/createNested.qml" "data/inactive.qml" "data/stringModel.qml"
+
+## Scopes:
+#####################################################################