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

Add autotests

parent cd7e54d1
......@@ -52,5 +52,6 @@ install(PROGRAMS org.kde.pimsettingexporter.desktop DESTINATION ${KDE_INSTALL_AP
if(BUILD_TESTING)
add_subdirectory(tests)
add_subdirectory(autotests)
endif()
add_executable( synchronizeresourcedialogtest synchronizeresourcedialogtest.cpp)
add_test(synchronizeresourcedialogtest synchronizeresourcedialogtest)
ecm_mark_as_test(synchronizeresourcedialogtest)
target_link_libraries(synchronizeresourcedialogtest Qt5::Test Qt5::Widgets KF5::I18n)
/*
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 "synchronizeresourcedialogtest.h"
#include <QTest>
SynchronizeResourceDialogTest::SynchronizeResourceDialogTest(QObject *parent)
: QObject(parent)
{
}
SynchronizeResourceDialogTest::~SynchronizeResourceDialogTest()
{
}
QTEST_MAIN(SynchronizeResourceDialogTest)
/*
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 SYNCHRONIZERESOURCEDIALOGTEST_H
#define SYNCHRONIZERESOURCEDIALOGTEST_H
#include <QObject>
class SynchronizeResourceDialogTest : public QObject
{
Q_OBJECT
public:
explicit SynchronizeResourceDialogTest(QObject *parent = Q_NULLPTR);
~SynchronizeResourceDialogTest();
};
#endif // SYNCHRONIZERESOURCEDIALOGTEST_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