Commit 91770714 authored by Laurent Montel's avatar Laurent Montel 😁

Add more autotest

parent 5eab8e45
......@@ -25,3 +25,11 @@ add_executable(akonadicontactselecttypecomboboxtest ${akonadicontactselecttypeco
add_test(akonadicontactselecttypecomboboxtest akonadicontactselecttypecomboboxtest)
ecm_mark_as_test(akonadicontactselecttypecomboboxtest)
target_link_libraries(akonadicontactselecttypecomboboxtest Qt5::Test Qt5::Widgets KF5::AkonadiContact KF5::I18n )
set(nicknamewidgettest_SRCS nicknamewidgettest.cpp)
add_executable(nicknamewidgettest ${nicknamewidgettest_SRCS})
add_test(nicknamewidgettest nicknamewidgettest)
ecm_mark_as_test(nicknamewidgettest)
target_link_libraries(nicknamewidgettest Qt5::Test Qt5::Widgets KF5::AkonadiContact KF5::I18n )
/*
This file is part of Akonadi Contact.
Copyright (C) 2017 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 "messageformattingwidgettext.h"
#include <QTest>
MessageFormattingWidgetText::MessageFormattingWidgetText(QObject *parent)
: QObject(parent)
{
}
QTEST_MAIN(MessageFormattingWidgetText)
/*
This file is part of Akonadi Contact.
Copyright (C) 2017 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 MESSAGEFORMATTINGWIDGETTEXT_H
#define MESSAGEFORMATTINGWIDGETTEXT_H
#include <QObject>
class MessageFormattingWidgetText : public QObject
{
Q_OBJECT
public:
explicit MessageFormattingWidgetText(QObject *parent = nullptr);
~MessageFormattingWidgetText() = default;
};
#endif // MESSAGEFORMATTINGWIDGETTEXT_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