Commit 95cf586e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add autotest

parent b511c567
...@@ -3,3 +3,7 @@ ecm_add_tests(texthtmlbuildertest.cpp ...@@ -3,3 +3,7 @@ ecm_add_tests(texthtmlbuildertest.cpp
LINK_LIBRARIES KF5::PimTextEdit Qt5::Test Qt5::Widgets Grantlee5::TextDocument LINK_LIBRARIES KF5::PimTextEdit Qt5::Test Qt5::Widgets Grantlee5::TextDocument
) )
ecm_add_tests(plaintextmarkupbuildertest.cpp
NAME_PREFIX "kpimtextedit-grantleebuilder-"
LINK_LIBRARIES KF5::PimTextEdit Qt5::Test Qt5::Widgets Grantlee5::TextDocument
)
/*
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 "plaintextmarkupbuildertest.h"
#include <QTest>
QTEST_MAIN(PlainTextMarkupBuilderTest)
PlainTextMarkupBuilderTest::PlainTextMarkupBuilderTest(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 PLAINTEXTMARKUPBUILDERTEST_H
#define PLAINTEXTMARKUPBUILDERTEST_H
#include <QObject>
class PlainTextMarkupBuilderTest : public QObject
{
Q_OBJECT
public:
explicit PlainTextMarkupBuilderTest(QObject *parent = nullptr);
~PlainTextMarkupBuilderTest() = default;
};
#endif // PLAINTEXTMARKUPBUILDERTEST_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