Commit 8e55e425 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add autotest

parent dee56540
......@@ -30,6 +30,13 @@ add_test(NAME resourceconverterclasstest COMMAND resourceconverterclasstest)
ecm_mark_as_test(resourceconverterclasstest)
target_link_libraries( resourceconverterclasstest Qt5::Test KF5::ConfigCore test_resourceconverter)
#####
set( backupresourcefilejobtest_SRCS backupresourcefilejobtest.cpp )
add_executable( backupresourcefilejobtest ${backupresourcefilejobtest_SRCS})
add_test(NAME backupresourcefilejobtest COMMAND backupresourcefilejobtest)
ecm_mark_as_test(backupresourcefilejobtest)
target_link_libraries( backupresourcefilejobtest Qt5::Test KF5::ConfigCore pimdataexporterprivate)
###
add_subdirectory(notes)
add_subdirectory(calendar)
......
/*
Copyright (C) 2020 Laurent Montel <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 as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
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; see the file COPYING. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include "backupresourcefilejobtest.h"
#include <QTest>
QTEST_MAIN(backupResourceFileJobTest)
backupResourceFileJobTest::backupResourceFileJobTest(QObject *parent)
: QObject(parent)
{
}
/*
Copyright (C) 2020 Laurent Montel <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 as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
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; see the file COPYING. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef BACKUPRESOURCEFILEJOBTEST_H
#define BACKUPRESOURCEFILEJOBTEST_H
#include <QObject>
class backupResourceFileJobTest : public QObject
{
Q_OBJECT
public:
explicit backupResourceFileJobTest(QObject *parent = nullptr);
~backupResourceFileJobTest() = default;
};
#endif // BACKUPRESOURCEFILEJOBTEST_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