test: marked tst_qdeclarativebehaviors as expected failure
authorRohan McGovern <rohan.mcgovern@nokia.com>
Mon, 22 Aug 2011 06:11:31 +0000 (16:11 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 23 Aug 2011 01:49:12 +0000 (03:49 +0200)
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 <qt_sanity_bot@ovi.com>
Reviewed-by: Damian Jansen <damian.jansen@nokia.com>

tests/auto/declarative/qdeclarativebehaviors/tst_qdeclarativebehaviors.cpp

index c39766e..15248e3 100644 (file)
@@ -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.