From 6bebe02e8d01e17f80d9951126c3158bf2bcc6e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20Johan=20S=C3=B8rvig?= Date: Tue, 13 Apr 2010 14:02:17 +0200 Subject: Skip test for cocoa: setToolTip We need to skip the QWidget::setToolTip test for now since it fails on Cocoa: The reason is that the test uses QCursor::setPos that ends up faking a mouse move on mac (which triggers tooltips). And when the mouse moves, a mouse enter event is delivered to the widget through cocoa, which will also fake a mouse move event. Until we know what the best solution is, we chose to skip this test Reviewed-by: Richard Moe Gustavsen --- tests/auto/qwidget/tst_qwidget.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/auto/qwidget/tst_qwidget.cpp b/tests/auto/qwidget/tst_qwidget.cpp index 76e20b9..1b2944e 100644 --- a/tests/auto/qwidget/tst_qwidget.cpp +++ b/tests/auto/qwidget/tst_qwidget.cpp @@ -6056,6 +6056,9 @@ void tst_QWidget::setToolTip() #ifdef Q_OS_WINCE_WM QSKIP("Mouse over doesn't work on Windows mobile.", SkipAll); #endif +#ifdef QT_MAC_USE_COCOA + QSKIP("Temporarily disable the rest on cocoa due to QCursor::setPos problems.", SkipAll); +#endif for (int pass = 0; pass < 2; ++pass) { QWidget *popup = new QWidget(0, Qt::Popup); -- cgit v0.12