File indexing completed on 2024-12-22 05:01:11
0001 /* 0002 SPDX-FileCopyrightText: 2020-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #include "createforwardmessagejobtest.h" 0008 #include "job/createforwardmessagejob.h" 0009 #include <QTest> 0010 QTEST_MAIN(CreateForwardMessageJobTest) 0011 CreateForwardMessageJobTest::CreateForwardMessageJobTest(QObject *parent) 0012 : QObject(parent) 0013 { 0014 } 0015 0016 void CreateForwardMessageJobTest::shouldHaveDefaultValues() 0017 { 0018 CreateForwardMessageJobSettings settings; 0019 QVERIFY(settings.url.isEmpty()); 0020 QVERIFY(settings.selection.isEmpty()); 0021 QVERIFY(settings.templateStr.isEmpty()); 0022 QVERIFY(!settings.msg); 0023 QCOMPARE(settings.identity, 0); 0024 } 0025 0026 #include "moc_createforwardmessagejobtest.cpp"