From c3e3d40f903912231dcf47a3bd0701bfad6dde1e Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Tue, 30 Jul 2019 15:08:49 +0200 Subject: [PATCH] QmlDesigner: Extend test Change-Id: I3850814303bc791934044f10a955cfcbc78e76ef Reviewed-by: Thomas Hartmann --- tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp b/tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp index 31ea4e59147..266dc92508f 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(); QCOMPARE(inThere, QString("Hello")); + rootModelNode.variantProperty("vv").setDynamicTypeNameAndValue("variant", "hallo2"); + // test model2text // QPlainTextEdit textEdit2; // textEdit2.setPlainText("import QtQuick 1.1; Item{}");