Changeset View
Changeset View
Standalone View
Standalone View
autotests/integration/move_resize_window_test.cpp
Show First 20 Lines • Show All 498 Lines • ▼ Show 20 Line(s) | |||||
499 | } | 499 | } | ||
500 | void MoveResizeWindowTest::testClientSideMove_data() | 500 | void MoveResizeWindowTest::testClientSideMove_data() | ||
501 | { | 501 | { | ||
502 | QTest::addColumn<Test::ShellSurfaceType>("type"); | 502 | QTest::addColumn<Test::ShellSurfaceType>("type"); | ||
503 | 503 | | |||
504 | QTest::newRow("wlShell") << Test::ShellSurfaceType::WlShell; | 504 | QTest::newRow("wlShell") << Test::ShellSurfaceType::WlShell; | ||
505 | QTest::newRow("xdgShellV5") << Test::ShellSurfaceType::XdgShellV5; | 505 | QTest::newRow("xdgShellV5") << Test::ShellSurfaceType::XdgShellV5; | ||
506 | QTest::newRow("xdgShellV6") << Test::ShellSurfaceType::XdgShellV6; | 506 | QTest::newRow("xdgShellV6") << Test::ShellSurfaceType::XdgShellV6; | ||
507 | QTest::newRow("xdgWmBase") << Test::ShellSurfaceType::XdgShellStable; | ||||
507 | } | 508 | } | ||
508 | 509 | | |||
509 | void MoveResizeWindowTest::testClientSideMove() | 510 | void MoveResizeWindowTest::testClientSideMove() | ||
510 | { | 511 | { | ||
511 | using namespace KWayland::Client; | 512 | using namespace KWayland::Client; | ||
512 | Cursor::setPos(640, 512); | 513 | Cursor::setPos(640, 512); | ||
513 | QScopedPointer<Pointer> pointer(Test::waylandSeat()->createPointer()); | 514 | QScopedPointer<Pointer> pointer(Test::waylandSeat()->createPointer()); | ||
514 | QSignalSpy pointerEnteredSpy(pointer.data(), &Pointer::entered); | 515 | QSignalSpy pointerEnteredSpy(pointer.data(), &Pointer::entered); | ||
▲ Show 20 Lines • Show All 343 Lines • Show Last 20 Lines |