52 lines · plain
1import("//third-party/unittest/unittest.gni")2 3unittest("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 "AlignBracketsTest.cpp",15 "BracesInserterTest.cpp",16 "BracesRemoverTest.cpp",17 "CleanupTest.cpp",18 "ConfigParseTest.cpp",19 "DefinitionBlockSeparatorTest.cpp",20 "FormatReplacementTest.cpp",21 "FormatTest.cpp",22 "FormatTestCSharp.cpp",23 "FormatTestComments.cpp",24 "FormatTestJS.cpp",25 "FormatTestJava.cpp",26 "FormatTestJson.cpp",27 "FormatTestMacroExpansion.cpp",28 "FormatTestObjC.cpp",29 "FormatTestProto.cpp",30 "FormatTestRawStrings.cpp",31 "FormatTestSelective.cpp",32 "FormatTestTableGen.cpp",33 "FormatTestTextProto.cpp",34 "FormatTestVerilog.cpp",35 "FormatTokenSourceTest.cpp",36 "IntegerLiteralSeparatorTest.cpp",37 "MacroCallReconstructorTest.cpp",38 "MacroExpanderTest.cpp",39 "MatchFilePathTest.cpp",40 "NamespaceEndCommentsFixerTest.cpp",41 "NumericLiteralCaseTest.cpp",42 "NumericLiteralInfoTest.cpp",43 "ObjCPropertyAttributeOrderFixerTest.cpp",44 "QualifierFixerTest.cpp",45 "SortImportsTestJS.cpp",46 "SortImportsTestJava.cpp",47 "SortIncludesTest.cpp",48 "TokenAnnotatorTest.cpp",49 "UsingDeclarationsSorterTest.cpp",50 ]51}52