Commit 17e2d2dc authored by Laurent Montel's avatar Laurent Montel
Browse files

Add autotest

parent 5a0d775b
......@@ -10,3 +10,4 @@ endmacro ()
add_messageviewer_remote_contents_unittest(remotecontentinfotest.cpp)
add_messageviewer_remote_contents_unittest(remotecontentconfiguredialogtest.cpp)
add_messageviewer_remote_contents_unittest(remotecontentconfigurewidgettest.cpp)
add_messageviewer_remote_contents_unittest(remotecontentmanagertest.cpp)
/*
SPDX-FileCopyrightText: 2021 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#include "remotecontentmanagertest.h"
#include "remote-content/remotecontentmanager.h"
#include <QTest>
QTEST_MAIN(RemoteContentManagerTest)
RemoteContentManagerTest::RemoteContentManagerTest(QObject *parent)
: QObject(parent)
{
}
void RemoteContentManagerTest::shouldHaveDefaultValues()
{
MessageViewer::RemoteContentManager m;
}
/*
SPDX-FileCopyrightText: 2021 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef REMOTECONTENTMANAGERTEST_H
#define REMOTECONTENTMANAGERTEST_H
#include <QObject>
class RemoteContentManagerTest : public QObject
{
Q_OBJECT
public:
explicit RemoteContentManagerTest(QObject *parent = nullptr);
~RemoteContentManagerTest() override = default;
private Q_SLOTS:
void shouldHaveDefaultValues();
};
#endif // REMOTECONTENTMANAGERTEST_H
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