diff options
author | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2012-09-19 10:23:05 +0200 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2012-09-19 11:27:46 +0200 |
commit | c596151d7e97926fc1f028b674f4c098bb6f3378 (patch) | |
tree | 64c558dedd65c6155693543698a5d64034ab4b41 /tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp | |
parent | 6e0cfe39b109719a5cc8af81144e9427787f9e50 (diff) | |
download | qt-creator-c596151d7e97926fc1f028b674f4c098bb6f3378.tar.gz |
Tests.QmlDesigner: Outdated test - we skip the "Component" node
Change-Id: I41950436ff9db77e50cfb1601f63af401f7e2364
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
Diffstat (limited to 'tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp')
-rw-r--r-- | tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp b/tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp index 21ebbe888e..35cbdbc007 100644 --- a/tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp +++ b/tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp @@ -2949,7 +2949,8 @@ void tst_TestCore::testRewriterComponentTextModifier() ModelNode componentrootNode = testRewriterViewComponent->rootModelNode(); QVERIFY(componentrootNode.isValid()); - QCOMPARE(componentrootNode.type(), QLatin1String("QtQuick.Component")); + //The <Component> node is skipped + QCOMPARE(componentrootNode.type(), QLatin1String("QtQuick.Rectangle")); } void tst_TestCore::testRewriterPreserveType() |