Changeset View
Changeset View
Standalone View
Standalone View
autotests/integration/shell_client_test.cpp
Show First 20 Lines • Show All 178 Lines • ▼ Show 20 Line(s) | 151 | { | |||
---|---|---|---|---|---|
179 | QVERIFY(client->isMaximizable()); | 179 | QVERIFY(client->isMaximizable()); | ||
180 | QVERIFY(client->isMovable()); | 180 | QVERIFY(client->isMovable()); | ||
181 | QVERIFY(client->isMovableAcrossScreens()); | 181 | QVERIFY(client->isMovableAcrossScreens()); | ||
182 | QVERIFY(client->isResizable()); | 182 | QVERIFY(client->isResizable()); | ||
183 | QVERIFY(client->property("maximizable").toBool()); | 183 | QVERIFY(client->property("maximizable").toBool()); | ||
184 | QVERIFY(client->property("moveable").toBool()); | 184 | QVERIFY(client->property("moveable").toBool()); | ||
185 | QVERIFY(client->property("moveableAcrossScreens").toBool()); | 185 | QVERIFY(client->property("moveableAcrossScreens").toBool()); | ||
186 | QVERIFY(client->property("resizeable").toBool()); | 186 | QVERIFY(client->property("resizeable").toBool()); | ||
187 | QCOMPARE(client->isInternal(), false); | ||||
188 | QVERIFY(client->effectWindow()); | ||||
189 | QVERIFY(!client->effectWindow()->internalWindow()); | ||||
187 | QCOMPARE(client->internalId().isNull(), false); | 190 | QCOMPARE(client->internalId().isNull(), false); | ||
188 | const auto uuid = client->internalId(); | 191 | const auto uuid = client->internalId(); | ||
189 | QUuid deletedUuid; | 192 | QUuid deletedUuid; | ||
190 | QCOMPARE(deletedUuid.isNull(), true); | 193 | QCOMPARE(deletedUuid.isNull(), true); | ||
191 | 194 | | |||
192 | connect(client, &ShellClient::windowClosed, this, [&deletedUuid] (Toplevel *, Deleted *d) { deletedUuid = d->internalId(); }); | 195 | connect(client, &ShellClient::windowClosed, this, [&deletedUuid] (Toplevel *, Deleted *d) { deletedUuid = d->internalId(); }); | ||
193 | 196 | | |||
194 | // now unmap | 197 | // now unmap | ||
▲ Show 20 Lines • Show All 1049 Lines • Show Last 20 Lines |