Commit 40729072 authored by Laurent Montel's avatar Laurent Montel 😁

Add more autotest

parent 1311af58
......@@ -8,6 +8,9 @@ macro(add_kmail_editorplugin_unittest _source _additional)
target_link_libraries( ${_name} Qt5::Test KF5::XmlGui KF5::IconThemes KF5::MessageComposer)
endmacro ()
add_kmail_editorplugin_unittest(rot13plugineditortest.cpp "../rot13plugineditor.cpp;../rot13plugineditorinterface.cpp")
add_kmail_editorplugin_unittest(rot13plugineditortest.cpp "../rot13plugineditor.cpp;../rot13plugineditorinterface.cpp;../rot13job.cpp")
add_kmail_editorplugin_unittest(rot13plugineditorinterfacetest.cpp "../rot13plugineditorinterface.cpp;../rot13job.cpp")
add_kmail_editorplugin_unittest(rot13jobtest.cpp "../rot13job.cpp")
add_kmail_editorplugin_unittest(rot13plugineditorinterfacetest.cpp "../rot13plugineditorinterface.cpp")
/*
Copyright (c) 2015 Montel Laurent <montel@kde.org>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "rot13jobtest.h"
#include <QTest>
Rot13JobTest::Rot13JobTest(QObject *parent)
: QObject(parent)
{
}
Rot13JobTest::~Rot13JobTest()
{
}
QTEST_MAIN(Rot13JobTest)
/*
Copyright (c) 2015 Montel Laurent <montel@kde.org>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef ROT13JOBTEST_H
#define ROT13JOBTEST_H
#include <QObject>
class Rot13JobTest : public QObject
{
Q_OBJECT
public:
explicit Rot13JobTest(QObject *parent = Q_NULLPTR);
~Rot13JobTest();
};
#endif // ROT13JOBTEST_H
......@@ -16,6 +16,7 @@
*/
#include "rot13plugineditorinterface.h"
#include "rot13job.h"
#include <KLocalizedString>
#include <KActionCollection>
#include <QAction>
......
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