Changeset View
Changeset View
Standalone View
Standalone View
autotests/integration/move_resize_window_test.cpp
Show First 20 Lines • Show All 544 Lines • ▼ Show 20 Line(s) | 509 | { | |||
---|---|---|---|---|---|
545 | QVERIFY(!c->isMove()); | 545 | QVERIFY(!c->isMove()); | ||
546 | surface.reset(); | 546 | surface.reset(); | ||
547 | QVERIFY(Test::waitForWindowDestroyed(c)); | 547 | QVERIFY(Test::waitForWindowDestroyed(c)); | ||
548 | } | 548 | } | ||
549 | void MoveResizeWindowTest::testClientSideMove_data() | 549 | void MoveResizeWindowTest::testClientSideMove_data() | ||
550 | { | 550 | { | ||
551 | QTest::addColumn<Test::XdgShellSurfaceType>("type"); | 551 | QTest::addColumn<Test::XdgShellSurfaceType>("type"); | ||
552 | 552 | | |||
553 | QTest::newRow("xdgShellV6") << Test::XdgShellSurfaceType::XdgShellV6; | | |||
554 | QTest::newRow("xdgWmBase") << Test::XdgShellSurfaceType::XdgShellStable; | 553 | QTest::newRow("xdgWmBase") << Test::XdgShellSurfaceType::XdgShellStable; | ||
555 | } | 554 | } | ||
556 | 555 | | |||
557 | void MoveResizeWindowTest::testClientSideMove() | 556 | void MoveResizeWindowTest::testClientSideMove() | ||
558 | { | 557 | { | ||
559 | using namespace KWayland::Client; | 558 | using namespace KWayland::Client; | ||
560 | Cursor::setPos(640, 512); | 559 | Cursor::setPos(640, 512); | ||
561 | QScopedPointer<Pointer> pointer(Test::waylandSeat()->createPointer()); | 560 | QScopedPointer<Pointer> pointer(Test::waylandSeat()->createPointer()); | ||
▲ Show 20 Lines • Show All 650 Lines • Show Last 20 Lines |