summaryrefslogtreecommitdiff
path: root/tests/qml/qml.pro
diff options
context:
space:
mode:
authorMilian Wolff <milian.wolff@kdab.com>2013-11-06 16:47:48 +0100
committerMilian Wolff <milian.wolff@kdab.com>2013-11-14 16:41:27 +0100
commitbc06e88886ca33ce68c3ae3a72cf011257d1fadd (patch)
tree64716a51c4da5f73425f965475e5057a1c2345bc /tests/qml/qml.pro
parent86eacb18b6868173b63b8f67feb481d6e291ad7a (diff)
downloadqtwebchannel-bc06e88886ca33ce68c3ae3a72cf011257d1fadd.tar.gz
Add unit test harness for QWebChannel and two initial tests.
This uncovered a bug in webchannel.js, which stringified strings leading to duplicated quoting. This is also fixed now. Furthermore, some QMake changes are required to make it possible to run the tests without first installing QWebChannel. Change-Id: If7e8f73a748f86f2d5c7d39000e90612367038af Reviewed-by: Zeno Albisser <zeno.albisser@digia.com> Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
Diffstat (limited to 'tests/qml/qml.pro')
-rw-r--r--tests/qml/qml.pro10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/qml/qml.pro b/tests/qml/qml.pro
new file mode 100644
index 0000000..d687e63
--- /dev/null
+++ b/tests/qml/qml.pro
@@ -0,0 +1,10 @@
+QT += testlib
+
+TARGET = qml
+
+CONFIG += warn_on qmltestcase
+
+IMPORTPATH += $$OUT_PWD/../../src
+
+SOURCES += \
+ qml.cpp