Commit 67c253a6 authored by Laurent Montel's avatar Laurent Montel 😁

Start to create autotest

parent 9fafbe5d
......@@ -40,6 +40,7 @@ if(BUILD_TESTING)
add_subdirectory(viewer/webengine/tests)
add_subdirectory(messagepartthemes/default/autotests)
add_subdirectory(viewer/webengine/autotests)
add_subdirectory(widgets/autotests/)
endif()
add_subdirectory(pics)
add_subdirectory(kconf_update)
......
/*
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 "mailtrackingwarningwidgettest.h"
#include <QTest>
QTEST_MAIN(MailTrackingWarningWidgetTest)
MailTrackingWarningWidgetTest::MailTrackingWarningWidgetTest(QObject *parent)
: QObject(parent)
{
}
/*
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 MAILTRACKINGWARNINGWIDGETTEST_H
#define MAILTRACKINGWARNINGWIDGETTEST_H
#include <QObject>
class MailTrackingWarningWidgetTest : public QObject
{
Q_OBJECT
public:
explicit MailTrackingWarningWidgetTest(QObject *parent = nullptr);
~MailTrackingWarningWidgetTest() = default;
};
#endif // MAILTRACKINGWARNINGWIDGETTEST_H
......@@ -21,7 +21,11 @@
#ifndef MAILTRACKINGWARNINGWIDGET_H
#define MAILTRACKINGWARNINGWIDGET_H
#include <KMessageWidget>
#include "messageviewer_private_export.h"
#include <QMap>
#include <QPointer>
......@@ -29,7 +33,7 @@
namespace MessageViewer {
class MailTrackingDetailsDialog;
class MailTrackingWarningWidget : public KMessageWidget
class MESSAGEVIEWER_TESTS_EXPORT MailTrackingWarningWidget : public KMessageWidget
{
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