Changeset View
Changeset View
Standalone View
Standalone View
autotests/integration/dont_crash_cursor_physical_size_empty.cpp
Show First 20 Lines • Show All 88 Lines • ▼ Show 20 Line(s) | |||||
89 | 89 | | |||
90 | void DontCrashCursorPhysicalSizeEmpty::testMoveCursorOverDeco_data() | 90 | void DontCrashCursorPhysicalSizeEmpty::testMoveCursorOverDeco_data() | ||
91 | { | 91 | { | ||
92 | QTest::addColumn<Test::ShellSurfaceType>("type"); | 92 | QTest::addColumn<Test::ShellSurfaceType>("type"); | ||
93 | 93 | | |||
94 | QTest::newRow("wlShell") << Test::ShellSurfaceType::WlShell; | 94 | QTest::newRow("wlShell") << Test::ShellSurfaceType::WlShell; | ||
95 | QTest::newRow("xdgShellV5") << Test::ShellSurfaceType::XdgShellV5; | 95 | QTest::newRow("xdgShellV5") << Test::ShellSurfaceType::XdgShellV5; | ||
96 | QTest::newRow("xdgShellV6") << Test::ShellSurfaceType::XdgShellV6; | 96 | QTest::newRow("xdgShellV6") << Test::ShellSurfaceType::XdgShellV6; | ||
97 | QTest::newRow("xdgWmBase") << Test::ShellSurfaceType::XdgShellStable; | ||||
97 | } | 98 | } | ||
98 | 99 | | |||
99 | void DontCrashCursorPhysicalSizeEmpty::testMoveCursorOverDeco() | 100 | void DontCrashCursorPhysicalSizeEmpty::testMoveCursorOverDeco() | ||
100 | { | 101 | { | ||
101 | // This test ensures that there is no endless recursion if the cursor theme cannot be created | 102 | // This test ensures that there is no endless recursion if the cursor theme cannot be created | ||
102 | // a reason for creation failure could be physical size not existing | 103 | // a reason for creation failure could be physical size not existing | ||
103 | // see BUG: 390314 | 104 | // see BUG: 390314 | ||
104 | QScopedPointer<Surface> surface(Test::createSurface()); | 105 | QScopedPointer<Surface> surface(Test::createSurface()); | ||
Show All 20 Lines |