Review Request 122981: add KGlobalAccel::loadShortcutFromGlobalSettings

Gregor Mi codestruct at posteo.org
Sun Mar 22 16:54:56 UTC 2015



> On March 22, 2015, 11:08 a.m., Martin Gräßlin wrote:
> > autotests/kglobalshortcuttest.cpp, lines 424-428
> > <https://git.reviewboard.kde.org/r/122981/diff/2/?file=356137#file356137line424>
> >
> >     please compare with the other test cases - there are verifications on whether kglobalacceld is running.
> 
> Gregor Mi wrote:
>     Now 4 other tests fail. Can you give me a quick hint if there is some persistent settings used by the unit tests which I can delete?

I tried this to debug one of the failing test cases:

$ strace -o aaa ./kglobalshortcuttest testFindActionByKey

and searched for stat("

So far, I found no file that was accessed which might contain any settings


- Gregor


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122981/#review77902
-----------------------------------------------------------


On March 22, 2015, 4:05 p.m., Gregor Mi wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/122981/
> -----------------------------------------------------------
> 
> (Updated March 22, 2015, 4:05 p.m.)
> 
> 
> Review request for KDE Frameworks, Martin Gräßlin and Thomas Lübking.
> 
> 
> Repository: kglobalaccel
> 
> 
> Description
> -------
> 
> In some cases you need to call loadShortcutFromGlobalSettings() in order not to get a an empty list when calling shortcut(). See discussion in https://git.reviewboard.kde.org/r/122249/.
> 
> 
> Diffs
> -----
> 
>   autotests/kglobalshortcuttest.h 2a7b40d34875e16345a659fb9764e4f536ad79c6 
>   autotests/kglobalshortcuttest.cpp 169bf92ffbff985cd4381e771c2fcecaff77156b 
>   src/kglobalaccel.h 3fe20ca8e4ec6ceb0bb9e54235aef7f1aeeb8c16 
>   src/kglobalaccel.cpp 1b6b3f5cb6d42401d684e6a491d12a6e57248fd1 
> 
> Diff: https://git.reviewboard.kde.org/r/122981/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Gregor Mi
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20150322/842e17aa/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list