diff options
author | Marco Bubke <marco.bubke@nokia.com> | 2012-09-05 13:22:43 +0200 |
---|---|---|
committer | Marco Bubke <marco.bubke@nokia.com> | 2012-09-06 15:35:14 +0200 |
commit | ae72dae1e795f51abb80a09090f890cbe3c56794 (patch) | |
tree | d504ecc574b88afb4d53059b19241adaaafd90e8 /tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp | |
parent | 4518552e7bd7d584c087519259afc82f9d69baf1 (diff) | |
download | qt-creator-ae72dae1e795f51abb80a09090f890cbe3c56794.tar.gz |
QmlDesigner.Test: Fix expression
Change-Id: I2c88112ceccc18741207c2bd78f72c787a862eb5
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Diffstat (limited to 'tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp')
-rw-r--r-- | tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp b/tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp index 2c9847224c..02176061f6 100644 --- a/tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp +++ b/tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp @@ -2190,7 +2190,7 @@ void tst_TestCore::testModelViewNotification() QCOMPARE(view1->methodCalls(), expectedCalls); QCOMPARE(view2->methodCalls(), expectedCalls); - childNode.bindingProperty("visible").setExpression("false"); + childNode.bindingProperty("visible").setExpression("false && true"); expectedCalls << TestView::MethodCall("propertiesAboutToBeRemoved", QStringList() << "visible"); expectedCalls << TestView::MethodCall("bindingPropertiesChanged", QStringList() << "visible" << "PropertiesAdded"); QCOMPARE(view1->methodCalls(), expectedCalls); |