kwin/autotests/integration
Vlad Zahorodnii ea7779de42 autotests: Fix TestXdgShellClientRules
TestXdgShellClientRules implicitly assumes that the kwinrc config is
referenced only by the RuleBook object.

However, after changing the default placement policy in the
WaylandTestApplication, that's no longer the case. The kwinApp() object
now also holds a reference to the main config file. Because of that,
previous window rules leak to next tests, which breaks them.

In order to address that issue, this change makes TestXdgShellClientRules
open a separate config and wipe it clean after each test run. Not great,
but there doesn't seem to be other way around with current KSharedConfig
api.
2021-12-10 11:21:04 +02:00
..
data Prettify license headers 2020-08-07 19:57:56 +00:00
effects autotests: Pass parent object as last argument to createXdgToplevelSurface() and createXdgPopupSurface() 2021-12-09 11:03:59 +00:00
fakes Use versionless Qt cmake target 2021-01-30 17:18:21 +01:00
helper Use versionless Qt cmake target 2021-01-30 17:18:21 +01:00
protocols Implement the layer-shell v1 protocol 2020-09-03 18:11:44 +00:00
scripting effects: Link builtin effects with executables 2021-10-19 09:12:15 +00:00
activation_test.cpp autotests: Prepend KWayland::Client:: to Surface 2021-09-06 10:42:03 +00:00
activities_test.cpp autotests: Port common screen check preamble to AbstractOutput 2021-08-31 08:16:27 +00:00
buffer_size_change_test.cpp Move all dirty region scene repaint scheduling to Scene 2021-11-11 11:33:04 +02:00
CMakeLists.txt autotests: Use a shared library for the integration test framework 2021-11-29 14:04:54 +00:00
dbus_interface_test.cpp autotests: Fix TestDBusInterface 2021-09-30 10:29:06 +03:00
debug_console_test.cpp autotests: Prepend KWayland::Client:: to Surface 2021-09-06 10:42:03 +00:00
decoration_input_test.cpp autotests: Prepend KWayland::Client:: to Surface 2021-09-06 10:42:03 +00:00
desktop_window_x11_test.cpp autotests: Port common screen check preamble to AbstractOutput 2021-08-31 08:16:27 +00:00
dont_crash_aurorae_destroy_deco.cpp Introduce explicit base render backend type 2021-11-11 08:55:29 +00:00
dont_crash_cancel_animation.cpp autotests: Prepend KWayland::Client:: to Surface 2021-09-06 10:42:03 +00:00
dont_crash_cursor_physical_size_empty.cpp autotests: Prepend KWayland::Client:: to Surface 2021-09-06 10:42:03 +00:00
dont_crash_empty_deco.cpp Introduce explicit base render backend type 2021-11-11 08:55:29 +00:00
dont_crash_glxgears.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
dont_crash_no_border.cpp Introduce explicit base render backend type 2021-11-11 08:55:29 +00:00
dont_crash_reinitialize_compositor.cpp Introduce explicit base render backend type 2021-11-11 08:55:29 +00:00
dont_crash_useractions_menu.cpp autotests: Prepend KWayland::Client:: to Surface 2021-09-06 10:42:03 +00:00
generic_scene_opengl_test.cpp Move all dirty region scene repaint scheduling to Scene 2021-11-11 11:33:04 +02:00
generic_scene_opengl_test.h compositor: Merge the OpenGL 2 and 3 backends 2021-10-08 15:26:25 +00:00
globalshortcuts_test.cpp Move Xkb::LEDs enum to KWin namespace 2021-10-13 17:49:19 +00:00
idle_inhibition_test.cpp autotests: Prepend KWayland::Client:: to Surface 2021-09-06 10:42:03 +00:00
input_stacking_order.cpp autotests: Prepend KWayland::Client:: to Surface 2021-09-06 10:42:03 +00:00
inputmethod_test.cpp Fix inputmethodtest 2021-10-18 15:55:39 +00:00
internal_window.cpp Remove boolean trap in AbstractClient::isShown() 2021-11-24 08:11:35 +00:00
keyboard_layout_test.cpp Move Xkb::LEDs enum to KWin namespace 2021-10-13 17:49:19 +00:00
keymap_creation_failure_test.cpp Ensure we start our tests with wayland already initialised 2021-05-10 12:33:43 +00:00
kwin_wayland_test.cpp autotests: Use Smart placement by default 2021-11-29 09:54:52 +02:00
kwin_wayland_test.h autotests: Pass parent object as last argument to createXdgToplevelSurface() and createXdgPopupSurface() 2021-12-09 11:03:59 +00:00
kwinbindings_test.cpp autotests: Prepend KWayland::Client:: to Surface 2021-09-06 10:42:03 +00:00
layershellv1client_test.cpp autotests: Port common screen check preamble to AbstractOutput 2021-08-31 08:16:27 +00:00
lockscreen.cpp Introduce explicit base render backend type 2021-11-11 08:55:29 +00:00
maximize_test.cpp autotests: Pass parent object as last argument to createXdgToplevelSurface() and createXdgPopupSurface() 2021-12-09 11:03:59 +00:00
modifier_only_shortcut_test.cpp Move active output tracking to workspace 2021-08-30 13:28:23 +00:00
move_resize_window_test.cpp autotests: Pass parent object as last argument to createXdgToplevelSurface() and createXdgPopupSurface() 2021-12-09 11:03:59 +00:00
nightcolor_test.cpp NightColor: use config watcher to update state when configs are changed 2021-10-07 13:12:30 +00:00
no_global_shortcuts_test.cpp Move active output tracking to workspace 2021-08-30 13:28:23 +00:00
no_xdg_runtime_dir_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
outputmanagement_test.cpp Port autotests/integration/outputmanagement_test to kde_output_management_v2 2021-09-14 14:42:31 +00:00
placement_test.cpp autotests: Pass parent object as last argument to createXdgToplevelSurface() and createXdgPopupSurface() 2021-12-09 11:03:59 +00:00
plasma_surface_test.cpp autotests: Prepend KWayland::Client:: to Surface 2021-09-06 10:42:03 +00:00
plasmawindow_test.cpp autotests: Prepend KWayland::Client:: to Surface 2021-09-06 10:42:03 +00:00
platformcursor.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
pointer_constraints_test.cpp autotests: Prepend KWayland::Client:: to Surface 2021-09-06 10:42:03 +00:00
pointer_input.cpp autotests: Pass parent object as last argument to createXdgToplevelSurface() and createXdgPopupSurface() 2021-12-09 11:03:59 +00:00
quick_tiling_test.cpp autotests: Pass parent object as last argument to createXdgToplevelSurface() and createXdgPopupSurface() 2021-12-09 11:03:59 +00:00
scene_opengl_es_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
scene_opengl_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
scene_qpainter_test.cpp Move all dirty region scene repaint scheduling to Scene 2021-11-11 11:33:04 +02:00
screen_changes_test.cpp autotests: Port common screen check preamble to AbstractOutput 2021-08-31 08:16:27 +00:00
screenedge_client_show_test.cpp autotests: Port common screen check preamble to AbstractOutput 2021-08-31 08:16:27 +00:00
screenedges_test.cpp AbstractClient: split up hideClient into hide and show 2021-11-08 14:19:05 +00:00
screens_test.cpp autotests: Port common screen check preamble to AbstractOutput 2021-08-31 08:16:27 +00:00
shade_test.cpp autotests: Port common screen check preamble to AbstractOutput 2021-08-31 08:16:27 +00:00
showing_desktop_test.cpp autotests: Prepend KWayland::Client:: to Surface 2021-09-06 10:42:03 +00:00
stacking_order_test.cpp autotests: Port the tests to new xdg-shell helpers 2021-05-11 05:26:51 +00:00
struts_test.cpp autotests: Pass parent object as last argument to createXdgToplevelSurface() and createXdgPopupSurface() 2021-12-09 11:03:59 +00:00
tabbox_test.cpp autotests: Prepend KWayland::Client:: to Surface 2021-09-06 10:42:03 +00:00
test_helpers.cpp autotests: Pass parent object as last argument to createXdgToplevelSurface() and createXdgPopupSurface() 2021-12-09 11:03:59 +00:00
test_virtualkeyboard_dbus.cpp autotests: Fix VirtualKeyboardDBusTest 2021-06-22 16:28:45 +03:00
touch_input_test.cpp autotests: Pass parent object as last argument to createXdgToplevelSurface() and createXdgPopupSurface() 2021-12-09 11:03:59 +00:00
transient_placement.cpp autotests: Pass parent object as last argument to createXdgToplevelSurface() and createXdgPopupSurface() 2021-12-09 11:03:59 +00:00
virtual_desktop_test.cpp autotests: Prepend KWayland::Client:: to Surface 2021-09-06 10:42:03 +00:00
window_rules_test.cpp autotests: Port common screen check preamble to AbstractOutput 2021-08-31 08:16:27 +00:00
window_selection_test.cpp autotests: Prepend KWayland::Client:: to Surface 2021-09-06 10:42:03 +00:00
x11_client_test.cpp autotests: Prepend KWayland::Client:: to Surface 2021-09-06 10:42:03 +00:00
xdgshellclient_rules_test.cpp autotests: Fix TestXdgShellClientRules 2021-12-10 11:21:04 +02:00
xdgshellclient_test.cpp autotests: Pass parent object as last argument to createXdgToplevelSurface() and createXdgPopupSurface() 2021-12-09 11:03:59 +00:00
xwayland_input_test.cpp autotests: Port common screen check preamble to AbstractOutput 2021-08-31 08:16:27 +00:00
xwayland_selections_test.cpp Fix xwayland copying unit test 2021-09-09 11:13:02 +00:00
xwaylandserver_crash_test.cpp Move all dirty region scene repaint scheduling to Scene 2021-11-11 11:33:04 +02:00
xwaylandserver_restart_test.cpp Move all dirty region scene repaint scheduling to Scene 2021-11-11 11:33:04 +02:00