ea7779de42
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. |
||
---|---|---|
.. | ||
integration | ||
libinput | ||
libkwineffects | ||
libxrenderutils | ||
tabbox | ||
CMakeLists.txt | ||
onscreennotificationtest.cpp | ||
onscreennotificationtest.h | ||
opengl_context_attribute_builder_test.cpp | ||
test_client_machine.cpp | ||
test_ftrace.cpp | ||
test_gestures.cpp | ||
test_screen_paint_data.cpp | ||
test_virtual_desktops.cpp | ||
test_window_paint_data.cpp | ||
test_x11_timestamp_update.cpp | ||
test_xcb_size_hints.cpp | ||
test_xcb_window.cpp | ||
test_xcb_wrapper.cpp | ||
test_xkb.cpp | ||
testutils.h |