File indexing completed on 2024-05-12 04:39:19

0001 /*
0002     SPDX-FileCopyrightText: Kevin Funk <kfunk@kde.org>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef TEST_PROBLEMS_H
0008 #define TEST_PROBLEMS_H
0009 
0010 #include <QObject>
0011 
0012 #include <language/duchain/problem.h>
0013 
0014 class TestProblems : public QObject
0015 {
0016     Q_OBJECT
0017 
0018 private Q_SLOTS:
0019     void initTestCase();
0020     void cleanupTestCase();
0021 
0022     void testNoProblems();
0023     void testBasicProblems();
0024     void testBasicRangeSupport();
0025     void testChildDiagnostics();
0026     void testRanges_data();
0027     void testRanges();
0028     void testProblemsForIncludedFiles();
0029 
0030     void testFixits();
0031     void testFixits_data();
0032     void testTodoProblems();
0033     void testTodoProblems_data();
0034 
0035     void testMissingInclude();
0036     void testMissingInclude_data();
0037 
0038     void testSeverity();
0039     void testSeverity_data();
0040 };
0041 
0042 #endif // TEST_PROBLEMS_H