diff options
Diffstat (limited to 'test/urlfilter/adblocktest.cpp')
-rw-r--r-- | test/urlfilter/adblocktest.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/urlfilter/adblocktest.cpp b/test/urlfilter/adblocktest.cpp index d1060f1..58bafc5 100644 --- a/test/urlfilter/adblocktest.cpp +++ b/test/urlfilter/adblocktest.cpp @@ -37,4 +37,9 @@ void AdBlockTest::blockExactAddress() QCOMPARE(rule.shouldBlock(QUrl("http://example.info/redirect/http://example.com/")), false); } +void AdBlockTest::parseOptions() +{ + AdBlockRule rule("annoying_banners/ads$image,script"); +} + QTEST_GUILESS_MAIN(AdBlockTest) |