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

Create autotest

parent bc7b861a
Pipeline #66167 canceled with stage
......@@ -12,4 +12,5 @@ add_messagelist_widget_unittest(searchlinestatustest.cpp)
add_messagelist_widget_unittest(searchcollectionindexingwarningtest.cpp)
add_messagelist_widget_unittest(tablockedwarningtest.cpp)
add_messagelist_widget_unittest(configurefilterswidgettest.cpp)
add_messagelist_widget_unittest(filternamewidgettest.cpp)
/*
SPDX-FileCopyrightText: 2021 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "filternamewidgettest.h"
#include "core/widgets/filternamewidget.h"
#include <QTest>
QTEST_MAIN(FilterNameWidgetTest)
FilterNameWidgetTest::FilterNameWidgetTest(QObject *parent)
: QObject(parent)
{
}
void FilterNameWidgetTest::shouldHaveDefaultValues()
{
MessageList::Core::FilterNameWidget w;
// TODO
}
/*
SPDX-FileCopyrightText: 2021 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include <QObject>
class FilterNameWidgetTest : public QObject
{
Q_OBJECT
public:
explicit FilterNameWidgetTest(QObject *parent = nullptr);
~FilterNameWidgetTest() 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