summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/kernel
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@viroteck.net>2014-08-21 12:37:26 +0200
committerRobin Burchell <robin.burchell@viroteck.net>2014-08-23 13:50:30 +0200
commitb38eb2985a1c18abdae18d13808a6db3594c2f3c (patch)
tree34ea4d5ed926f37e340a718da892921396eed8b7 /tests/auto/gui/kernel
parent7232b022c8a584e4cb5746a1edef5b811594ddbf (diff)
tst_qguiapplication: Skip tests that fail with qwindow-compositor.
Change-Id: Iac3e9e8d4d857af944de66a95cebc9955bd8beda Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'tests/auto/gui/kernel')
-rw-r--r--tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp b/tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp
index 232231b005..2ce9dca153 100644
--- a/tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp
+++ b/tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp
@@ -152,6 +152,9 @@ void tst_QGuiApplication::focusObject()
int argc = 0;
QGuiApplication app(argc, 0);
+ if (qApp->platformName().toLower() == QLatin1String("wayland"))
+ QSKIP("Wayland: This fails. Figure out why.");
+
QObject obj1, obj2, obj3;
const QRect screenGeometry = QGuiApplication::primaryScreen()->availableVirtualGeometry();
@@ -319,6 +322,10 @@ void tst_QGuiApplication::changeFocusWindow()
{
int argc = 0;
QGuiApplication app(argc, 0);
+
+ if (qApp->platformName().toLower() == QLatin1String("wayland"))
+ QSKIP("Wayland: This fails. Figure out why.");
+
const QRect screenGeometry = QGuiApplication::primaryScreen()->availableVirtualGeometry();
// focus is changed between FocusAboutToChange and FocusChanged