aboutsummaryrefslogtreecommitdiff
path: root/test/HostlistTest.h
blob: dcfd5a366e9e968f0efa7c50a0cd3a8188c16f0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <QtTest/QtTest>
#include "webengine/urlinterceptor.h"

class HostlistTest : public QObject
{
    Q_OBJECT

private slots:
    void initTestCase();
    void parse_ruleCount();
    void parse_blockSomehost();
    void parse_blockHost2();

private:
    QHash<QString, UrlRequestInterceptor::HostRule> rules;
};