qfiledialog2: Skip test that is passing on CI and failing otherwise.

Task-number: QTBUG-23602

Change-Id: Id5dfb85956048c60849d865161212b0764e8f250
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
bb10
Toby Tomkins 2012-02-24 17:16:32 +10:00 committed by Qt by Nokia
parent efb5a3a52e
commit 35ef771d5a
1 changed files with 3 additions and 3 deletions

View File

@ -489,6 +489,9 @@ void tst_QFileDialog2::task227304_proxyOnFileDialog()
void tst_QFileDialog2::task227930_correctNavigationKeyboardBehavior()
{
#ifdef Q_OS_MAC
QSKIP("This test currently fails on Mac OS X, see QTBUG-23602");
#endif
QDir current = QDir::currentPath();
current.mkdir("test");
current.cd("test");
@ -515,9 +518,6 @@ void tst_QFileDialog2::task227930_correctNavigationKeyboardBehavior()
QTest::keyClick(list, Qt::Key_Down);
QTest::keyClick(list, Qt::Key_Return);
QTest::qWait(200);
#ifdef Q_OS_MAC
QEXPECT_FAIL("", "This test currently fails on Mac OS X, see QTBUG-23602", Continue);
#endif
QCOMPARE(fd.isVisible(), true);
QTest::qWait(200);
file.close();