Review Request 118082: Remove KUrlNavigator tests for ~ and ~username
Alexander Richardson
arichardson.kde at googlemail.com
Sun May 11 14:59:22 UTC 2014
> On May 11, 2014, 4:30 p.m., Alexander Richardson wrote:
> > KUrlNavigator effectively depends on kshorturifilter and kurisearchfilter, wouldn't it make sense to have them with kurlnavigator?
> >
> > see line 972 of kurlnavigator.cpp: if (KUriFilter::self()->filterUri(filteredData, QStringList() << "kshorturifilter" << "kurisearchfilter")) {
> >
>
> Alex Merry wrote:
> Well, in that case, the correct solution is to ship those plugins with kio instead of kio-extras. I can do that move (and preserve the history) if you like, and David is happy with that.
I ported all the kurifilter plugins away from kdelibs4support and AFAIK they don't add any new dependencies to KIO, so I think they should go there.
- Alexander
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/118082/#review57717
-----------------------------------------------------------
On May 11, 2014, 4:34 p.m., Alex Merry wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/118082/
> -----------------------------------------------------------
>
> (Updated May 11, 2014, 4:34 p.m.)
>
>
> Review request for KDE Frameworks, Alexander Richardson and David Faure.
>
>
> Repository: kio
>
>
> Description
> -------
>
> Remove KUrlNavigator tests for ~ and ~username
>
> These depended on a KUriFilter plugin shipped with kio-extras, which
> meant the test would fail if that was not installed.
>
> A better approach to this test might be to provide a fake kurifilter
> plugin (and use it to test KUriFilter directly), and check that it works
> via KUrlNavigator as well.
>
>
> Diffs
> -----
>
> autotests/kurlnavigatortest.cpp e09944a89c7d2b3ed341003de1bd02ea75293758
>
> Diff: https://git.reviewboard.kde.org/r/118082/diff/
>
>
> Testing
> -------
>
> The kiowidgets-kurlnavigator test now passes without kio-extras installed.
>
>
> Thanks,
>
> Alex Merry
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140511/bed4f732/attachment.html>
More information about the Kde-frameworks-devel
mailing list