Review Request 118082: Remove KUrlNavigator tests for ~ and ~username
Alexander Richardson
arichardson.kde at googlemail.com
Sun May 11 14:30:18 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/118082/#review57717
-----------------------------------------------------------
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")) {
- Alexander Richardson
On May 11, 2014, 4 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 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/17d02c56/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list