From e6a538a3ed713262a6438c437301721095544360 Mon Sep 17 00:00:00 2001 From: "Bradley T. Hughes" Date: Tue, 17 Jan 2012 09:58:50 +0100 Subject: Expect tooltip related test failures on Mac OS X Mark test failures related to tool tips with QEXPECT_FAIL(). See QTBUG-23707 for description of the failures. Change-Id: I753256d1db748cef41cf1898620647c4cbacc472 Reviewed-by: Jason McDonald --- tests/auto/widgets/kernel/qtooltip/tst_qtooltip.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tests/auto/widgets/kernel/qtooltip/tst_qtooltip.cpp') diff --git a/tests/auto/widgets/kernel/qtooltip/tst_qtooltip.cpp b/tests/auto/widgets/kernel/qtooltip/tst_qtooltip.cpp index d8b0666880..dfdff51e6f 100644 --- a/tests/auto/widgets/kernel/qtooltip/tst_qtooltip.cpp +++ b/tests/auto/widgets/kernel/qtooltip/tst_qtooltip.cpp @@ -116,6 +116,9 @@ void tst_QToolTip::task183679() widget.showDelayedToolTip(100); QTest::qWait(300); +#ifdef Q_OS_MAC + QEXPECT_FAIL("", "QTBUG-23707", Continue); +#endif QTRY_VERIFY(QToolTip::isVisible()); QTest::keyPress(&widget, key); @@ -125,6 +128,12 @@ void tst_QToolTip::task183679() // auto-close timeout (currently 10000 msecs) QTest::qWait(1500); +#ifdef Q_OS_MAC + QEXPECT_FAIL("Shift", "QTBUG-23707", Continue); + QEXPECT_FAIL("Control", "QTBUG-23707", Continue); + QEXPECT_FAIL("Alt", "QTBUG-23707", Continue); + QEXPECT_FAIL("Meta", "QTBUG-23707", Continue); +#endif QCOMPARE(QToolTip::isVisible(), visible); } -- cgit v1.2.3