summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@nokia.com>2010-04-13 12:02:17 (GMT)
committerMorten Johan Sørvig <morten.sorvig@nokia.com>2010-04-13 12:02:17 (GMT)
commit6bebe02e8d01e17f80d9951126c3158bf2bcc6e0 (patch)
tree0e49dc762c6041a0852bb75bbc61b4942a8b5835
parent2bed031297e9edeb7e8493888c0a24f2dca3c370 (diff)
downloadQt-6bebe02e8d01e17f80d9951126c3158bf2bcc6e0.zip
Qt-6bebe02e8d01e17f80d9951126c3158bf2bcc6e0.tar.gz
Qt-6bebe02e8d01e17f80d9951126c3158bf2bcc6e0.tar.bz2
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 <richard.gustavsen@nokia.com>
-rw-r--r--tests/auto/qwidget/tst_qwidget.cpp3
1 files changed, 3 insertions, 0 deletions
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);