kwin/autotests/integration/effects
Vlad Zagorodniy 72b9a75cd7 [autotests] Avoid useless waits in testToplevelOpenCloseAnimation
Summary:
Use QTRY_VERIFY instead of qWait + QVERIFY to avoid useless waits.
Effects like scale or glide don't last longer than 200ms.

Test Plan:
Before:
    $ dbus-run-session ctest -R testToplevelOpenCloseAnimation
    Test project /home/vlad/Workspace/KDE/build/kde/workspace/kwin
        Start 123: kwin-testToplevelOpenCloseAnimation
    1/2 Test #123: kwin-testToplevelOpenCloseAnimation ...............   Passed    6.43 sec
        Start 124: kwin-testToplevelOpenCloseAnimation-waylandonly
    2/2 Test #124: kwin-testToplevelOpenCloseAnimation-waylandonly ...   Passed    6.33 sec

    100% tests passed, 0 tests failed out of 2

    Total Test time (real) =  12.76 sec

After:
    $ dbus-run-session ctest -R testToplevelOpenCloseAnimation
    Test project /home/vlad/Workspace/KDE/build/kde/workspace/kwin
        Start 123: kwin-testToplevelOpenCloseAnimation
    1/2 Test #123: kwin-testToplevelOpenCloseAnimation ...............   Passed    2.05 sec
        Start 124: kwin-testToplevelOpenCloseAnimation-waylandonly
    2/2 Test #124: kwin-testToplevelOpenCloseAnimation-waylandonly ...   Passed    2.00 sec

    100% tests passed, 0 tests failed out of 2

    Total Test time (real) =   4.05 sec

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: davidedmundson, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D17989
2019-01-05 18:32:14 +02:00
..
scripts [scripting] Introduce complete function 2018-11-17 13:44:20 +02:00
CMakeLists.txt [autotests] Test window open/close animations 2018-12-14 21:11:42 +02:00
fade_test.cpp Fix FadeTest and TranslucencyTest when started without install 2018-11-07 09:34:38 +01:00
scripted_effects_test.cpp [scripting] Introduce complete function 2018-11-17 13:44:20 +02:00
slidingpopups_test.cpp Fix slidingpopupstest when run without installtion 2018-11-07 10:51:07 +01:00
toplevel_open_close_animation_test.cpp [autotests] Avoid useless waits in testToplevelOpenCloseAnimation 2019-01-05 18:32:14 +02:00
translucency_test.cpp Fix FadeTest and TranslucencyTest when started without install 2018-11-07 09:34:38 +01:00
windowgeometry_test.cpp
wobbly_shade_test.cpp