File indexing completed on 2024-05-12 04:39:16
0001 /* 0002 SPDX-FileCopyrightText: 2014 David Stevens <dgedstevens@gmail.com> 0003 SPDX-FileCopyrightText: 2014 Kevin Funk <kfunk@kde.org> 0004 0005 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0006 */ 0007 0008 #ifndef TESTCODECOMPLETION_H 0009 #define TESTCODECOMPLETION_H 0010 0011 #include "codecompletiontestbase.h" 0012 0013 class TestCodeCompletion : public CodeCompletionTestBase 0014 { 0015 Q_OBJECT 0016 0017 private Q_SLOTS: 0018 void cleanup(); 0019 0020 void testIncludePathCompletion_data(); 0021 void testIncludePathCompletion(); 0022 void testIncludePathCompletionLocal(); 0023 0024 void testClangCodeCompletion(); 0025 void testClangCodeCompletion_data(); 0026 void testClangCodeCompletionType(); 0027 void testClangCodeCompletionType_data(); 0028 void testVirtualOverride(); 0029 void testVirtualOverride_data(); 0030 void testOverrideExecute(); 0031 void testOverrideExecute_data(); 0032 void testImplement(); 0033 void testImplement_data(); 0034 void testImplementOtherFile(); 0035 void testImplementAfterEdit(); 0036 void testInvalidCompletions(); 0037 void testInvalidCompletions_data(); 0038 void testCompletionPriority(); 0039 void testCompletionPriority_data(); 0040 void testReplaceMemberAccess(); 0041 void testReplaceMemberAccess_data(); 0042 void testArgumentHintCompletion(); 0043 void testArgumentHintCompletion_data(); 0044 0045 void testOverloadedFunctions(); 0046 void testVariableScope(); 0047 void testArgumentHintCompletionDefaultParameters(); 0048 0049 void testCompleteFunction_data(); 0050 void testCompleteFunction(); 0051 0052 void testIgnoreGccBuiltins(); 0053 }; 0054 0055 #endif // TESTCODECOMPLETION_H