File indexing completed on 2024-05-12 17:21:31
0001 /* 0002 Copyright (C) 2015 by Elvis Angelaccio <elvis.angelaccio@kde.org> 0003 0004 This file is part of Kronometer. 0005 0006 Kronometer is free software: you can redistribute it and/or modify 0007 it under the terms of the GNU General Public License as published by 0008 the Free Software Foundation, either version 2 of the License, or 0009 (at your option) any later version. 0010 0011 Kronometer is distributed in the hope that it will be useful, 0012 but WITHOUT ANY WARRANTY; without even the implied warranty of 0013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0014 GNU General Public License for more details. 0015 0016 You should have received a copy of the GNU General Public License 0017 along with Kronometer. If not, see <http://www.gnu.org/licenses/>. 0018 */ 0019 0020 #ifndef TESTSESSION_H 0021 #define TESTSESSION_H 0022 0023 #include <QtTest> 0024 0025 class TestSession : public QObject 0026 { 0027 Q_OBJECT 0028 0029 private slots: 0030 0031 void testDefaultSession(); 0032 void testTime(); 0033 void testName(); 0034 void testNote(); 0035 void testDate(); 0036 void testLaps(); 0037 void testEquality(); 0038 void testInequality(); 0039 void testJson(); 0040 }; 0041 0042 #endif