File indexing completed on 2025-01-05 04:58:21
0001 /* 0002 SPDX-FileCopyrightText: 2014-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 0006 */ 0007 0008 #include "incidencesforwidgettest.h" 0009 #include "../incidencesforwidget.h" 0010 #include <QTest> 0011 0012 IncidencesForWidgetTest::IncidencesForWidgetTest(QObject *parent) 0013 : QObject(parent) 0014 { 0015 } 0016 0017 IncidencesForWidgetTest::~IncidencesForWidgetTest() = default; 0018 0019 void IncidencesForWidgetTest::shouldHaveDefaultValue() 0020 { 0021 PimCommon::IncidencesForWidget contentType; 0022 QVERIFY(contentType.count() == 3); 0023 QCOMPARE(contentType.currentIndex(), 0); 0024 } 0025 0026 QTEST_MAIN(IncidencesForWidgetTest) 0027 0028 #include "moc_incidencesforwidgettest.cpp"