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