File indexing completed on 2024-12-01 04:35:24
0001 /* 0002 SPDX-FileCopyrightText: 2019-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #include "licensesmanagertest.h" 0008 #include "licenses/licensesmanager.h" 0009 #include <QTest> 0010 QTEST_GUILESS_MAIN(LicensesManagerTest) 0011 LicensesManagerTest::LicensesManagerTest(QObject *parent) 0012 : QObject{parent} 0013 { 0014 } 0015 0016 void LicensesManagerTest::shouldHaveDefaultValues() 0017 { 0018 LicensesManager w; 0019 QVERIFY(w.licenses().isEmpty()); 0020 QVERIFY(!w.hasLicense(QStringLiteral("bla"))); 0021 } 0022 0023 #include "moc_licensesmanagertest.cpp"