Review Request 120941: Fix unit test failures that result from incorrect KUrl -> QUrl porting

Frank Reininghaus frank78ac at googlemail.com
Sun Nov 2 06:16:19 GMT 2014


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

(Updated Nov. 2, 2014, 6:16 vorm.)


Review request for Dolphin.


Changes
-------

I missed some more places where a QString was passed to the QUrl constructor instead of using QUrl::fromLocalFile(QString&). Two of them were harmless, but the tests which check that the expanded directories do **not** contain a particular QUrl were effectively disabled by this porting error.


Repository: kde-baseapps


Description
-------

https://git.reviewboard.kde.org/r/120650/ introduced a couple of unit test failures by replacing KUrl functions with QUrl functions which are not semantically equivalent. This patch fixes these.


Diffs (updated)
-----

  dolphin/src/tests/kfileitemmodeltest.cpp 758699d 

Diff: https://git.reviewboard.kde.org/r/120941/diff/


Testing
-------

kfileitemmodeltest is down from 6 failures to 1 - the last one is there since the frameworks port was started. I'll try to have a look at that one soon.


Thanks,

Frank Reininghaus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20141102/b1d5238e/attachment.htm>


More information about the kfm-devel mailing list