From: Rohan McGovern Date: Mon, 22 Aug 2011 06:11:31 +0000 (+1000) Subject: test: marked tst_qdeclarativebehaviors as expected failure X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=c0184fcbbd85787734cde6d481001b0cbfd4fc82;p=konrad%2Fqtdeclarative.git test: marked tst_qdeclarativebehaviors as expected failure This was supposed to be marked in e5166af2e4856668ea45d31e0d6fb044dc9ab1af, but was accidentally omitted (note that there are two autotests named tst_qdeclarativebehaviors). Task-number: QTBUG-21001 Change-Id: I0afeccff776a448e24d76f51cd9b761774067311 Reviewed-on: http://codereview.qt.nokia.com/3288 Reviewed-by: Qt Sanity Bot Reviewed-by: Damian Jansen --- diff --git a/tests/auto/declarative/qdeclarativebehaviors/tst_qdeclarativebehaviors.cpp b/tests/auto/declarative/qdeclarativebehaviors/tst_qdeclarativebehaviors.cpp index c39766e..15248e3 100644 --- a/tests/auto/declarative/qdeclarativebehaviors/tst_qdeclarativebehaviors.cpp +++ b/tests/auto/declarative/qdeclarativebehaviors/tst_qdeclarativebehaviors.cpp @@ -404,6 +404,9 @@ void tst_qdeclarativebehaviors::sameValue() QCOMPARE(target->x(), qreal(100)); target->setProperty("x", 0); +#ifdef Q_WS_QPA + QEXPECT_FAIL("", "QTBUG-21001 fails", Abort); +#endif QTRY_VERIFY(target->x() != qreal(0) && target->x() != qreal(100)); QTRY_VERIFY(target->x() == qreal(0)); //make sure Behavior has finished.