File indexing completed on 2024-11-17 04:44:13

0001 /*
0002    SPDX-FileCopyrightText: 2017-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #include "externalcomposerplugineditortest.h"
0008 #include "../externalcomposerplugineditor.h"
0009 #include <QTest>
0010 
0011 ExternalComposerPluginEditorTest::ExternalComposerPluginEditorTest(QObject *parent)
0012     : QObject(parent)
0013 {
0014 }
0015 
0016 void ExternalComposerPluginEditorTest::shouldHaveDefaultValue()
0017 {
0018     ExternalComposerPluginEditor plugin;
0019     QVERIFY(plugin.hasConfigureDialog());
0020     auto interface = plugin.createInterface(nullptr);
0021     QVERIFY(interface);
0022     delete interface;
0023 }
0024 
0025 QTEST_MAIN(ExternalComposerPluginEditorTest)
0026 
0027 #include "moc_externalcomposerplugineditortest.cpp"