Changeset View
Changeset View
Standalone View
Standalone View
autotests/client/test_wayland_surface.cpp
Show First 20 Lines • Show All 1023 Lines • ▼ Show 20 Line(s) | 1023 | if (surfaceDestroyedSpy.isEmpty()) { | |||
---|---|---|---|---|---|
1024 | QVERIFY(surfaceDestroyedSpy.wait()); | 1024 | QVERIFY(surfaceDestroyedSpy.wait()); | ||
1025 | } | 1025 | } | ||
1026 | QTRY_COMPARE(surfaceDestroyedSpy.count(), 1); | 1026 | QTRY_COMPARE(surfaceDestroyedSpy.count(), 1); | ||
1027 | 1027 | | |||
1028 | s->destroy(); | 1028 | s->destroy(); | ||
1029 | m_shm->destroy(); | 1029 | m_shm->destroy(); | ||
1030 | m_compositor->destroy(); | 1030 | m_compositor->destroy(); | ||
1031 | m_queue->destroy(); | 1031 | m_queue->destroy(); | ||
1032 | m_idleInhibitManager->destroy(); | ||||
1032 | } | 1033 | } | ||
1033 | 1034 | | |||
1034 | void TestWaylandSurface::testOutput() | 1035 | void TestWaylandSurface::testOutput() | ||
1035 | { | 1036 | { | ||
1036 | // This test verifies that the enter/leave are sent correctly to the Client | 1037 | // This test verifies that the enter/leave are sent correctly to the Client | ||
1037 | using namespace KWayland::Client; | 1038 | using namespace KWayland::Client; | ||
1038 | using namespace KWayland::Server; | 1039 | using namespace KWayland::Server; | ||
1039 | qRegisterMetaType<KWayland::Client::Output*>(); | 1040 | qRegisterMetaType<KWayland::Client::Output*>(); | ||
▲ Show 20 Lines • Show All 123 Lines • Show Last 20 Lines |