Commit 335c39a8 authored by Laurent Montel's avatar Laurent Montel 😁

Add more autotests

parent 634dd530
......@@ -23,3 +23,4 @@ add_sieveeditor_autocreatescripts(selectheadersdialogtest.cpp "../sievecondition
add_sieveeditor_autocreatescripts(moveimapfolderwidgettest.cpp "../sieveactions/widgets/moveimapfolderwidget.cpp")
add_sieveeditor_autocreatescripts(sieveeditorgraphicalmodewidgettest.cpp "../sieveeditorgraphicalmodewidget.cpp;${ksieveui_sieveeditor_autocreatescripts_LIB_SRCS}")
add_sieveeditor_autocreatescripts(sievedatespinboxtest.cpp "")
add_sieveeditor_autocreatescripts(regexpeditorlineedittest.cpp "")
/*
Copyright (C) 2017 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 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 "regexpeditorlineedittest.h"
#include <QTest>
RegexpEditorLineEditTest::RegexpEditorLineEditTest(QObject *parent)
: QObject(parent)
{
}
QTEST_MAIN(RegexpEditorLineEditTest)
/*
Copyright (C) 2017 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 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 REGEXPEDITORLINEEDITTEST_H
#define REGEXPEDITORLINEEDITTEST_H
#include <QObject>
class RegexpEditorLineEditTest : public QObject
{
Q_OBJECT
public:
explicit RegexpEditorLineEditTest(QObject *parent = nullptr);
~RegexpEditorLineEditTest() = default;
};
#endif // REGEXPEDITORLINEEDITTEST_H
......@@ -21,10 +21,12 @@
#define REGEXPEDITORLINEEDIT_H
#include <KSieveUi/AbstractRegexpEditorLineEdit>
#include "ksieveui_private_export.h"
class QLineEdit;
namespace KSieveUi
{
class RegexpEditorLineEdit : public KSieveUi::AbstractRegexpEditorLineEdit
class KSIEVEUI_TESTS_EXPORT RegexpEditorLineEdit : public KSieveUi::AbstractRegexpEditorLineEdit
{
Q_OBJECT
public:
......
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