File indexing completed on 2025-01-19 04:47:00

0001 /*
0002    SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 #include "adblockmanagertest.h"
0007 #include "adblockmanager.h"
0008 #include <QStandardPaths>
0009 #include <QTest>
0010 QTEST_MAIN(AdblockManagerTest)
0011 AdblockManagerTest::AdblockManagerTest(QObject *parent)
0012     : QObject{parent}
0013 {
0014     QStandardPaths::setTestModeEnabled(true);
0015 }
0016 
0017 void AdblockManagerTest::shouldHaveDefaultValues()
0018 {
0019     AdblockManager m;
0020     QVERIFY(m.adblockFilterLists().isEmpty());
0021 }
0022 
0023 #include "moc_adblockmanagertest.cpp"