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