forked from qt-creator/qt-creator
QmlDesigner: Extend test
Change-Id: I3850814303bc791934044f10a955cfcbc78e76ef Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -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{}");
|
||||
|
Reference in New Issue
Block a user