File indexing completed on 2024-12-29 04:52:27
0001 /* 0002 SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org> 0003 SPDX-License-Identifier: GPL-2.0-only 0004 */ 0005 0006 #include "historyclosedreaderinfotest.h" 0007 #include "historyclosedreader/historyclosedreaderinfo.h" 0008 #include <Akonadi/Item> 0009 #include <QTest> 0010 QTEST_GUILESS_MAIN(HistoryClosedReaderInfoTest) 0011 HistoryClosedReaderInfoTest::HistoryClosedReaderInfoTest(QObject *parent) 0012 : QObject{parent} 0013 { 0014 } 0015 0016 void HistoryClosedReaderInfoTest::shouldHaveDefaultValues() 0017 { 0018 HistoryClosedReaderInfo w; 0019 QVERIFY(w.subject().isEmpty()); 0020 QCOMPARE(w.item(), -1); 0021 } 0022 0023 #include "moc_historyclosedreaderinfotest.cpp"