diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2017-04-05 11:41:30 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2017-04-06 06:58:44 +0000 |
commit | 80060b7beca8e4d29683298fe77a5d770c606c06 (patch) | |
tree | bd3f68d69dae7fbc50d5df6f0a2102d94d4a43ae /tests/auto/qml/qmlcachegen/qmlcachegen.pro | |
parent | 8b255c67b965cda334425d64a0f1fd13ace93584 (diff) |
Add auto-test for qmlcachegen
This test writes a simple QML file with embedded JS code into a
temporary directory, calls qmlcachegen to generate the cache file,
removes the original source code and tries to load the component.
Change-Id: I63e1b0c76a987f4a21b3dc6cb7c4dc828dd5d11f
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlcachegen/qmlcachegen.pro')
-rw-r--r-- | tests/auto/qml/qmlcachegen/qmlcachegen.pro | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlcachegen/qmlcachegen.pro b/tests/auto/qml/qmlcachegen/qmlcachegen.pro new file mode 100644 index 0000000000..8d8b37be15 --- /dev/null +++ b/tests/auto/qml/qmlcachegen/qmlcachegen.pro @@ -0,0 +1,7 @@ +CONFIG += testcase +TARGET = tst_qmlcachegen +macos:CONFIG -= app_bundle + +SOURCES += tst_qmlcachegen.cpp + +QT += core-private qml-private testlib |