File indexing completed on 2024-04-28 15:18:57
0001 /* 0002 This file is part of the kcalcore library. 0003 0004 SPDX-FileCopyrightText: 2006, 2008 Allen Winter <winter@kde.org> 0005 0006 SPDX-License-Identifier: LGPL-2.0-or-later 0007 */ 0008 0009 #ifndef TESTTODO_H 0010 #define TESTTODO_H 0011 0012 #include <QObject> 0013 0014 class TodoTest : public QObject 0015 { 0016 Q_OBJECT 0017 private Q_SLOTS: 0018 void initTestCase(); 0019 0020 void testValidity(); 0021 void testCompare(); 0022 void testDtDueEqual(); 0023 void testClone(); 0024 void testCopyIncidence(); 0025 void testCopyConstructor(); 0026 void testAssign(); 0027 void testSetCompleted(); 0028 void testSetCompletedWithDate(); 0029 void testSetCompletedWithoutDate(); 0030 void testSetCompletedBool(); 0031 void testSetPercent(); 0032 void testStatus(); 0033 void testSerializer_data(); 0034 void testSerializer(); 0035 void testRoles(); 0036 void testIconNameOneoff(); 0037 void testIconNameRecurringNeverDue(); 0038 void testIconNameRecurringDue(); 0039 void testCategoriesComparison(); 0040 void testDtDueComparison(); 0041 void testDtDueChange(); 0042 }; 0043 0044 #endif