File indexing completed on 2025-01-05 04:58:19
0001 /* 0002 SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #include "addresseelineeditbalootest.h" 0008 #include "addressline/addresslineedit/addresseelineeditbaloo.h" 0009 #include <QStandardPaths> 0010 #include <QTest> 0011 QTEST_MAIN(AddresseeLineEditBalooTest) 0012 0013 AddresseeLineEditBalooTest::AddresseeLineEditBalooTest(QObject *parent) 0014 : QObject{parent} 0015 { 0016 QStandardPaths::setTestModeEnabled(true); 0017 } 0018 0019 void AddresseeLineEditBalooTest::shouldHaveDefaultValues() 0020 { 0021 PimCommon::AddresseeLineEditBaloo b; 0022 QVERIFY(b.balooBlackList().isEmpty()); 0023 QVERIFY(b.domainExcludeList().isEmpty()); 0024 QCOMPARE(b.balooCompletionSource(), 0); 0025 } 0026 0027 #include "moc_addresseelineeditbalootest.cpp"