diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2019-05-14 09:38:08 +0200 |
---|---|---|
committer | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2019-05-14 09:39:00 +0200 |
commit | 03ac8d67fb6a94ae9c28325e306fd4291fde8bb6 (patch) | |
tree | 0284ddd1810f7d088eda61c7c425ec90be9d8516 /tests/auto/client | |
parent | a0d55cf7789334a70c16e816ce82e95eca4bda0b (diff) | |
download | qtwayland-03ac8d67fb6a94ae9c28325e306fd4291fde8bb6.tar.gz |
xdg-shell v6 client test: use QTRY_COMPARE instead of QTRY_VERIFY
Change-Id: I5f04676e0090bcb849a765ae5365845f199de987
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'tests/auto/client')
-rw-r--r-- | tests/auto/client/xdgshellv6/tst_xdgshellv6.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/client/xdgshellv6/tst_xdgshellv6.cpp b/tests/auto/client/xdgshellv6/tst_xdgshellv6.cpp index a397f60e..027e1dfa 100644 --- a/tests/auto/client/xdgshellv6/tst_xdgshellv6.cpp +++ b/tests/auto/client/xdgshellv6/tst_xdgshellv6.cpp @@ -413,11 +413,11 @@ void tst_WaylandClientXdgShellV6::dontSpamExposeEvents() QSharedPointer<MockSurface> surface; QTRY_VERIFY(surface = m_compositor->surface()); - QTRY_VERIFY(window.exposeEventCount == 0); + QTRY_COMPARE(window.exposeEventCount, 0); m_compositor->sendShellSurfaceConfigure(surface); QTRY_VERIFY(window.isExposed()); - QTRY_VERIFY(window.exposeEventCount == 1); + QTRY_COMPARE(window.exposeEventCount, 1); } int main(int argc, char **argv) |