Review Request 118082: Remove KUrlNavigator tests for ~ and ~username
Alex Merry
alex.merry at kde.org
Sun May 11 14:34:15 UTC 2014
> On May 11, 2014, 2: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")) {
> >
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.
- Alex
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/118082/#review57717
-----------------------------------------------------------
On May 11, 2014, 2 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, 2 p.m.)
>
>
> Review request for KDE Frameworks and Alexander Richardson.
>
>
> 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/b4227a75/attachment.html>
More information about the Kde-frameworks-devel
mailing list