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/manual/tableview/CMakeLists.txt | 5 +++ .../tableview/abstracttablemodel/CMakeLists.txt | 40 ++++++++++++++++++++++ tests/manual/tableview/listmodel/CMakeLists.txt | 39 +++++++++++++++++++++ tests/manual/tableview/storagemodel/CMakeLists.txt | 40 ++++++++++++++++++++++ tests/manual/tableview/tablemodel/CMakeLists.txt | 3 ++ .../tableview/tablemodel/form/CMakeLists.txt | 40 ++++++++++++++++++++++ .../tableview/tablemodel/json/CMakeLists.txt | 40 ++++++++++++++++++++++ 7 files changed, 207 insertions(+) create mode 100644 tests/manual/tableview/CMakeLists.txt create mode 100644 tests/manual/tableview/abstracttablemodel/CMakeLists.txt create mode 100644 tests/manual/tableview/listmodel/CMakeLists.txt create mode 100644 tests/manual/tableview/storagemodel/CMakeLists.txt create mode 100644 tests/manual/tableview/tablemodel/CMakeLists.txt create mode 100644 tests/manual/tableview/tablemodel/form/CMakeLists.txt create mode 100644 tests/manual/tableview/tablemodel/json/CMakeLists.txt (limited to 'tests/manual/tableview') diff --git a/tests/manual/tableview/CMakeLists.txt b/tests/manual/tableview/CMakeLists.txt new file mode 100644 index 0000000000..19f4807174 --- /dev/null +++ b/tests/manual/tableview/CMakeLists.txt @@ -0,0 +1,5 @@ +# Generated from tableview.pro. + +add_subdirectory(abstracttablemodel) +add_subdirectory(listmodel) +add_subdirectory(storagemodel) diff --git a/tests/manual/tableview/abstracttablemodel/CMakeLists.txt b/tests/manual/tableview/abstracttablemodel/CMakeLists.txt new file mode 100644 index 0000000000..2e0f5b2d1b --- /dev/null +++ b/tests/manual/tableview/abstracttablemodel/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from abstracttablemodel.pro. + +##################################################################### +## tableview_abstracttablemodel Binary: +##################################################################### + +add_qt_executable(tableview_abstracttablemodel + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +add_qt_resource(tableview_abstracttablemodel "qmake_immediate" + PREFIX + "/" + FILES + Button.qml + main.qml +) + + +#### Keys ignored in scope 1:.:.:abstracttablemodel.pro:: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:abstracttablemodel.pro:QNX: +# target.path = "/tmp/$${TARGET}/bin" + +#### Keys ignored in scope 4:.:.:abstracttablemodel.pro:UNIX AND NOT ANDROID: +# target.path = "/opt/$${TARGET}/bin" + +#### Keys ignored in scope 5:.:.:abstracttablemodel.pro:NOT target.path_ISEMPTY: +# INSTALLS = "target" diff --git a/tests/manual/tableview/listmodel/CMakeLists.txt b/tests/manual/tableview/listmodel/CMakeLists.txt new file mode 100644 index 0000000000..bca3bb06b5 --- /dev/null +++ b/tests/manual/tableview/listmodel/CMakeLists.txt @@ -0,0 +1,39 @@ +# Generated from listmodel.pro. + +##################################################################### +## tableview_listmodel Binary: +##################################################################### + +add_qt_executable(tableview_listmodel + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +add_qt_resource(tableview_listmodel "qmake_immediate" + PREFIX + "/" + FILES + main.qml +) + + +#### Keys ignored in scope 1:.:.:listmodel.pro:: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:listmodel.pro:QNX: +# target.path = "/tmp/$${TARGET}/bin" + +#### Keys ignored in scope 4:.:.:listmodel.pro:UNIX AND NOT ANDROID: +# target.path = "/opt/$${TARGET}/bin" + +#### Keys ignored in scope 5:.:.:listmodel.pro:NOT target.path_ISEMPTY: +# INSTALLS = "target" diff --git a/tests/manual/tableview/storagemodel/CMakeLists.txt b/tests/manual/tableview/storagemodel/CMakeLists.txt new file mode 100644 index 0000000000..363c2cf8ba --- /dev/null +++ b/tests/manual/tableview/storagemodel/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from storagemodel.pro. + +##################################################################### +## tableview_storage Binary: +##################################################################### + +add_qt_executable(tableview_storage + GUI + SOURCES + main.cpp + storagemodel.cpp storagemodel.h + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +add_qt_resource(tableview_storage "qmake_immediate" + PREFIX + "/" + FILES + main.qml +) + + +#### Keys ignored in scope 1:.:.:storagemodel.pro:: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:storagemodel.pro:QNX: +# target.path = "/tmp/$${TARGET}/bin" + +#### Keys ignored in scope 4:.:.:storagemodel.pro:UNIX AND NOT ANDROID: +# target.path = "/opt/$${TARGET}/bin" + +#### Keys ignored in scope 5:.:.:storagemodel.pro:NOT target.path_ISEMPTY: +# INSTALLS = "target" diff --git a/tests/manual/tableview/tablemodel/CMakeLists.txt b/tests/manual/tableview/tablemodel/CMakeLists.txt new file mode 100644 index 0000000000..487e004af0 --- /dev/null +++ b/tests/manual/tableview/tablemodel/CMakeLists.txt @@ -0,0 +1,3 @@ +# Generated from tablemodel.pro. + +add_subdirectory(form) diff --git a/tests/manual/tableview/tablemodel/form/CMakeLists.txt b/tests/manual/tableview/tablemodel/form/CMakeLists.txt new file mode 100644 index 0000000000..5de4ae68b7 --- /dev/null +++ b/tests/manual/tableview/tablemodel/form/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from form.pro. + +##################################################################### +## form Binary: +##################################################################### + +add_qt_executable(form + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +add_qt_resource(form "qmake_immediate" + PREFIX + "/" + FILES + RowForm.qml + main.qml +) + + +#### Keys ignored in scope 1:.:.:form.pro:: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:form.pro:QNX: +# target.path = "/tmp/$${TARGET}/bin" + +#### Keys ignored in scope 4:.:.:form.pro:UNIX AND NOT ANDROID: +# target.path = "/opt/$${TARGET}/bin" + +#### Keys ignored in scope 5:.:.:form.pro:NOT target.path_ISEMPTY: +# INSTALLS = "target" diff --git a/tests/manual/tableview/tablemodel/json/CMakeLists.txt b/tests/manual/tableview/tablemodel/json/CMakeLists.txt new file mode 100644 index 0000000000..eeff661a0c --- /dev/null +++ b/tests/manual/tableview/tablemodel/json/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from json.pro. + +##################################################################### +## json Binary: +##################################################################### + +add_qt_executable(json + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +add_qt_resource(json "qmake_immediate" + PREFIX + "/" + FILES + JsonData.js + main.qml +) + + +#### Keys ignored in scope 1:.:.:json.pro:: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:json.pro:QNX: +# target.path = "/tmp/$${TARGET}/bin" + +#### Keys ignored in scope 4:.:.:json.pro:UNIX AND NOT ANDROID: +# target.path = "/opt/$${TARGET}/bin" + +#### Keys ignored in scope 5:.:.:json.pro:NOT target.path_ISEMPTY: +# INSTALLS = "target" -- cgit v1.2.3