QmlDesigner: Extend test

Change-Id: I3850814303bc791934044f10a955cfcbc78e76ef
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Thomas Hartmann
2019-07-30 15:08:49 +02:00
parent 3363e42024
commit c3e3d40f90

View File

@@ -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{}");