1
0
Fork 0
mutter-performance-source/src/tests/stacking
Sebastian Keller d85c3c1e94 tests/stacking: Add test for when no default focus window can be found
The previous commit removed checks for intermediate focus states which
would make tests randomly fail, because of their time dependence. What
can be tested however is that if there is no other window available that
would accept the focus, that the focus remains at 'none', after the
focused window has been closed. This newly introduced test checks the
focus directly after closing the window (and syncing) and after the time
it would have taken for the queue to finish. The first check has a
similar timing issue as the removed focus checks in the other tests, but
the test will never accidentally fail, because regardless of whether the
queue has finished or not, the focus is always expected to be 'none'.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1329
2020-06-26 21:00:12 +00:00
..
basic-wayland.metatest Add a test framework and stacking tests 2014-09-12 13:14:51 -04:00
basic-x11.metatest Add a test framework and stacking tests 2014-09-12 13:14:51 -04:00
client-side-decorated.metatest Don't restack windows while we are unmanaging them 2014-09-16 13:44:42 -04:00
closed-transient-no-default-focus.metatest tests/stacking: Add test for when no default focus window can be found 2020-06-26 21:00:12 +00:00
closed-transient-no-input-no-take-focus-parent.metatest tests: Verify focused window in closed-transient tests 2019-06-24 09:42:07 +00:00
closed-transient-no-input-no-take-focus-parents.metatest tests: Verify focused window in closed-transient tests 2019-06-24 09:42:07 +00:00
closed-transient-no-input-parent-delayed-focus-default-cancelled.metatest tests/stacking: Don't test for time-dependent intermediate focus state 2020-06-26 21:00:12 +00:00
closed-transient-no-input-parent.metatest tests/stacking: Don't test for time-dependent intermediate focus state 2020-06-26 21:00:12 +00:00
closed-transient-no-input-parents-queued-default-focus-destroyed.metatest tests/stacking: Don't test for time-dependent intermediate focus state 2020-06-26 21:00:12 +00:00
closed-transient-no-input-parents.metatest tests/stacking: Don't test for time-dependent intermediate focus state 2020-06-26 21:00:12 +00:00
closed-transient-only-take-focus-parents.metatest tests/stacking: Avoid random failures in focus tests 2020-06-21 05:00:03 +02:00
closed-transient.metatest tests: Add "closed-transient" test 2018-07-30 17:48:42 +00:00
default-size.metatest tests/stacking: Add test checking the initial size 2020-05-07 23:15:25 +00:00
fullscreen-maximize.metatest tests/stacking: Test some maximize fullscreen interaction 2020-05-07 23:15:24 +00:00
minimized.metatest Add a test for stacking vs. minimization 2014-09-24 16:51:20 -04:00
mixed-windows.metatest Add a test framework and stacking tests 2014-09-12 13:14:51 -04:00
override-redirect.metatest test-runner: represent the guard window as '|' for assert_stacking 2014-09-24 16:26:17 -04:00
restore-position.metatest tests/stacking/restore-position: Always use wait_reconfigure 2020-05-29 14:47:10 +00:00
restore-size.metatest tests/restore-size: Also test that untiling restores correctly 2020-05-07 23:15:25 +00:00
set-override-redirect-parent.metatest window-props: Read WM_TRANSIENT_FOR for override-redirect windows 2019-11-07 18:43:16 +00:00
set-parent-exported.metatest tests: Add the "parent_exported" test 2018-07-18 14:31:38 +02:00
set-parent.metatest tests: Add test for testing that setting a parent affects the stack 2015-12-23 14:59:36 +08:00
unmaximize-new-size.metatest tests/stacking: Check that unmaximize to new size works 2020-05-07 23:15:24 +00:00