File indexing completed on 2025-01-26 04:47:04

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 "downloadfeediconjobtest.h"
0008 #include "job/downloadfeediconjob.h"
0009 #include <QTest>
0010 QTEST_MAIN(DownloadFeedIconJobTest)
0011 DownloadFeedIconJobTest::DownloadFeedIconJobTest(QObject *parent)
0012     : QObject(parent)
0013 {
0014 }
0015 
0016 void DownloadFeedIconJobTest::shouldHaveDefaultValues()
0017 {
0018     Akregator::DownloadFeedIconJob job;
0019     QVERIFY(!job.canStart());
0020     QVERIFY(job.downloadFavicon());
0021     QVERIFY(job.feedIconUrl().isEmpty());
0022 }
0023 
0024 #include "moc_downloadfeediconjobtest.cpp"