File indexing completed on 2024-11-24 04:16:54

0001 /*
0002   SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org>
0003 
0004   SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #include "downloadlanguagejobtest.h"
0008 #include "downloadlanguagejob.h"
0009 #include <QTest>
0010 
0011 QTEST_GUILESS_MAIN(DownloadLanguageJobTest)
0012 DownloadLanguageJobTest::DownloadLanguageJobTest(QObject *parent)
0013     : QObject{parent}
0014 {
0015 }
0016 
0017 void DownloadLanguageJobTest::shouldHaveDefaultValues()
0018 {
0019     DownloadLanguageJob w;
0020     QVERIFY(!w.canStart());
0021     QVERIFY(w.url().isEmpty());
0022     QVERIFY(w.checkSum().isEmpty());
0023 }
0024 
0025 #include "moc_downloadlanguagejobtest.cpp"