Changeset View
Changeset View
Standalone View
Standalone View
autotests/integration/effects/fade_test.cpp
Show First 20 Lines • Show All 110 Lines • ▼ Show 20 Line(s) | 105 | { | |||
---|---|---|---|---|---|
111 | QVERIFY(!e->isEffectLoaded(QStringLiteral("kwin4_effect_fade"))); | 111 | QVERIFY(!e->isEffectLoaded(QStringLiteral("kwin4_effect_fade"))); | ||
112 | m_fadeEffect = nullptr; | 112 | m_fadeEffect = nullptr; | ||
113 | } | 113 | } | ||
114 | 114 | | |||
115 | void FadeTest::testWindowCloseAfterWindowHidden_data() | 115 | void FadeTest::testWindowCloseAfterWindowHidden_data() | ||
116 | { | 116 | { | ||
117 | QTest::addColumn<Test::XdgShellSurfaceType>("type"); | 117 | QTest::addColumn<Test::XdgShellSurfaceType>("type"); | ||
118 | 118 | | |||
119 | QTest::newRow("xdgShellV6") << Test::XdgShellSurfaceType::XdgShellV6; | | |||
120 | QTest::newRow("xdgWmBase") << Test::XdgShellSurfaceType::XdgShellStable; | 119 | QTest::newRow("xdgWmBase") << Test::XdgShellSurfaceType::XdgShellStable; | ||
121 | } | 120 | } | ||
122 | 121 | | |||
123 | void FadeTest::testWindowCloseAfterWindowHidden() | 122 | void FadeTest::testWindowCloseAfterWindowHidden() | ||
124 | { | 123 | { | ||
125 | // this test simulates the showing/hiding/closing of a Wayland window | 124 | // this test simulates the showing/hiding/closing of a Wayland window | ||
126 | // especially the situation that a window got unmapped and destroyed way later | 125 | // especially the situation that a window got unmapped and destroyed way later | ||
127 | QVERIFY(!m_fadeEffect->isActive()); | 126 | QVERIFY(!m_fadeEffect->isActive()); | ||
▲ Show 20 Lines • Show All 53 Lines • Show Last 20 Lines |