File indexing completed on 2024-12-22 05:01:15

0001 /*
0002    SPDX-FileCopyrightText: 2019-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #include "undosendcreatejobtest.h"
0008 #include "undosend/undosendcreatejob.h"
0009 #include <QTest>
0010 QTEST_MAIN(UndoSendCreateJobTest)
0011 
0012 UndoSendCreateJobTest::UndoSendCreateJobTest(QObject *parent)
0013     : QObject(parent)
0014 {
0015 }
0016 
0017 void UndoSendCreateJobTest::shouldHaveDefaultValues()
0018 {
0019     UndoSendCreateJob job;
0020     QCOMPARE(job.akonadiIndex(), -1);
0021     QCOMPARE(job.delay(), -1);
0022     QVERIFY(job.subject().isEmpty());
0023 }
0024 
0025 #include "moc_undosendcreatejobtest.cpp"