Changeset View
Changeset View
Standalone View
Standalone View
autotests/integration/dont_crash_cursor_physical_size_empty.cpp
Show First 20 Lines • Show All 84 Lines • ▼ Show 20 Line(s) | 69 | { | |||
---|---|---|---|---|---|
85 | kwinApp()->start(); | 85 | kwinApp()->start(); | ||
86 | QVERIFY(workspaceCreatedSpy.wait()); | 86 | QVERIFY(workspaceCreatedSpy.wait()); | ||
87 | } | 87 | } | ||
88 | 88 | | |||
89 | void DontCrashCursorPhysicalSizeEmpty::testMoveCursorOverDeco_data() | 89 | void DontCrashCursorPhysicalSizeEmpty::testMoveCursorOverDeco_data() | ||
90 | { | 90 | { | ||
91 | QTest::addColumn<Test::XdgShellSurfaceType>("type"); | 91 | QTest::addColumn<Test::XdgShellSurfaceType>("type"); | ||
92 | 92 | | |||
93 | QTest::newRow("xdgShellV5") << Test::XdgShellSurfaceType::XdgShellV5; | | |||
94 | QTest::newRow("xdgShellV6") << Test::XdgShellSurfaceType::XdgShellV6; | 93 | QTest::newRow("xdgShellV6") << Test::XdgShellSurfaceType::XdgShellV6; | ||
95 | QTest::newRow("xdgWmBase") << Test::XdgShellSurfaceType::XdgShellStable; | 94 | QTest::newRow("xdgWmBase") << Test::XdgShellSurfaceType::XdgShellStable; | ||
96 | } | 95 | } | ||
97 | 96 | | |||
98 | void DontCrashCursorPhysicalSizeEmpty::testMoveCursorOverDeco() | 97 | void DontCrashCursorPhysicalSizeEmpty::testMoveCursorOverDeco() | ||
99 | { | 98 | { | ||
100 | // This test ensures that there is no endless recursion if the cursor theme cannot be created | 99 | // This test ensures that there is no endless recursion if the cursor theme cannot be created | ||
101 | // a reason for creation failure could be physical size not existing | 100 | // a reason for creation failure could be physical size not existing | ||
Show All 22 Lines |