1 import("//clang-tools-extra/clangd/quality/gen_decision_forest.gni")
2 import("//llvm/utils/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/Tooling",
27 "//clang/lib/Tooling/Core",
28 "//clang/lib/Tooling/Inclusions",
29 "//clang/lib/Tooling/Syntax",
30 "//llvm/include/llvm/Config:llvm-config",
32 "//llvm/lib/Testing/Support",
36 "//clang-tools-extra/clangd",
38 # To pick up the generated inc files.
39 "$target_gen_dir/../../clangd/tool",
41 # To pick up the generated DecisionForestRuntimeTest.h file.
45 "ASTSignalsTests.cpp",
48 "BackgroundIndexTests.cpp",
49 "CallHierarchyTests.cpp",
50 "CanonicalIncludesTests.cpp",
51 "ClangdLSPServerTests.cpp",
53 "CodeCompleteTests.cpp",
54 "CodeCompletionStringsTests.cpp",
55 "CollectMacrosTests.cpp",
56 "CompileCommandsTests.cpp",
58 "ConfigCompileTests.cpp",
59 "ConfigProviderTests.cpp",
60 "ConfigYAMLTests.cpp",
61 "DecisionForestTests.cpp",
63 "DiagnosticsTests.cpp",
64 "DraftStoreTests.cpp",
66 "ExpectedTypeTest.cpp",
68 "FeatureModulesTests.cpp",
69 "FileDistanceTests.cpp",
71 "FindSymbolsTests.cpp",
72 "FindTargetTests.cpp",
74 "FuzzyMatchTests.cpp",
75 "GlobalCompilationDatabaseTests.cpp",
76 "HeaderSourceSwitchTests.cpp",
79 "IncludeCleanerTests.cpp",
80 "IndexActionTests.cpp",
83 "JSONTransportTests.cpp",
89 "PathMappingTests.cpp",
92 "ProjectAwareIndexTests.cpp",
97 "SemanticHighlightingTests.cpp",
98 "SemanticSelectionTests.cpp",
99 "SerializationTests.cpp",
100 "SourceCodeTests.cpp",
101 "SymbolCollectorTests.cpp",
102 "SymbolInfoTests.cpp",
104 "TUSchedulerTests.cpp",
109 "TidyProviderTests.cpp",
110 "TypeHierarchyTests.cpp",
113 "support/CancellationTests.cpp",
114 "support/ContextTests.cpp",
115 "support/FunctionTests.cpp",
116 "support/MarkupTests.cpp",
117 "support/MemoryTreeTests.cpp",
118 "support/PathTests.cpp",
119 "support/TestTracer.cpp",
120 "support/ThreadingTests.cpp",
121 "support/TraceTests.cpp",
122 "tweaks/AddUsingTests.cpp",
123 "tweaks/AnnotateHighlightingsTests.cpp",
124 "tweaks/DefineInlineTests.cpp",
125 "tweaks/DefineOutlineTests.cpp",
126 "tweaks/DumpASTTests.cpp",
127 "tweaks/DumpRecordLayoutTests.cpp",
128 "tweaks/DumpSymbolTests.cpp",
129 "tweaks/ExpandAutoTypeTests.cpp",
130 "tweaks/ExpandMacroTests.cpp",
131 "tweaks/ExtractFunctionTests.cpp",
132 "tweaks/ExtractVariableTests.cpp",
133 "tweaks/ObjCLocalizeStringLiteralTests.cpp",
134 "tweaks/PopulateSwitchTests.cpp",
135 "tweaks/RawStringLiteralTests.cpp",
136 "tweaks/RemoveUsingNamespaceTests.cpp",
137 "tweaks/ShowSelectionTreeTests.cpp",
138 "tweaks/SwapIfBranchesTests.cpp",
139 "tweaks/TweakTesting.cpp",
140 "tweaks/TweakTests.cpp",