1 import("//clang-tools-extra/clangd/quality/gen_decision_forest.gni")
2 import("//third-party/unittest/unittest.gni")
4 gen_decision_forest("DecisionForestRuntimeTest") {
5 model = "decision_forest_model"
6 filename = "DecisionForestRuntimeTest"
7 cpp_class = "::ns1::ns2::test::Example"
10 unittest("ClangdTests") {
11 configs += [ "//llvm/utils/gn/build:clang_code" ]
13 ":DecisionForestRuntimeTest",
14 "//clang-tools-extra/clang-tidy",
15 "//clang-tools-extra/clangd",
16 "//clang-tools-extra/clangd:features",
17 "//clang-tools-extra/clangd/refactor/tweaks",
21 "//clang/lib/Frontend",
25 "//clang/lib/Serialization",
26 "//clang/lib/Testing",
27 "//clang/lib/Tooling",
28 "//clang/lib/Tooling/Core",
29 "//clang/lib/Tooling/Inclusions",
30 "//clang/lib/Tooling/Syntax",
31 "//llvm/include/llvm/Config:llvm-config",
33 "//llvm/lib/Testing/Annotations",
34 "//llvm/lib/Testing/Support",
38 "//clang-tools-extra/clangd",
40 # For "clang-include-cleaner/..." includes.
41 "//clang-tools-extra/include-cleaner/include",
43 # To pick up the generated inc files.
44 "$target_gen_dir/../../clangd/tool",
46 # To pick up the generated DecisionForestRuntimeTest.h file.
50 "ASTSignalsTests.cpp",
53 "BackgroundIndexTests.cpp",
54 "CallHierarchyTests.cpp",
55 "CanonicalIncludesTests.cpp",
56 "ClangdLSPServerTests.cpp",
58 "CodeCompleteTests.cpp",
59 "CodeCompletionStringsTests.cpp",
60 "CollectMacrosTests.cpp",
61 "CompileCommandsTests.cpp",
63 "ConfigCompileTests.cpp",
64 "ConfigProviderTests.cpp",
65 "ConfigYAMLTests.cpp",
66 "DecisionForestTests.cpp",
68 "DiagnosticsTests.cpp",
69 "DraftStoreTests.cpp",
71 "ExpectedTypeTest.cpp",
73 "FeatureModulesTests.cpp",
74 "FileDistanceTests.cpp",
76 "FindSymbolsTests.cpp",
77 "FindTargetTests.cpp",
79 "FuzzyMatchTests.cpp",
80 "GlobalCompilationDatabaseTests.cpp",
81 "HeaderSourceSwitchTests.cpp",
83 "HeuristicResolverTests.cpp",
85 "IncludeCleanerTests.cpp",
86 "IndexActionTests.cpp",
89 "InsertionPointTests.cpp",
90 "JSONTransportTests.cpp",
96 "PathMappingTests.cpp",
98 "PrerequisiteModulesTest.cpp",
100 "ProjectAwareIndexTests.cpp",
104 "ReplayPeambleTests.cpp",
105 "SelectionTests.cpp",
106 "SemanticHighlightingTests.cpp",
107 "SemanticSelectionTests.cpp",
108 "SerializationTests.cpp",
109 "SourceCodeTests.cpp",
111 "SymbolCollectorTests.cpp",
112 "SymbolInfoTests.cpp",
114 "TUSchedulerTests.cpp",
119 "ThreadCrashReporterTests.cpp",
120 "TidyProviderTests.cpp",
121 "TypeHierarchyTests.cpp",
124 "support/CancellationTests.cpp",
125 "support/ContextTests.cpp",
126 "support/FileCacheTests.cpp",
127 "support/FunctionTests.cpp",
128 "support/MarkupTests.cpp",
129 "support/MemoryTreeTests.cpp",
130 "support/PathTests.cpp",
131 "support/TestTracer.cpp",
132 "support/ThreadingTests.cpp",
133 "support/TraceTests.cpp",
134 "tweaks/AddUsingTests.cpp",
135 "tweaks/AnnotateHighlightingsTests.cpp",
136 "tweaks/DefineInlineTests.cpp",
137 "tweaks/DefineOutlineTests.cpp",
138 "tweaks/DumpASTTests.cpp",
139 "tweaks/DumpRecordLayoutTests.cpp",
140 "tweaks/DumpSymbolTests.cpp",
141 "tweaks/ExpandDeducedTypeTests.cpp",
142 "tweaks/ExpandMacroTests.cpp",
143 "tweaks/ExtractFunctionTests.cpp",
144 "tweaks/ExtractVariableTests.cpp",
145 "tweaks/MemberwiseConstructorTests.cpp",
146 "tweaks/ObjCLocalizeStringLiteralTests.cpp",
147 "tweaks/ObjCMemberwiseInitializerTests.cpp",
148 "tweaks/PopulateSwitchTests.cpp",
149 "tweaks/RawStringLiteralTests.cpp",
150 "tweaks/RemoveUsingNamespaceTests.cpp",
151 "tweaks/ScopifyEnumTests.cpp",
152 "tweaks/ShowSelectionTreeTests.cpp",
153 "tweaks/SpecialMembersTests.cpp",
154 "tweaks/SwapBinaryOperandsTests.cpp",
155 "tweaks/SwapIfBranchesTests.cpp",
156 "tweaks/TweakTesting.cpp",
157 "tweaks/TweakTests.cpp",