Review Request 123588: Port kdelibs4configmigratortest to QStandardPaths, so it works on other platforms than XDG.

David Faure faure at kde.org
Sat May 2 08:50:25 UTC 2015


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



autotests/kdelibs4configmigratortest.cpp (line 85)
<https://git.reviewboard.kde.org/r/123588/#comment54639>

    The copy that happens above is for creating the KDE4 test files, right?
    
    My QCOMPARE is to ensure that the KF5 file doesn't exist yet. I'm just reusing that foreach loop, really.
    
    The point is to then check the same after migrate() and see that the KF5 file was created.
    
    I can repeat the foreach() if you think it's more readable.


- David Faure


On May 2, 2015, 8:17 a.m., David Faure wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/123588/
> -----------------------------------------------------------
> 
> (Updated May 2, 2015, 8:17 a.m.)
> 
> 
> Review request for KDE Frameworks and Laurent Montel.
> 
> 
> Repository: kcoreaddons
> 
> 
> Description
> -------
> 
> Port kdelibs4configmigratortest to QStandardPaths, so it works on other platforms than XDG.
> 
> 
> Diffs
> -----
> 
>   autotests/kdelibs4configmigratortest.cpp 0affd2a6bc86f8e4cad04dd662e1298d34b1e7c1 
> 
> Diff: https://git.reviewboard.kde.org/r/123588/diff/
> 
> 
> Testing
> -------
> 
> Still passes on Linux, we'll see if the CI says it fixed it for Mac.
> 
> Failure before the fix:
> https://build.kde.org/view/Frameworks%20kf5-qt5/job/kcoreaddons%20master%20kf5-qt5/PLATFORM=OSX,compiler=clang/17/testReport/junit/%28root%29/TestSuite/kdelibs4configmigratortest/
> 
> 
> Thanks,
> 
> David Faure
> 
>

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


More information about the Kde-frameworks-devel mailing list