File indexing completed on 2024-11-24 04:43:02
0001 /* 0002 SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #include "mergecontactselectinformationwidgettest.h" 0008 #include "widgets/mergecontactselectinformationwidget.h" 0009 #include "widgets/mergecontactselectlistwidget.h" 0010 #include <QLayout> 0011 #include <QTest> 0012 MergeContactSelectInformationWidgetTest::MergeContactSelectInformationWidgetTest(QObject *parent) 0013 : QObject(parent) 0014 { 0015 } 0016 0017 MergeContactSelectInformationWidgetTest::~MergeContactSelectInformationWidgetTest() = default; 0018 0019 void MergeContactSelectInformationWidgetTest::shouldHaveDefaultValue() 0020 { 0021 KABMergeContacts::MergeContactSelectInformationWidget w; 0022 QCOMPARE(w.layout()->count(), 0); 0023 } 0024 0025 QTEST_MAIN(MergeContactSelectInformationWidgetTest) 0026 0027 #include "moc_mergecontactselectinformationwidgettest.cpp"