Commit 1c08fce3 authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner.Tests: Change version of states items to 1.0



Change-Id: I0216319b6ce0ca63daa1365a90b259ebb4503761
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@nokia.com>
parent d93fb08f
......@@ -6772,7 +6772,7 @@ void tst_TestCore::testRewriterAddStatesArray()
QVERIFY(rootNode.isValid());
QCOMPARE(rootNode.type(), QString("QtQuick.Rectangle"));
ModelNode stateNode = view->createModelNode("QtQuick.State", 1, 1);
ModelNode stateNode = view->createModelNode("QtQuick.State", 1, 0);
rootNode.nodeListProperty(QLatin1String("states")).reparentHere(stateNode);
const QString expected1 = QLatin1String("\n"
......@@ -6786,7 +6786,7 @@ void tst_TestCore::testRewriterAddStatesArray()
"}");
QCOMPARE(textEdit.toPlainText(), expected1);
ModelNode stateNode2 = view->createModelNode("QtQuick.State", 1, 1);
ModelNode stateNode2 = view->createModelNode("QtQuick.State", 1, 0);
rootNode.nodeListProperty(QLatin1String("states")).reparentHere(stateNode2);
const QString expected2 = QLatin1String("\n"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment