File indexing completed on 2025-01-19 04:46:43
0001 /* 0002 SPDX-FileCopyrightText: 2016-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #include "confirmaddressplugintest.h" 0008 #include "../confirmaddressplugin.h" 0009 #include <QStandardPaths> 0010 #include <QTest> 0011 0012 ConfirmAddressPluginTest::ConfirmAddressPluginTest(QObject *parent) 0013 : QObject(parent) 0014 { 0015 QStandardPaths::setTestModeEnabled(true); 0016 } 0017 0018 ConfirmAddressPluginTest::~ConfirmAddressPluginTest() = default; 0019 0020 void ConfirmAddressPluginTest::shouldHaveDefaultValue() 0021 { 0022 ConfirmAddressPlugin plugin; 0023 QVERIFY(plugin.hasConfigureDialog()); 0024 QVERIFY(plugin.createInterface(this)); 0025 } 0026 0027 QTEST_MAIN(ConfirmAddressPluginTest) 0028 0029 #include "moc_confirmaddressplugintest.cpp"