Changeset View
Changeset View
Standalone View
Standalone View
autotests/integration/dont_crash_no_border.cpp
Show First 20 Lines • Show All 81 Lines • ▼ Show 20 Line(s) | 57 | { | |||
---|---|---|---|---|---|
82 | QCOMPARE(scene->compositingType(), KWin::OpenGL2Compositing); | 82 | QCOMPARE(scene->compositingType(), KWin::OpenGL2Compositing); | ||
83 | } | 83 | } | ||
84 | 84 | | |||
85 | void DontCrashNoBorder::init() | 85 | void DontCrashNoBorder::init() | ||
86 | { | 86 | { | ||
87 | QVERIFY(Test::setupWaylandConnection(Test::AdditionalWaylandInterface::Decoration)); | 87 | QVERIFY(Test::setupWaylandConnection(Test::AdditionalWaylandInterface::Decoration)); | ||
88 | 88 | | |||
89 | screens()->setCurrent(0); | 89 | screens()->setCurrent(0); | ||
90 | Cursor::setPos(QPoint(640, 512)); | 90 | Cursors::self()->mouse()->setPos(QPoint(640, 512)); | ||
91 | } | 91 | } | ||
92 | 92 | | |||
93 | void DontCrashNoBorder::cleanup() | 93 | void DontCrashNoBorder::cleanup() | ||
94 | { | 94 | { | ||
95 | Test::destroyWaylandConnection(); | 95 | Test::destroyWaylandConnection(); | ||
96 | } | 96 | } | ||
97 | 97 | | |||
98 | void DontCrashNoBorder::testCreateWindow_data() | 98 | void DontCrashNoBorder::testCreateWindow_data() | ||
Show All 34 Lines |