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

Start to implement autotests

parent 30034f8d
......@@ -21,6 +21,7 @@
*/
#include "dkimauthenticationstatusinfoconvertertest.h"
#include "dkim-verify/dkimauthenticationstatusinfoconverter.h"
#include <QTest>
QTEST_GUILESS_MAIN(DKIMAuthenticationStatusInfoConverterTest)
......@@ -28,3 +29,9 @@ DKIMAuthenticationStatusInfoConverterTest::DKIMAuthenticationStatusInfoConverter
: QObject(parent)
{
}
void DKIMAuthenticationStatusInfoConverterTest::shouldHaveDefaultValues()
{
MessageViewer::DKIMAuthenticationStatusInfoConverter status;
QVERIFY(status.convert().isEmpty());
}
......@@ -31,6 +31,8 @@ class DKIMAuthenticationStatusInfoConverterTest : public QObject
public:
explicit DKIMAuthenticationStatusInfoConverterTest(QObject *parent = nullptr);
~DKIMAuthenticationStatusInfoConverterTest() = default;
private Q_SLOTS:
void shouldHaveDefaultValues();
};
#endif // DKIMAUTHENTICATIONSTATUSINFOCONVERTERTEST_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