Commit 6737caaf authored by Laurent Montel's avatar Laurent Montel 😁

Start to create an unittest for sieve editor setting

parent ff92e7b4
......@@ -7,3 +7,7 @@ kde4_add_ui_files(sieveedit_serversievesettings_source
kde4_add_unit_test( serversievesettingstest ${sieveedit_serversievesettings_source})
target_link_libraries( serversievesettingstest ${QT_QTTEST_LIBRARY} ${KDE4_KDEUI_LIBS})
set( sieveeditorutiltest_source sieveeditorutiltest.cpp)
kde4_add_unit_test( sieveeditorutiltest ${sieveeditorutiltest_source})
target_link_libraries( sieveeditorutiltest ${QT_QTTEST_LIBRARY} ${KDE4_KDEUI_LIBS})
/*
Copyright (c) 2014 Montel Laurent <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 "sieveeditorutiltest.h"
#include <qtest_kde.h>
SieveEditorUtilTest::SieveEditorUtilTest(QObject *parent)
: QObject(parent)
{
}
SieveEditorUtilTest::~SieveEditorUtilTest()
{
}
QTEST_KDEMAIN(SieveEditorUtilTest, NoGUI)
/*
Copyright (c) 2014 Montel Laurent <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 SIEVEEDITORUTILTEST_H
#define SIEVEEDITORUTILTEST_H
#include <QObject>
class SieveEditorUtilTest : public QObject
{
Q_OBJECT
public:
explicit SieveEditorUtilTest(QObject *parent = 0);
~SieveEditorUtilTest();
};
#endif // SIEVEEDITORUTILTEST_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