aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2019-07-30 15:08:49 +0200
committerThomas Hartmann <thomas.hartmann@qt.io>2019-07-30 13:10:02 +0000
commitc3e3d40f903912231dcf47a3bd0701bfad6dde1e (patch)
tree99f20655b85782f3ef764ba52604a0eb751876ea /tests/auto
parent3363e42024c79ab46b21fcf1d5e96d62d6ae8159 (diff)
QmlDesigner: Extend test
Change-Id: I3850814303bc791934044f10a955cfcbc78e76ef Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp b/tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp
index 31ea4e5914..266dc92508 100644
--- a/tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp
+++ b/tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp
@@ -611,6 +611,8 @@ void tst_TestCore::testRewriterDynamicProperties()
const QString inThere = testRewriterView1->rootModelNode().variantProperty("vv").value().value<QString>();
QCOMPARE(inThere, QString("Hello"));
+ rootModelNode.variantProperty("vv").setDynamicTypeNameAndValue("variant", "hallo2");
+
// test model2text
// QPlainTextEdit textEdit2;
// textEdit2.setPlainText("import QtQuick 1.1; Item{}");