Changeset View
Changeset View
Standalone View
Standalone View
autotests/integration/debug_console_test.cpp
Show First 20 Lines • Show All 515 Lines • ▼ Show 20 Line(s) | 507 | { | |||
---|---|---|---|---|---|
516 | QVERIFY(clientAddedSpy.isValid()); | 516 | QVERIFY(clientAddedSpy.isValid()); | ||
517 | console->show(); | 517 | console->show(); | ||
518 | QCOMPARE(console->windowHandle()->isVisible(), true); | 518 | QCOMPARE(console->windowHandle()->isVisible(), true); | ||
519 | QTRY_COMPARE(clientAddedSpy.count(), 1); | 519 | QTRY_COMPARE(clientAddedSpy.count(), 1); | ||
520 | ShellClient *c = clientAddedSpy.first().first().value<ShellClient*>(); | 520 | ShellClient *c = clientAddedSpy.first().first().value<ShellClient*>(); | ||
521 | QVERIFY(c->isInternal()); | 521 | QVERIFY(c->isInternal()); | ||
522 | QCOMPARE(c->internalWindow(), console->windowHandle()); | 522 | QCOMPARE(c->internalWindow(), console->windowHandle()); | ||
523 | QVERIFY(c->isDecorated()); | 523 | QVERIFY(c->isDecorated()); | ||
524 | QCOMPARE(c->isMinimizable(), false); | ||||
524 | c->closeWindow(); | 525 | c->closeWindow(); | ||
525 | QVERIFY(destroyedSpy.wait()); | 526 | QVERIFY(destroyedSpy.wait()); | ||
526 | } | 527 | } | ||
527 | 528 | | |||
528 | } | 529 | } | ||
529 | 530 | | |||
530 | WAYLANDTEST_MAIN(KWin::DebugConsoleTest) | 531 | WAYLANDTEST_MAIN(KWin::DebugConsoleTest) | ||
531 | #include "debug_console_test.moc" | 532 | #include "debug_console_test.moc" |