diff options
author | Toby Tomkins <toby.tomkins@nokia.com> | 2011-09-27 14:05:33 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-09-28 02:14:48 +0200 |
commit | 6eb4ed254ab5e2143e6ff7e7202c049d0642a9fa (patch) | |
tree | 632d5c1553d4b7b2cedbf2019033b4c518cd638e /tests | |
parent | 3d6977d0f0371ca2211b86d6cbe67fe74647b1de (diff) |
[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 <qt_sanity_bot@ovi.com>
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/declarative/qsgpathview/tst_qsgpathview.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/declarative/qsgpathview/tst_qsgpathview.cpp b/tests/auto/declarative/qsgpathview/tst_qsgpathview.cpp index a5f12787c3..f21cc08ac2 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<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()); |