File indexing completed on 2025-02-23 05:24:00

0001 /*
0002     SPDX-FileCopyrightText: 2019-2024 Laurent Montel <montel@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 
0006 */
0007 
0008 #include "kdebugsettingsloadingcategoriestest.h"
0009 #include "kdebugsettingsloadingcategories.h"
0010 #include <QTest>
0011 QTEST_GUILESS_MAIN(KDebugSettingsLoadingCategoriesTest)
0012 
0013 KDebugSettingsLoadingCategoriesTest::KDebugSettingsLoadingCategoriesTest(QObject *parent)
0014     : QObject(parent)
0015 {
0016 }
0017 
0018 void KDebugSettingsLoadingCategoriesTest::shouldHaveDefaultValues()
0019 {
0020     KDebugSettingsLoadingCategories w;
0021     QVERIFY(w.customCategories().isEmpty());
0022     QVERIFY(w.environmentrules().isEmpty());
0023     QVERIFY(w.renameCategoriesList().isEmpty());
0024     QVERIFY(w.categoriesList().isEmpty());
0025     QVERIFY(w.qtKdeCategories().isEmpty());
0026     QVERIFY(!w.foundOverrideRule());
0027 }
0028 
0029 #include "moc_kdebugsettingsloadingcategoriestest.cpp"