#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; };