Commit 363fa279 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Start create autotest

parent e82ad029
......@@ -416,6 +416,7 @@ if(BUILD_TESTING)
add_subdirectory(editor/warningwidgets/autotests)
add_subdirectory(sieveimapinterface/tests/)
add_subdirectory(undosend/autotests/)
add_subdirectory(job/autotests/)
endif()
########### install files ###############
......
macro(add_kmail_job_unittest _source)
get_filename_component(_name ${_source} NAME_WE)
ecm_add_test(${_source}
TEST_NAME ${_name}
LINK_LIBRARIES kmailprivate Qt5::Test Qt5::Widgets
)
endmacro ()
add_kmail_job_unittest(createreplymessagejobtest.cpp)
/*
Copyright (C) 2020 Laurent Montel <montel@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library 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
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include "createreplymessagejobtest.h"
#include <QTest>
QTEST_MAIN(CreateReplyMessageJobTest)
CreateReplyMessageJobTest::CreateReplyMessageJobTest(QObject *parent)
: QObject(parent)
{
}
/*
Copyright (C) 2020 Laurent Montel <montel@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library 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
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef CREATEREPLYMESSAGEJOBTEST_H
#define CREATEREPLYMESSAGEJOBTEST_H
#include <QObject>
class CreateReplyMessageJobTest : public QObject
{
Q_OBJECT
public:
explicit CreateReplyMessageJobTest(QObject *parent = nullptr);
~CreateReplyMessageJobTest() = default;
};
#endif // CREATEREPLYMESSAGEJOBTEST_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