/*
   SPDX-FileCopyrightText: 2018-2021 Laurent Montel <montel@kde.org>

   SPDX-License-Identifier: GPL-2.0-or-later
*/

#include "sharetextplugineditortest.h"
#include "../sharetextplugineditor.h"
#include <KActionCollection>
#include <QTest>

ShareTextPluginEditorTest::ShareTextPluginEditorTest(QObject *parent)
    : QObject(parent)
{
}

ShareTextPluginEditorTest::~ShareTextPluginEditorTest()
{
}

void ShareTextPluginEditorTest::shouldHaveDefaultValue()
{
    ShareTextPluginEditor plugin;
    QVERIFY(plugin.createInterface(new KActionCollection(this)));
    QVERIFY(!plugin.hasPopupMenuSupport());
    QVERIFY(!plugin.hasConfigureDialog());
    QVERIFY(!plugin.hasToolBarSupport());
}

QTEST_MAIN(ShareTextPluginEditorTest)
