Commit cbd09617 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add more class

parent 4c46fad2
......@@ -57,6 +57,8 @@ if (DKIM_CHECKER_BUILD)
dkim-verify/dkimconfigurewidget.cpp
dkim-verify/dkimchecksignaturejob.cpp
dkim-verify/dkimconfiguretabwidget.cpp
dkim-verify/dkimcheckauthenticationstatusjob.cpp
dkim-verify/dkimauthenticationstatusinfo.cpp
)
endif()
......
......@@ -16,3 +16,5 @@ add_messageviewer_dkim_verify_unittest(dkimconfiguredialogtest.cpp)
add_messageviewer_dkim_verify_unittest(dkimconfigurewidgettest.cpp)
add_messageviewer_dkim_verify_unittest(dkimchecksignaturejobtest.cpp)
add_messageviewer_dkim_verify_unittest(dkimconfiguretabwidgettest.cpp)
add_messageviewer_dkim_verify_unittest(dkimcheckauthenticationstatusjobtest.cpp)
add_messageviewer_dkim_verify_unittest(dkimauthenticationstatusinfotest.cpp)
/*
Copyright (C) 2018 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 "dkimauthenticationstatusinfotest.h"
#include <QTest>
QTEST_GUILESS_MAIN(DKIMAuthenticationStatusInfoTest)
DKIMAuthenticationStatusInfoTest::DKIMAuthenticationStatusInfoTest(QObject *parent)
: QObject(parent)
{
}
/*
Copyright (C) 2018 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 DKIMAUTHENTICATIONSTATUSINFOTEST_H
#define DKIMAUTHENTICATIONSTATUSINFOTEST_H
#include <QObject>
class DKIMAuthenticationStatusInfoTest : public QObject
{
Q_OBJECT
public:
explicit DKIMAuthenticationStatusInfoTest(QObject *parent = nullptr);
~DKIMAuthenticationStatusInfoTest() = default;
};
#endif // DKIMAUTHENTICATIONSTATUSINFOTEST_H
/*
Copyright (C) 2018 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 "dkimcheckauthenticationstatusjobtest.h"
#include <QTest>
QTEST_MAIN(DKIMCheckAuthenticationStatusJobTest)
DKIMCheckAuthenticationStatusJobTest::DKIMCheckAuthenticationStatusJobTest(QObject *parent)
: QObject(parent)
{
}
/*
Copyright (C) 2018 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 DKIMCHECKAUTHENTICATIONSTATUSJOBTEST_H
#define DKIMCHECKAUTHENTICATIONSTATUSJOBTEST_H
#include <QObject>
class DKIMCheckAuthenticationStatusJobTest : public QObject
{
Q_OBJECT
public:
explicit DKIMCheckAuthenticationStatusJobTest(QObject *parent = nullptr);
~DKIMCheckAuthenticationStatusJobTest() = default;
};
#endif // DKIMCHECKAUTHENTICATIONSTATUSJOBTEST_H
......@@ -19,6 +19,7 @@
#include "dkimconfiguretabwidgettest.h"
#include "dkim-verify/dkimconfiguretabwidget.h"
#include <QTest>
QTEST_MAIN(DKIMConfigureTabWidgetTest)
......@@ -28,3 +29,8 @@ DKIMConfigureTabWidgetTest::DKIMConfigureTabWidgetTest(QObject *parent)
{
}
void DKIMConfigureTabWidgetTest::shouldHaveDefaultValue()
{
//TODO
}
......@@ -29,6 +29,8 @@ class DKIMConfigureTabWidgetTest : public QObject
public:
explicit DKIMConfigureTabWidgetTest(QObject *parent = nullptr);
~DKIMConfigureTabWidgetTest() = default;
private Q_SLOTS:
void shouldHaveDefaultValue();
};
#endif // DKIMCONFIGURETABWIDGETTEST_H
/*
Copyright (C) 2018 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 "dkimauthenticationstatusinfo.h"
using namespace MessageViewer;
DKIMAuthenticationStatusInfo::DKIMAuthenticationStatusInfo()
{
}
/*
Copyright (C) 2018 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 DKIMAUTHENTICATIONSTATUSINFO_H
#define DKIMAUTHENTICATIONSTATUSINFO_H
#include "messageviewer_private_export.h"
namespace MessageViewer {
class MESSAGEVIEWER_TESTS_EXPORT DKIMAuthenticationStatusInfo
{
public:
DKIMAuthenticationStatusInfo();
};
}
#endif // DKIMAUTHENTICATIONSTATUSINFO_H
/*
Copyright (C) 2018 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 "dkimcheckauthenticationstatusjob.h"
using namespace MessageViewer;
DKIMCheckAuthenticationStatusJob::DKIMCheckAuthenticationStatusJob(QObject *parent)
: QObject(parent)
{
}
DKIMCheckAuthenticationStatusJob::~DKIMCheckAuthenticationStatusJob()
{
}
void DKIMCheckAuthenticationStatusJob::start()
{
}
/*
Copyright (C) 2018 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 DKIMCHECKAUTHENTICATIONSTATUSJOB_H
#define DKIMCHECKAUTHENTICATIONSTATUSJOB_H
#include <QObject>
#include "messageviewer_private_export.h"
namespace MessageViewer {
class MESSAGEVIEWER_TESTS_EXPORT DKIMCheckAuthenticationStatusJob : public QObject
{
Q_OBJECT
public:
explicit DKIMCheckAuthenticationStatusJob(QObject *parent = nullptr);
~DKIMCheckAuthenticationStatusJob();
void start();
};
}
#endif // DKIMCHECKAUTHENTICATIONSTATUSJOB_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