File indexing completed on 2024-12-22 05:05:25

0001 /*
0002    SPDX-FileCopyrightText: 2020-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #include "backupresourcefilejobimpltest.h"
0008 #include "backupresourcefilejobimpl.h"
0009 #include <QTest>
0010 QTEST_MAIN(BackupResourceFileJobImplTest)
0011 BackupResourceFileJobImplTest::BackupResourceFileJobImplTest(QObject *parent)
0012     : QObject(parent)
0013 {
0014 }
0015 
0016 void BackupResourceFileJobImplTest::shouldHaveDefaultValue()
0017 {
0018     auto job = new BackupResourceFileJobImpl;
0019     QVERIFY(!job->canStart());
0020     QVERIFY(job->identifier().isEmpty());
0021     QVERIFY(!job->zip());
0022     QVERIFY(job->defaultPath().isEmpty());
0023     delete job;
0024 }
0025 
0026 #include "moc_backupresourcefilejobimpltest.cpp"