Changeset View
Changeset View
Standalone View
Standalone View
autotests/integration/dbus_interface_test.cpp
Show First 20 Lines • Show All 109 Lines • ▼ Show 20 Line(s) | 105 | { | |||
---|---|---|---|---|---|
110 | const auto windowData = reply.value(); | 110 | const auto windowData = reply.value(); | ||
111 | QVERIFY(windowData.empty()); | 111 | QVERIFY(windowData.empty()); | ||
112 | } | 112 | } | ||
113 | 113 | | |||
114 | void TestDbusInterface::testGetWindowInfoXdgShellClient_data() | 114 | void TestDbusInterface::testGetWindowInfoXdgShellClient_data() | ||
115 | { | 115 | { | ||
116 | QTest::addColumn<Test::XdgShellSurfaceType>("type"); | 116 | QTest::addColumn<Test::XdgShellSurfaceType>("type"); | ||
117 | 117 | | |||
118 | QTest::newRow("xdgShellV6") << Test::XdgShellSurfaceType::XdgShellV6; | | |||
119 | QTest::newRow("xdgWmBase") << Test::XdgShellSurfaceType::XdgShellStable; | 118 | QTest::newRow("xdgWmBase") << Test::XdgShellSurfaceType::XdgShellStable; | ||
120 | } | 119 | } | ||
121 | 120 | | |||
122 | void TestDbusInterface::testGetWindowInfoXdgShellClient() | 121 | void TestDbusInterface::testGetWindowInfoXdgShellClient() | ||
123 | { | 122 | { | ||
124 | QSignalSpy clientAddedSpy(waylandServer(), &WaylandServer::shellClientAdded); | 123 | QSignalSpy clientAddedSpy(waylandServer(), &WaylandServer::shellClientAdded); | ||
125 | QVERIFY(clientAddedSpy.isValid()); | 124 | QVERIFY(clientAddedSpy.isValid()); | ||
126 | 125 | | |||
▲ Show 20 Lines • Show All 276 Lines • Show Last 20 Lines |