summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2018-05-02 14:41:00 +0200
committerJohan Helsing <johan.helsing@qt.io>2018-05-28 11:25:09 +0000
commit2b67dd2fc61331335cb3d80d15c07692bc1631b3 (patch)
tree1ba5c6a45d7b4722e9a7c5cdb6c692a347a120fe
parent1eba531d5b62bc171839d71e4a745ab9cdaaf907 (diff)
Client tests: Ensure there are no leftover ivi_surfaces
Similarly to what we do for xdg-shell v6. Change-Id: Id72d0af53c7bcee461b741341bf6b587ffe98522 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
-rw-r--r--tests/auto/client/client/tst_client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/client/client/tst_client.cpp b/tests/auto/client/client/tst_client.cpp
index 978a9d5e6..a8e2d5e19 100644
--- a/tests/auto/client/client/tst_client.cpp
+++ b/tests/auto/client/client/tst_client.cpp
@@ -162,6 +162,7 @@ public slots:
// make sure the surfaces from the last test are properly cleaned up
// and don't show up as false positives in the next test
QTRY_VERIFY(!compositor->surface());
+ QTRY_VERIFY(!compositor->iviSurface());
QTRY_VERIFY(!compositor->xdgToplevelV6());
}