Changeset View
Changeset View
Standalone View
Standalone View
autotests/integration/window_selection_test.cpp
Show First 20 Lines • Show All 73 Lines • ▼ Show 20 Line(s) | 63 | { | |||
---|---|---|---|---|---|
74 | QCOMPARE(screens()->count(), 2); | 74 | QCOMPARE(screens()->count(), 2); | ||
75 | QCOMPARE(screens()->geometry(0), QRect(0, 0, 1280, 1024)); | 75 | QCOMPARE(screens()->geometry(0), QRect(0, 0, 1280, 1024)); | ||
76 | QCOMPARE(screens()->geometry(1), QRect(1280, 0, 1280, 1024)); | 76 | QCOMPARE(screens()->geometry(1), QRect(1280, 0, 1280, 1024)); | ||
77 | waylandServer()->initWorkspace(); | 77 | waylandServer()->initWorkspace(); | ||
78 | } | 78 | } | ||
79 | 79 | | |||
80 | void TestWindowSelection::init() | 80 | void TestWindowSelection::init() | ||
81 | { | 81 | { | ||
82 | QVERIFY(Test::setupWaylandConnection(s_socketName, Test::AdditionalWaylandInterface::Seat)); | 82 | QVERIFY(Test::setupWaylandConnection(Test::AdditionalWaylandInterface::Seat)); | ||
83 | QVERIFY(Test::waitForWaylandPointer()); | 83 | QVERIFY(Test::waitForWaylandPointer()); | ||
84 | 84 | | |||
85 | screens()->setCurrent(0); | 85 | screens()->setCurrent(0); | ||
86 | KWin::Cursor::setPos(QPoint(1280, 512)); | 86 | KWin::Cursor::setPos(QPoint(1280, 512)); | ||
87 | } | 87 | } | ||
88 | 88 | | |||
89 | void TestWindowSelection::cleanup() | 89 | void TestWindowSelection::cleanup() | ||
90 | { | 90 | { | ||
▲ Show 20 Lines • Show All 365 Lines • Show Last 20 Lines |