Commit 22145816 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add more autotest

parent bb14ea2e
Pipeline #124584 passed with stage
in 14 minutes and 16 seconds
......@@ -12,3 +12,4 @@ endmacro ()
add_messageviewer_openwithurl_unittest(openurlwithconfigurewidgettest.cpp)
add_messageviewer_openwithurl_unittest(openurlwithconfiguredialogtest.cpp)
add_messageviewer_openwithurl_unittest(openurlwithconfigurecreatedialogtest.cpp)
add_messageviewer_openwithurl_unittest(openurlwithconfigurecreatewidgettest.cpp)
/*
SPDX-FileCopyrightText: 2022 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "openurlwithconfigurecreatewidgettest.h"
#include "openurlwithconfigurecreatewidget.h"
#include <QTest>
QTEST_MAIN(OpenUrlWithConfigureCreateWidgetTest)
OpenUrlWithConfigureCreateWidgetTest::OpenUrlWithConfigureCreateWidgetTest(QObject *parent)
: QObject{parent}
{
}
void OpenUrlWithConfigureCreateWidgetTest::shouldHaveDefaultValues()
{
OpenUrlWithConfigureCreateWidget w;
}
/*
SPDX-FileCopyrightText: 2022 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include <QObject>
class OpenUrlWithConfigureCreateWidgetTest : public QObject
{
Q_OBJECT
public:
explicit OpenUrlWithConfigureCreateWidgetTest(QObject *parent = nullptr);
~OpenUrlWithConfigureCreateWidgetTest() override = default;
private Q_SLOTS:
void shouldHaveDefaultValues();
};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment