File indexing completed on 2025-01-05 05:18:57

0001 // SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org>
0002 //
0003 // SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0004 #include "kllmmodelcomboboxtest.h"
0005 #include "KLLMModelComboBox.h"
0006 #include <QTest>
0007 
0008 QTEST_MAIN(KLLMModelComboBoxTest)
0009 KLLMModelComboBoxTest::KLLMModelComboBoxTest(QObject *parent)
0010     : QObject{parent}
0011 {
0012 }
0013 
0014 KLLMModelComboBoxTest::~KLLMModelComboBoxTest() = default;
0015 
0016 void KLLMModelComboBoxTest::shouldHaveDefaultValues()
0017 {
0018     KLLMWidgets::KLLMModelComboBox w;
0019     QCOMPARE(w.count(), 0);
0020 }
0021 
0022 #include "moc_kllmmodelcomboboxtest.cpp"