| 1 |
import("//third-party/unittest/unittest.gni") |
| 2 |
|
| 3 |
unittest("FormatTests") { |
| 4 |
configs += [ "//llvm/utils/gn/build:clang_code" ] |
| 5 |
deps = [ |
| 6 |
"//clang/lib/Basic", |
| 7 |
"//clang/lib/Format", |
| 8 |
"//clang/lib/Frontend", |
| 9 |
"//clang/lib/Rewrite", |
| 10 |
"//clang/lib/Tooling/Core", |
| 11 |
"//llvm/lib/Support", |
| 12 |
] |
| 13 |
sources = [ |
| 14 |
"BracesInserterTest.cpp", |
| 15 |
"BracesRemoverTest.cpp", |
| 16 |
"CleanupTest.cpp", |
| 17 |
"ConfigParseTest.cpp", |
| 18 |
"DefinitionBlockSeparatorTest.cpp", |
| 19 |
"FormatReplacementTest.cpp", |
| 20 |
"FormatTest.cpp", |
| 21 |
"FormatTestCSharp.cpp", |
| 22 |
"FormatTestComments.cpp", |
| 23 |
"FormatTestJS.cpp", |
| 24 |
"FormatTestJava.cpp", |
| 25 |
"FormatTestJson.cpp", |
| 26 |
"FormatTestMacroExpansion.cpp", |
| 27 |
"FormatTestObjC.cpp", |
| 28 |
"FormatTestProto.cpp", |
| 29 |
"FormatTestRawStrings.cpp", |
| 30 |
"FormatTestSelective.cpp", |
| 31 |
"FormatTestTableGen.cpp", |
| 32 |
"FormatTestTextProto.cpp", |
| 33 |
"FormatTestVerilog.cpp", |
| 34 |
"FormatTokenSourceTest.cpp", |
| 35 |
"IntegerLiteralSeparatorTest.cpp", |
| 36 |
"MacroCallReconstructorTest.cpp", |
| 37 |
"MacroExpanderTest.cpp", |
| 38 |
"MatchFilePathTest.cpp", |
| 39 |
"NamespaceEndCommentsFixerTest.cpp", |
| 40 |
"ObjCPropertyAttributeOrderFixerTest.cpp", |
| 41 |
"QualifierFixerTest.cpp", |
| 42 |
"SortImportsTestJS.cpp", |
| 43 |
"SortImportsTestJava.cpp", |
| 44 |
"SortIncludesTest.cpp", |
| 45 |
"TokenAnnotatorTest.cpp", |
| 46 |
"UsingDeclarationsSorterTest.cpp", |
| 47 |
] |
| 48 |
} |