19static const QString s_socketName = QStringLiteral(
"wayland_test_kwin_platform_cursor-0");
29void PlatformCursorTest::initTestCase()
34 QRect(0, 0, 1280, 1024),
35 QRect(1280, 0, 1280, 1024),
39 QVERIFY(applicationStartedSpy.wait());
42void PlatformCursorTest::testPos()
52 QCursor::setPos(QPoint(10, 10));
54 QCOMPARE(QCursor::pos(), QPoint(10, 10));
57 QCursor::setPos(QPoint(20, 20));
59 QCOMPARE(QCursor::pos(), QPoint(20, 20));
65#include "platformcursor.moc"
#define WAYLANDTEST_MAIN(TestObject)
void setOutputConfig(const QList< QRect > &geometries)
WaylandServer * waylandServer()