File indexing completed on 2024-05-12 04:39:30
0001 /* 0002 SPDX-FileCopyrightText: 2010 Esben Mose Hansen <kde@mosehansen.dk> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #ifndef TEST_CMAKEMANAGER_H 0008 #define TEST_CMAKEMANAGER_H 0009 0010 #include <QTest> 0011 0012 namespace KDevelop { 0013 class IProject; 0014 } 0015 0016 /** 0017 * Test of the cmake manager. 0018 * + Test that CMakeCache.txt is found, loaded and parsed 0019 * @author Esben Mose Hansen <kde@mosehansen.dk> 0020 **/ 0021 class TestCMakeManager : public QObject { 0022 Q_OBJECT 0023 private Q_SLOTS: 0024 void initTestCase(); 0025 void cleanupTestCase(); 0026 void cleanup(); 0027 0028 void testWithBuildDirProject(); 0029 void testIncludePaths(); 0030 void testRelativePaths(); 0031 void testTargetIncludeDirectories(); 0032 void testTargetIncludePaths(); 0033 void testDefines(); 0034 void testCustomTargetSources(); 0035 void testConditionsInSubdirectoryBasedOnRootVariables(); 0036 void testQt5App(); 0037 void testQt5AppOld(); 0038 void testKF5App(); 0039 void testEnumerateTargets(); 0040 void testFaultyTarget(); 0041 void testParenthesesInTestArguments(); 0042 void testReload(); 0043 void testExecutableOutputPath(); 0044 }; 0045 0046 #endif // TEST_CMAKEMANAGER_H