File indexing completed on 2023-11-26 10:41:15
0001 /* 0002 SPDX-FileCopyrightText: 2015 Ivan Cukic <ivan.cukic(at)kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef OFFLINETEST_H 0008 #define OFFLINETEST_H 0009 0010 #include <common/test.h> 0011 0012 #include <KActivities/Controller> 0013 0014 class QueryTest : public Test 0015 { 0016 Q_OBJECT 0017 public: 0018 QueryTest(QObject *parent = nullptr); 0019 0020 private Q_SLOTS: 0021 void initTestCase(); 0022 0023 void testDefaults(); 0024 void testDebuggingOutput(); 0025 0026 void testDerivationFromDefault(); 0027 void testDerivationFromCustom(); 0028 0029 void testNormalSyntaxAgentManipulation(); 0030 void testNormalSyntaxTypeManipulation(); 0031 void testNormalSyntaxActivityManipulation(); 0032 void testNormalSyntaxOrderingManipulation(); 0033 void testNormalSyntaxDateDefinition(); 0034 0035 void testFancySyntaxBasic(); 0036 void testFancySyntaxAgentDefinition(); 0037 void testFancySyntaxTypeDefinition(); 0038 void testFancySyntaxActivityDefinition(); 0039 void testFancySyntaxOrderingDefinition(); 0040 0041 void cleanupTestCase(); 0042 0043 private: 0044 }; 0045 0046 #endif /* OFFLINETEST_H */