diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 7 | ||||
-rw-r--r-- | tests/auto/CMakeLists.txt | 22 | ||||
-rw-r--r-- | tests/auto/qml/CMakeLists.txt | 51 | ||||
-rw-r--r-- | tests/auto/qml/qjsonbinding/CMakeLists.txt | 38 | ||||
-rw-r--r-- | tests/auto/qml/qjsvalueiterator/CMakeLists.txt | 21 | ||||
-rw-r--r-- | tests/auto/qml/qmlmin/CMakeLists.txt | 31 | ||||
-rw-r--r-- | tests/auto/qml/qqmlfile/CMakeLists.txt | 21 | ||||
-rw-r--r-- | tests/auto/qml/qqmlfileselector/CMakeLists.txt | 40 |
8 files changed, 231 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt new file mode 100644 index 0000000000..ebb34d2d18 --- /dev/null +++ b/tests/CMakeLists.txt @@ -0,0 +1,7 @@ +# Generated from tests.pro. + +add_subdirectory(auto) + +if(QT_CONFIG___contains___release) + add_subdirectory(benchmarks) +endif() diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt new file mode 100644 index 0000000000..fb2147b472 --- /dev/null +++ b/tests/auto/CMakeLists.txt @@ -0,0 +1,22 @@ +# Generated from auto.pro. + +add_subdirectory(qml) +#add_subdirectory(quick) +#add_subdirectory(quicktest) +#add_subdirectory(qmltest) +#add_subdirectory(qmldevtools) +#add_subdirectory(cmake) +#add_subdirectory(installed_cmake) +#add_subdirectory(toolsupport) + +#if(TARGET Qt::Gui AND qtConfig(opengl(es1 OR es2)?)) +# add_subdirectory(particles) +# +# if(TARGET Qt::Widgets) +# add_subdirectory(quickwidgets) +# endif() +#endif() + +#if(APPLE_UIKIT) + ### remove_subdirectory("qmltest") +#endif() diff --git a/tests/auto/qml/CMakeLists.txt b/tests/auto/qml/CMakeLists.txt new file mode 100644 index 0000000000..5c5b0b9fcf --- /dev/null +++ b/tests/auto/qml/CMakeLists.txt @@ -0,0 +1,51 @@ +# Generated from qml.pro. + +#add_subdirectory(parserstress) +add_subdirectory(qjsvalueiterator) +add_subdirectory(qjsonbinding) +add_subdirectory(qqmlfile) +add_subdirectory(qqmlfileselector) +add_subdirectory(qmlmin) +#add_subdirectory(qqmlcomponent) +#add_subdirectory(qqmlconsole) +#add_subdirectory(qqmlengine) +#add_subdirectory(qqmlerror) +#add_subdirectory(qqmlincubator) +#add_subdirectory(qqmlinfo) +#add_subdirectory(qqmllistreference) +#add_subdirectory(qqmllocale) +#add_subdirectory(qqmlmetaobject) +#add_subdirectory(qqmlmoduleplugin) +#add_subdirectory(qqmlnotifier) +#add_subdirectory(qqmlqt) +#add_subdirectory(qqmlxmlhttprequest) +#add_subdirectory(qqmlpromise) +#add_subdirectory(qtqmlmodules) +#add_subdirectory(qquickfolderlistmodel) +#add_subdirectory(qqmlapplicationengine) +#add_subdirectory(qqmlsettings) +#add_subdirectory(qqmlstatemachine) +#add_subdirectory(qmldiskcache) +#add_subdirectory(qqmlmetatype) + +#if(TARGET Qt::Widgets) +#endif() + +#if(QT_FEATURE_process) + + #if(QT_FEATURE_qml_debug) + #add_subdirectory(debugger) + #endif() + + #if(NOT boot2qt) + #add_subdirectory(qmllint) + #add_subdirectory(qmlplugindump) + #endif() +#endif() + +#if(QT_FEATURE_library) + #add_subdirectory(qqmlextensionplugin) +#endif() + +#if(QT_FEATURE_private_tests) +#endif() diff --git a/tests/auto/qml/qjsonbinding/CMakeLists.txt b/tests/auto/qml/qjsonbinding/CMakeLists.txt new file mode 100644 index 0000000000..c0153f6b45 --- /dev/null +++ b/tests/auto/qml/qjsonbinding/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qjsonbinding.pro. + +##################################################################### +## tst_qjsonbinding Test: +##################################################################### + +add_qt_test(tst_qjsonbinding + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qjsonbinding.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qjsonbinding.pro:<TRUE>: +# CONFIG = "testcase" +# TESTDATA = "data/*" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qjsonbinding.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qjsonbinding CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qjsonbinding CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"/data\\\" +) diff --git a/tests/auto/qml/qjsvalueiterator/CMakeLists.txt b/tests/auto/qml/qjsvalueiterator/CMakeLists.txt new file mode 100644 index 0000000000..3c346456bc --- /dev/null +++ b/tests/auto/qml/qjsvalueiterator/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from qjsvalueiterator.pro. + +##################################################################### +## tst_qjsvalueiterator Test: +##################################################################### + +add_qt_test(tst_qjsvalueiterator + SOURCES + tst_qjsvalueiterator.cpp + PUBLIC_LIBRARIES + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qjsvalueiterator.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qjsvalueiterator.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qmlmin/CMakeLists.txt b/tests/auto/qml/qmlmin/CMakeLists.txt new file mode 100644 index 0000000000..a14c76d14e --- /dev/null +++ b/tests/auto/qml/qmlmin/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qmlmin.pro. + +##################################################################### +## tst_qmlmin Test: +##################################################################### + +add_qt_test(tst_qmlmin + SOURCES + tst_qmlmin.cpp + DEFINES + SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/.\\\" + LIBRARIES + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qmlmin.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qmlmin.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qmlmin CONDITION cross_compile AND NOT boot2qt + DEFINES + QTEST_CROSS_COMPILED +) diff --git a/tests/auto/qml/qqmlfile/CMakeLists.txt b/tests/auto/qml/qqmlfile/CMakeLists.txt new file mode 100644 index 0000000000..9105c96306 --- /dev/null +++ b/tests/auto/qml/qqmlfile/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from qqmlfile.pro. + +##################################################################### +## tst_qqmlfile Test: +##################################################################### + +add_qt_test(tst_qqmlfile + SOURCES + tst_qqmlfile.cpp + PUBLIC_LIBRARIES + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qqmlfile.pro:<TRUE>: +# CONFIG = "testcase" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlfile.pro:APPLE_OSX: +# CONFIG = "-app_bundle" diff --git a/tests/auto/qml/qqmlfileselector/CMakeLists.txt b/tests/auto/qml/qqmlfileselector/CMakeLists.txt new file mode 100644 index 0000000000..6e23531fa3 --- /dev/null +++ b/tests/auto/qml/qqmlfileselector/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from qqmlfileselector.pro. + +##################################################################### +## tst_qqmlfileselector Test: +##################################################################### + +add_qt_test(tst_qqmlfileselector + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlfileselector.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qqmlfileselector.pro:<TRUE>: +# CONFIG = "testcase" +# TESTDATA = "data/*" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlfileselector.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlfileselector CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlfileselector CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"/data\\\" +) |