Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 48a59616 authored by Laurent Montel's avatar Laurent Montel 😁

Start to create autotest

parent 29e260bd
......@@ -203,3 +203,5 @@ install( FILES
editor/im/improtocols.h
DESTINATION ${INCLUDE_INSTALL_DIR}/akonadi/contact COMPONENT Devel
)
add_subdirectory(editor/autotests)
set(emaileditdialogtesttest_SRCS emaileditdialogtest.cpp)
kde4_add_unit_test(emaileditdialogtest TESTNAME emaileditdialogtest ${emaileditdialogtesttest_SRCS})
target_link_libraries(emaileditdialogtest ${QT_QTTEST_LIBRARY} ${KDE4_KDEUI_LIBS})
/*
Copyright (c) 2015 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 "emaileditdialogtest.h"
#include <qtest_kde.h>
EmailEditDialogTest::EmailEditDialogTest(QObject *parent)
: QObject(parent)
{
}
EmailEditDialogTest::~EmailEditDialogTest()
{
}
QTEST_KDEMAIN(EmailEditDialogTest, GUI)
/*
Copyright (c) 2015 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 EMAILEDITDIALOGTEST_H
#define EMAILEDITDIALOGTEST_H
#include <QObject>
class EmailEditDialogTest : public QObject
{
Q_OBJECT
public:
explicit EmailEditDialogTest(QObject *parent = 0);
~EmailEditDialogTest();
};
#endif // EMAILEDITDIALOGTEST_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