File indexing completed on 2025-03-09 04:54:26
0001 /* 0002 SPDX-FileCopyrightText: 2019-2024 Laurent Montel <montel@kde.org> 0003 0004 Code based on ARHParser.jsm from dkim_verifier (Copyright (c) Philippe Lieser) 0005 (This software is licensed under the terms of the MIT License.) 0006 0007 SPDX-License-Identifier: LGPL-2.0-or-later 0008 */ 0009 0010 #include "dkimauthenticationstatusinfoconvertertest.h" 0011 #include "dkim-verify/dkimauthenticationstatusinfoconverter.h" 0012 #include <QTest> 0013 QTEST_GUILESS_MAIN(DKIMAuthenticationStatusInfoConverterTest) 0014 0015 DKIMAuthenticationStatusInfoConverterTest::DKIMAuthenticationStatusInfoConverterTest(QObject *parent) 0016 : QObject(parent) 0017 { 0018 } 0019 0020 void DKIMAuthenticationStatusInfoConverterTest::shouldHaveDefaultValues() 0021 { 0022 MessageViewer::DKIMAuthenticationStatusInfoConverter status; 0023 QVERIFY(status.convert().isEmpty()); 0024 QCOMPARE(status.statusInfo(), MessageViewer::DKIMAuthenticationStatusInfo()); 0025 } 0026 0027 #include "moc_dkimauthenticationstatusinfoconvertertest.cpp"