aboutsummaryrefslogtreecommitdiff
path: root/tests/client/qmlfiles.h.in
diff options
context:
space:
mode:
authorDalton Durst <dalton@ubports.com>2021-12-23 17:30:01 -0600
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-02-01 07:56:48 +0100
commit03a23b0138dd660dcc1fe71f5bfca100016b97f7 (patch)
tree26d301d9f49c963a9456077d159ac595ba7ef17d /tests/client/qmlfiles.h.in
parentfbb94cd8e14c1e8f4342249fb414b466eb60186f (diff)
downloadqmenumodel-03a23b0138dd660dcc1fe71f5bfca100016b97f7.tar.gz
qmenumodel-03a23b0138dd660dcc1fe71f5bfca100016b97f7.tar.bz2
qmenumodel-03a23b0138dd660dcc1fe71f5bfca100016b97f7.zip
Make the qmltests test imports, at leastcorrect-1-0
The loadmodule.qml and loadmodule2.qml files never actually loaded in their views but the test case was still passing. I wasn't able to discern what the tests were actually supposed to do when they were working. Therefore, I removed the majority of the tests and just made sure the import for qmenumodel is working. At least it does *something* now, I guess.
Diffstat (limited to 'tests/client/qmlfiles.h.in')
-rw-r--r--tests/client/qmlfiles.h.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/client/qmlfiles.h.in b/tests/client/qmlfiles.h.in
index 876b78f..631390b 100644
--- a/tests/client/qmlfiles.h.in
+++ b/tests/client/qmlfiles.h.in
@@ -1,3 +1,4 @@
-const char* QML_BASE_DIR = "@libqmenumodel_BINARY_DIR@";
-const char* LOADMODEL_QML = "@CMAKE_CURRENT_SOURCE_DIR@/loadmodel.qml";
-const char* LOADMODEL2_QML = "@CMAKE_CURRENT_SOURCE_DIR@/loadmodel2.qml";
+#include <QString>
+
+const QString QML_BASE_DIR = QStringLiteral("@libqmenumodel_BINARY_DIR@");
+const QString IMPORTTEST_QML = QStringLiteral("@CMAKE_CURRENT_SOURCE_DIR@/importtest.qml");