Flag consistently failing tests as expected fail tests.

Task-number: QTBUG-26372
Task-number: QTBUG-26371
Task-number: QTBUG-20984

Change-Id: I7ae558243c366769cd6c587e77f862558e8053a1
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
Toby Tomkins 2012-06-29 13:54:21 +10:00 committed by Qt by Nokia
parent 82ca0936ed
commit 179d9fe7b4
2 changed files with 2 additions and 2 deletions

View File

@ -7,5 +7,3 @@ HEADERS += guitest.h
QT = core-private widgets-private testlib
requires(mac)
CONFIG+=insignificant_test # QTBUG-20984, fails unstably

View File

@ -99,6 +99,7 @@ void tst_MacGui::scrollbarPainting()
QPixmap pixmap = grabWindowContents(&colorWidget);
QEXPECT_FAIL("", "QTBUG-26371", Abort);
QVERIFY(isContent(pixmap.toImage(), verticalScrollbar.geometry(), GuiTester::Horizontal));
QVERIFY(isContent(pixmap.toImage(), horizontalScrollbar.geometry(), GuiTester::Vertical));
}
@ -221,6 +222,7 @@ void tst_MacGui::spinBoxArrowButtons()
// Set focus by clicking the less button.
QAccessibleInterface *lessInterface = wn.find(QAccessible::Name, "Less", &spinBox);
QEXPECT_FAIL("", "QTBUG-26372", Abort);
QVERIFY(lessInterface);
const int delay = 500;
clickLater(lessInterface, Qt::LeftButton, delay);