Review Request 119270: Autotest for corona restore and behavior

Marco Martin notmart at gmail.com
Mon Jul 14 15:13:49 UTC 2014



> On July 14, 2014, 1:40 p.m., David Edmundson wrote:
> > autotests/coronatest.cpp, lines 99-100
> > <https://git.reviewboard.kde.org/r/119270/diff/1/?file=290064#file290064line99>
> >
> >     This will wipe the tester's settings, no?

yep, that's the intention, other tests do that as well:
QStandardPaths::setTestModeEnabled(true); will make every path returned by qstandardpaths in ~/.qttests , so it ensures it doesn't touch the real system config (and ensures that the tests start from a blank space)


- Marco


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


On July 14, 2014, 12:30 p.m., Marco Martin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/119270/
> -----------------------------------------------------------
> 
> (Updated July 14, 2014, 12:30 p.m.)
> 
> 
> Review request for KDE Frameworks and Plasma.
> 
> 
> Repository: plasma-framework
> 
> 
> Description
> -------
> 
> This is a simple autotest for loading a simple corona, checking that the uiready signals are emitted, that adding and removing applets work, and the immutability settings do work.
> 
> The test is now passing and pretty basic, if someone can think about any new things to test, please add in the test ;)
> 
> 
> Diffs
> -----
> 
>   autotests/CMakeLists.txt 060132d 
>   autotests/coronatest.h PRE-CREATION 
>   autotests/coronatest.cpp PRE-CREATION 
>   autotests/coronatestresources.qrc PRE-CREATION 
>   autotests/plasma-test-appletsrc PRE-CREATION 
>   src/plasma/corona.cpp e18f081 
>   src/plasma/private/containment_p.cpp f8b4578 
> 
> Diff: https://git.reviewboard.kde.org/r/119270/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Marco Martin
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140714/1c7d43dc/attachment.html>


More information about the Kde-frameworks-devel mailing list