Commit facd24c6 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

Tests.QmlDesigner: fixing defaultPropertyValues



Image does not exist have a revision 1.1.

Change-Id: I012cf4e3636239665b45369717fba8c3c61c0352
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 47d2558f
......@@ -5872,7 +5872,7 @@ void tst_TestCore::defaultPropertyValues()
QCOMPARE(rectNode.variantProperty("y").value().toDouble(), 0.0);
QCOMPARE(rectNode.variantProperty("width").value().toDouble(), 0.0);
ModelNode imageNode(addNodeListChild(view->rootModelNode(), "QtQuick.Image", 1, 1, "data"));
ModelNode imageNode(addNodeListChild(view->rootModelNode(), "QtQuick.Image", 1, 0, "data"));
QCOMPARE(imageNode.variantProperty("y").value().toDouble(), 0.0);
QCOMPARE(imageNode.variantProperty("width").value().toDouble(), 0.0);
......
Markdown is supported
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