diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2011-12-01 12:39:51 +0000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-12-01 13:41:01 +0100 |
commit | 84079cec36b6c4ffc80316d27ca6e439be064035 (patch) | |
tree | eb2caeb5fb0afef3006c70d0dda1e5662b9d42ff /tests/auto/declarative/qdeclarativebinding/tst_qdeclarativebinding.cpp | |
parent | 1fcc9d42665bd153d023bdaede399e57b3c833e4 (diff) |
Ignore expected warning
Change-Id: I09696b9d522fd791a4a33f812bb3c858bfd692ff
Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
Diffstat (limited to 'tests/auto/declarative/qdeclarativebinding/tst_qdeclarativebinding.cpp')
-rw-r--r-- | tests/auto/declarative/qdeclarativebinding/tst_qdeclarativebinding.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativebinding/tst_qdeclarativebinding.cpp b/tests/auto/declarative/qdeclarativebinding/tst_qdeclarativebinding.cpp index ea05963827..091a87b5a8 100644 --- a/tests/auto/declarative/qdeclarativebinding/tst_qdeclarativebinding.cpp +++ b/tests/auto/declarative/qdeclarativebinding/tst_qdeclarativebinding.cpp @@ -165,6 +165,8 @@ void tst_qdeclarativebinding::restoreBindingWithLoop() QCOMPARE(myItem->x(), qreal(88)); //original binding restored + QString warning = c.url().toString() + QLatin1String(":9:5: QML Rectangle: Binding loop detected for property \"x\""); + QTest::ignoreMessage(QtWarningMsg, qPrintable(warning)); rect->setProperty("activateBinding", false); QCOMPARE(myItem->x(), qreal(88 + 100)); //if loop handling changes this could be 90 + 100 |