Review Request 129381: kconfig fix kconfigskeletontest

Allen Winter winter at kde.org
Sat Nov 12 13:56:51 UTC 2016



> On Nov. 11, 2016, 11:37 p.m., Aleix Pol Gonzalez wrote:
> > autotests/kconfigskeletontest.cpp, line 145
> > <https://git.reviewboard.kde.org/r/129381/diff/1/?file=484685#file484685line145>
> >
> >     I'm guessing that this was trying to make sure mMyBool is changed upon `s->read()`?

right, so could keep the mMyBool = true and change the last compare to QCOMPARE(mMyBool, true);


- Allen


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


On Nov. 11, 2016, 10:14 p.m., Allen Winter wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/129381/
> -----------------------------------------------------------
> 
> (Updated Nov. 11, 2016, 10:14 p.m.)
> 
> 
> Review request for KDE Frameworks.
> 
> 
> Repository: kconfig
> 
> 
> Description
> -------
> 
> some kconfigskeletontest tests were failing. this patch fixes:
> 
> 1) rename init() and cleanup() to initTestCase() and cleanupTestCase() by convention and to make sure they happen in the correct order
> 2) testRemoveItem() must come after testKConfigDirty() becuase it removes the item we test for dirtyness
> 3) fix testSaveRead()
> 
> 
> Diffs
> -----
> 
>   autotests/kconfigskeletontest.h 5cdcc9d 
>   autotests/kconfigskeletontest.cpp 898366c 
> 
> Diff: https://git.reviewboard.kde.org/r/129381/diff/
> 
> 
> Testing
> -------
> 
> before some of the tests fail and now they all pass.
> 
> 
> Thanks,
> 
> Allen Winter
> 
>

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


More information about the Kde-frameworks-devel mailing list