Diffusion KWin 260646ed6260

Delete kglobalshortcutsrc before executing a test

Authored by graesslin on Nov 16 2018, 7:07 PM.

Description

Delete kglobalshortcutsrc before executing a test

Summary:
When running the complete test suite the ScriptedEffectsTest::testShortcuts
registers the shortcut meta+shift+y. But GlobalShortcutsTest::testX11ClientShortcut
also tries to use this shortcut for a window shortcut which fails if it
is already registered. So when running the complete test suite it
depends on the order of execution whether the GlobalShortcutsTest passes
or not.

Test should be clean - also the globalshortcuts. As the config is read
from test directory anyway, we can delete the file prior to init of
kglobalaccel.

Test Plan: Run ctest, test did not fail anymore

Reviewers: KWin

Subscribers: kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D16932

Details

Committed
graesslinDec 1 2018, 11:13 AM
Differential Revision
D16932: Delete kglobalshortcutsrc before executing a test
Parents
R108:fa4f123fba2e: Add button to dynamically resize virtual keyboard
Branches
Unknown
Tags
Unknown