File indexing completed on 2025-01-26 04:52:14
0001 /* 0002 * SPDX-FileCopyrightText: 2020-2024 Laurent Montel <montel@kde.org> 0003 * 0004 * SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #include "ldapclientsearchconfigreadconfigjobtest.h" 0008 #include "ldapclientsearchconfigreadconfigjob.h" 0009 #include <QTest> 0010 QTEST_MAIN(LdapClientSearchConfigReadConfigJobTest) 0011 LdapClientSearchConfigReadConfigJobTest::LdapClientSearchConfigReadConfigJobTest(QObject *parent) 0012 : QObject(parent) 0013 { 0014 } 0015 0016 void LdapClientSearchConfigReadConfigJobTest::shouldHaveDefaultValues() 0017 { 0018 KLDAPWidgets::LdapClientSearchConfigReadConfigJob job; 0019 QVERIFY(!job.active()); 0020 QCOMPARE(job.serverIndex(), -1); 0021 QVERIFY(!job.canStart()); 0022 } 0023 0024 #include "moc_ldapclientsearchconfigreadconfigjobtest.cpp"