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.
This commit is contained in:
parent
eb080395ef
commit
ea7779de42
1 changed files with 156 additions and 296 deletions
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue