diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-07-07 19:45:45 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-07-07 19:45:45 +0200 |
commit | 0e4ee2ed1c64130262e42ddfc87f2d8944c5a10c (patch) | |
tree | 45b852937529d19101dee06c82c924c57c3a47aa /test | |
parent | Add web/urlfilter (diff) | |
download | smolbote-0e4ee2ed1c64130262e42ddfc87f2d8944c5a10c.tar.xz |
Integrate urlfilter with urlrequestinterceptor
Diffstat (limited to 'test')
-rw-r--r-- | test/urlfilter/urlfiltertest.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/urlfilter/urlfiltertest.cpp b/test/urlfilter/urlfiltertest.cpp index f7ae0fb..eb12421 100644 --- a/test/urlfilter/urlfiltertest.cpp +++ b/test/urlfilter/urlfiltertest.cpp @@ -47,14 +47,7 @@ void UrlFilterTest::matchingDomain() QFETCH(QString, domain); QFETCH(bool, result); - filterDomain.setType(FilterDomain::Whitelist); QCOMPARE(filterDomain.hasMatch(domain), result); - filterDomain.setType(FilterDomain::Blacklist); - QCOMPARE(filterDomain.hasMatch(domain), !result); - filterDomain.setType(FilterDomain::WhitelistAll); - QCOMPARE(filterDomain.hasMatch(domain), true); - filterDomain.setType(FilterDomain::BlacklistAll); - QCOMPARE(filterDomain.hasMatch(domain), false); } void UrlFilterTest::matchingType_data() |