Changeset View
Changeset View
Standalone View
Standalone View
autotests/integration/move_resize_window_test.cpp
Show First 20 Lines • Show All 92 Lines • ▼ Show 20 Line(s) | 85 | { | |||
---|---|---|---|---|---|
93 | kwinApp()->start(); | 93 | kwinApp()->start(); | ||
94 | QVERIFY(workspaceCreatedSpy.wait()); | 94 | QVERIFY(workspaceCreatedSpy.wait()); | ||
95 | QCOMPARE(screens()->count(), 1); | 95 | QCOMPARE(screens()->count(), 1); | ||
96 | QCOMPARE(screens()->geometry(0), QRect(0, 0, 1280, 1024)); | 96 | QCOMPARE(screens()->geometry(0), QRect(0, 0, 1280, 1024)); | ||
97 | } | 97 | } | ||
98 | 98 | | |||
99 | void MoveResizeWindowTest::init() | 99 | void MoveResizeWindowTest::init() | ||
100 | { | 100 | { | ||
101 | QVERIFY(Test::setupWaylandConnection(s_socketName, Test::AdditionalWaylandInterface::PlasmaShell | Test::AdditionalWaylandInterface::Seat)); | 101 | QVERIFY(Test::setupWaylandConnection(Test::AdditionalWaylandInterface::PlasmaShell | Test::AdditionalWaylandInterface::Seat)); | ||
102 | QVERIFY(Test::waitForWaylandPointer()); | 102 | QVERIFY(Test::waitForWaylandPointer()); | ||
103 | m_connection = Test::waylandConnection(); | 103 | m_connection = Test::waylandConnection(); | ||
104 | m_compositor = Test::waylandCompositor(); | 104 | m_compositor = Test::waylandCompositor(); | ||
105 | m_shell = Test::waylandShell(); | 105 | m_shell = Test::waylandShell(); | ||
106 | 106 | | |||
107 | screens()->setCurrent(0); | 107 | screens()->setCurrent(0); | ||
108 | } | 108 | } | ||
109 | 109 | | |||
▲ Show 20 Lines • Show All 663 Lines • Show Last 20 Lines |