[autotests] Added expected failure for developer build.
authorToby Tomkins <toby.tomkins@nokia.com>
Tue, 27 Sep 2011 04:05:33 +0000 (14:05 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 28 Sep 2011 00:14:48 +0000 (02:14 +0200)
Task-number: QTBUG-21687

Change-Id: I46f8e9c693d0fe3de48ea0f3fd967cc5ca8d1d30
Reviewed-on: http://codereview.qt-project.org/5575
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
tests/auto/declarative/qsgpathview/tst_qsgpathview.cpp

index a5f1278..f21cc08 100644 (file)
@@ -978,6 +978,9 @@ void tst_QSGPathView::mouseDrag()
     canvas->show();
     canvas->requestActivateWindow();
     QTest::qWaitForWindowShown(canvas);
+#ifdef QT_BUILD_INTERNAL
+    QEXPECT_FAIL("", "QTBUG-21687 - Waiting for active window fails for developer build", Abort);
+#endif
     QTRY_COMPARE(canvas->windowState(), Qt::WindowActive);
 
     QSGPathView *pathview = qobject_cast<QSGPathView*>(canvas->rootObject());
@@ -1039,6 +1042,9 @@ void tst_QSGPathView::changePreferredHighlight()
     canvas->show();
     canvas->requestActivateWindow();
     QTest::qWaitForWindowShown(canvas);
+#ifdef QT_BUILD_INTERNAL
+    QEXPECT_FAIL("", "QTBUG-21687 - Waiting for active window fails for developer build", Abort);
+#endif
     QTRY_COMPARE(canvas->windowState(), Qt::WindowActive);
 
     QSGPathView *pathview = qobject_cast<QSGPathView*>(canvas->rootObject());