1 /* This file is part of the KDE project
2    Copyright (C) 2011-2015 Jarosław Staniek <staniek@kde.org>
3 
4    This library is free software; you can redistribute it and/or
5    modify it under the terms of the GNU Library General Public
6    License as published by the Free Software Foundation; either
7    version 2 of the License, or (at your option) any later version.
8 
9    This library is distributed in the hope that it will be useful,
10    but WITHOUT ANY WARRANTY; without even the implied warranty of
11    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12    Library General Public License for more details.
13 
14    You should have received a copy of the GNU Library General Public License
15    along with this library; see the file COPYING.LIB.  If not, write to
16    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  * Boston, MA 02110-1301, USA.
18 */
19 
20 #ifndef KDB_EXPRESSIONSTEST_H
21 #define KDB_EXPRESSIONSTEST_H
22 
23 #include <QObject>
24 
25 class ExpressionsTest : public QObject
26 {
27     Q_OBJECT
28 private Q_SLOTS:
29     void initTestCase();
30 
31     void testNullExpression();
32     void testExpressionClassName_data();
33     void testExpressionClassName();
34     void testExpressionToken();
35     void testNArgExpression();
36     void testUnaryExpression();
37     void testBinaryExpression();
38     void testBinaryExpressionCloning_data();
39     void testBinaryExpressionCloning();
40     void testFunctionExpression();
41 
42     void testConstExpressionValidate();
43     void testUnaryExpressionValidate();
44     void testNArgExpressionValidate();
45     void testBinaryExpressionValidate_data();
46     void testBinaryExpressionValidate();
47     void testFunctionExpressionValidate();
48 
49     void cleanupTestCase();
50 };
51 
52 #endif
53