File indexing completed on 2024-11-24 04:43:56

0001 /*
0002    SPDX-FileCopyrightText: 2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 #include "folderarchivecomboboxtest.h"
0007 #include "folderarchivecombobox.h"
0008 #include <QTest>
0009 
0010 QTEST_MAIN(FolderArchiveComboBoxTest)
0011 
0012 FolderArchiveComboBoxTest::FolderArchiveComboBoxTest(QObject *parent)
0013     : QObject{parent}
0014 {
0015 }
0016 
0017 void FolderArchiveComboBoxTest::shouldHaveDefaultValues()
0018 {
0019     FolderArchiveComboBox w;
0020     QCOMPARE(w.count(), 3);
0021     QCOMPARE(w.type(), FolderArchiveAccountInfo::UniqueFolder);
0022 }
0023 
0024 #include "moc_folderarchivecomboboxtest.cpp"