/* * This file is part of smolbote. It's copyrighted by the contributors recorded * in the version control history of the file, available from its original * location: git://neueland.iserlohn-fortress.net/smolbote.git * * SPDX-License-Identifier: GPL-3.0 */ #ifndef FILTERTEST_H #define FILTERTEST_H #include class FilterRule; class FilterTest : public QObject { Q_OBJECT public: explicit FilterTest(QObject *parent = nullptr); signals: private slots: void initTestCase(); void testAddressBlock(); void testDomainBlock(); void testExactAddressBlock(); void cleanupTestCase(); private: FilterRule *addressRule; FilterRule *domainRule; FilterRule *exactAddressRule; }; #endif // FILTERTEST_H