Changeset View
Changeset View
Standalone View
Standalone View
autotests/integration/dont_crash_no_border.cpp
Show First 20 Lines • Show All 95 Lines • ▼ Show 20 Line(s) | |||||
96 | { | 96 | { | ||
97 | Test::destroyWaylandConnection(); | 97 | Test::destroyWaylandConnection(); | ||
98 | } | 98 | } | ||
99 | 99 | | |||
100 | void DontCrashNoBorder::testCreateWindow_data() | 100 | void DontCrashNoBorder::testCreateWindow_data() | ||
101 | { | 101 | { | ||
102 | QTest::addColumn<Test::XdgShellSurfaceType>("type"); | 102 | QTest::addColumn<Test::XdgShellSurfaceType>("type"); | ||
103 | 103 | | |||
104 | QTest::newRow("xdgShellV5") << Test::XdgShellSurfaceType::XdgShellV5; | | |||
105 | QTest::newRow("xdgShellV6") << Test::XdgShellSurfaceType::XdgShellV6; | 104 | QTest::newRow("xdgShellV6") << Test::XdgShellSurfaceType::XdgShellV6; | ||
106 | QTest::newRow("xdgWmBase") << Test::XdgShellSurfaceType::XdgShellStable; | 105 | QTest::newRow("xdgWmBase") << Test::XdgShellSurfaceType::XdgShellStable; | ||
107 | } | 106 | } | ||
108 | 107 | | |||
109 | void DontCrashNoBorder::testCreateWindow() | 108 | void DontCrashNoBorder::testCreateWindow() | ||
110 | { | 109 | { | ||
111 | // create a window and ensure that this doesn't crash | 110 | // create a window and ensure that this doesn't crash | ||
112 | using namespace KWayland::Client; | 111 | using namespace KWayland::Client; | ||
Show All 24 Lines |