From: Toby Tomkins Date: Tue, 27 Sep 2011 04:05:33 +0000 (+1000) Subject: [autotests] Added expected failure for developer build. X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=6eb4ed254ab5e2143e6ff7e7202c049d0642a9fa;p=konrad%2Fqtdeclarative.git [autotests] Added expected failure for developer build. Task-number: QTBUG-21687 Change-Id: I46f8e9c693d0fe3de48ea0f3fd967cc5ca8d1d30 Reviewed-on: http://codereview.qt-project.org/5575 Reviewed-by: Qt Sanity Bot Reviewed-by: Michael Brasser --- diff --git a/tests/auto/declarative/qsgpathview/tst_qsgpathview.cpp b/tests/auto/declarative/qsgpathview/tst_qsgpathview.cpp index a5f1278..f21cc08 100644 --- a/tests/auto/declarative/qsgpathview/tst_qsgpathview.cpp +++ b/tests/auto/declarative/qsgpathview/tst_qsgpathview.cpp @@ -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(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(canvas->rootObject());