Home
last modified time | relevance | path

Searched defs:FormatTestJS (Results 1 – 1 of 1) sorted by relevance

/llvm-project/clang/unittests/Format/
H A DFormatTestJS.cpp19 class FormatTestJS : public testing::Test { class
66 TEST_F(FormatTestJS, BlockComments) { in TEST_F() argument
92 TEST_F(FormatTestJS, JSDocComments) { in TEST_F() argument
229 TEST_F(FormatTestJS, UnderstandsJavaScriptOperators) { in TEST_F() argument
284 TEST_F(FormatTestJS, UnderstandsAmpAmp) { in TEST_F() argument
288 TEST_F(FormatTestJS, LiteralOperatorsCanBeKeywords) { in TEST_F() argument
292 TEST_F(FormatTestJS, ReservedWords) { in TEST_F() argument
346 TEST_F(FormatTestJS, ReservedWordsMethods) { in TEST_F() argument
376 TEST_F(FormatTestJS, ReservedWordsParenthesize argument
386 TEST_F(FormatTestJS,ES6DestructuringAssignment) TEST_F() argument
394 TEST_F(FormatTestJS,ContainerLiterals) TEST_F() argument
504 TEST_F(FormatTestJS,MethodsInObjectLiterals) TEST_F() argument
533 TEST_F(FormatTestJS,GettersSettersVisibilityKeywords) TEST_F() argument
552 TEST_F(FormatTestJS,SpacesInContainerLiterals) TEST_F() argument
566 TEST_F(FormatTestJS,SingleQuotedStrings) TEST_F() argument
570 TEST_F(FormatTestJS,GoogScopes) TEST_F() argument
582 TEST_F(FormatTestJS,IIFEs) TEST_F() argument
601 TEST_F(FormatTestJS,GoogModules) TEST_F() argument
627 TEST_F(FormatTestJS,FormatsNamespaces) TEST_F() argument
636 TEST_F(FormatTestJS,NamespacesMayNotWrap) TEST_F() argument
651 TEST_F(FormatTestJS,AmbientDeclarations) TEST_F() argument
677 TEST_F(FormatTestJS,FormatsFreestandingFunctions) TEST_F() argument
709 TEST_F(FormatTestJS,FormatsDecorators) TEST_F() argument
770 TEST_F(FormatTestJS,GeneratorFunctions) TEST_F() argument
797 TEST_F(FormatTestJS,AsyncFunctions) TEST_F() argument
862 TEST_F(FormatTestJS,OverriddenMembers) TEST_F() argument
882 TEST_F(FormatTestJS,FunctionParametersTrailingComma) TEST_F() argument
906 TEST_F(FormatTestJS,ArrayLiterals) TEST_F() argument
948 TEST_F(FormatTestJS,ColumnLayoutForArrayLiterals) TEST_F() argument
959 TEST_F(FormatTestJS,TrailingCommaInsertion) TEST_F() argument
998 TEST_F(FormatTestJS,FunctionLiterals) TEST_F() argument
1102 TEST_F(FormatTestJS,DontWrapEmptyLiterals) TEST_F() argument
1111 TEST_F(FormatTestJS,InliningFunctionLiterals) TEST_F() argument
1168 TEST_F(FormatTestJS,MultipleFunctionLiterals) TEST_F() argument
1231 TEST_F(FormatTestJS,ArrowFunctions) TEST_F() argument
1275 TEST_F(FormatTestJS,ArrowFunctionStyle) TEST_F() argument
1303 TEST_F(FormatTestJS,ReturnStatements) TEST_F() argument
1309 TEST_F(FormatTestJS,ForLoops) TEST_F() argument
1324 TEST_F(FormatTestJS,WrapRespectsAutomaticSemicolonInsertion) TEST_F() argument
1371 TEST_F(FormatTestJS,AddsIsTheDictKeyOnNewline) TEST_F() argument
1381 TEST_F(FormatTestJS,AutomaticSemicolonInsertionHeuristic) TEST_F() argument
1461 TEST_F(FormatTestJS,ImportExportASI) TEST_F() argument
1476 TEST_F(FormatTestJS,ImportExportType) TEST_F() argument
1487 TEST_F(FormatTestJS,ClosureStyleCasts) TEST_F() argument
1491 TEST_F(FormatTestJS,TryCatch) TEST_F() argument
1505 TEST_F(FormatTestJS,StringLiteralConcatenation) TEST_F() argument
1516 TEST_F(FormatTestJS,RegexLiteralClassification) TEST_F() argument
1544 TEST_F(FormatTestJS,RegexLiteralSpecialCharacters) TEST_F() argument
1610 TEST_F(FormatTestJS,RegexLiteralModifiers) TEST_F() argument
1617 TEST_F(FormatTestJS,RegexLiteralLength) TEST_F() argument
1627 TEST_F(FormatTestJS,RegexLiteralExamples) TEST_F() argument
1631 TEST_F(FormatTestJS,IgnoresMpegTS) TEST_F() argument
1640 TEST_F(FormatTestJS,TypeAnnotations) TEST_F() argument
1679 TEST_F(FormatTestJS,UnionIntersectionTypes) TEST_F() argument
1701 TEST_F(FormatTestJS,UnionIntersectionTypesInObjectType) TEST_F() argument
1713 TEST_F(FormatTestJS,ClassDeclarations) TEST_F() argument
1759 TEST_F(FormatTestJS,StrictPropInitWrap) TEST_F() argument
1768 TEST_F(FormatTestJS,InterfaceDeclarations) TEST_F() argument
1786 TEST_F(FormatTestJS,ObjectTypesInExtendsImplements) TEST_F() argument
1797 TEST_F(FormatTestJS,EnumDeclarations) TEST_F() argument
1821 TEST_F(FormatTestJS,Decorators) TEST_F() argument
1842 TEST_F(FormatTestJS,TypeAliases) TEST_F() argument
1856 TEST_F(FormatTestJS,TypeInterfaceLineWrapping) TEST_F() argument
1868 TEST_F(FormatTestJS,RemoveEmptyLinesInArrowFunctions) TEST_F() argument
1881 TEST_F(FormatTestJS,Modules) TEST_F() argument
1972 TEST_F(FormatTestJS,ImportWrapping) TEST_F() argument
2007 TEST_F(FormatTestJS,TemplateStrings) TEST_F() argument
2113 TEST_F(FormatTestJS,TemplateStringMultiLineExpression) TEST_F() argument
2149 TEST_F(FormatTestJS,TemplateStringASI) TEST_F() argument
2155 TEST_F(FormatTestJS,NestedTemplateStrings) TEST_F() argument
2167 TEST_F(FormatTestJS,TaggedTemplateStrings) TEST_F() argument
2178 TEST_F(FormatTestJS,CastSyntax) TEST_F() argument
2199 TEST_F(FormatTestJS,TypeArguments) TEST_F() argument
2215 TEST_F(FormatTestJS,UserDefinedTypeGuards) TEST_F() argument
2223 TEST_F(FormatTestJS,OptionalTypes) TEST_F() argument
2241 TEST_F(FormatTestJS,IndexSignature) TEST_F() argument
2245 TEST_F(FormatTestJS,WrapAfterParen) TEST_F() argument
2263 TEST_F(FormatTestJS,JSDocAnnotations) TEST_F() argument
2361 TEST_F(FormatTestJS,TslintComments) TEST_F() argument
2373 TEST_F(FormatTestJS,TscComments) TEST_F() argument
2393 TEST_F(FormatTestJS,RequoteStringsSingle) TEST_F() argument
2417 TEST_F(FormatTestJS,RequoteAndIndent) TEST_F() argument
2432 TEST_F(FormatTestJS,RequoteStringsDouble) TEST_F() argument
2440 TEST_F(FormatTestJS,RequoteStringsLeave) TEST_F() argument
2447 TEST_F(FormatTestJS,SupportShebangLines) TEST_F() argument
2454 TEST_F(FormatTestJS,NonNullAssertionOperator) TEST_F() argument
2476 TEST_F(FormatTestJS,CppKeywords) TEST_F() argument
2536 TEST_F(FormatTestJS,NullPropagatingOperator) TEST_F() argument
2542 TEST_F(FormatTestJS,NullishCoalescingOperator) TEST_F() argument
2550 TEST_F(FormatTestJS,AssignmentOperators) TEST_F() argument
2559 TEST_F(FormatTestJS,Conditional) TEST_F() argument
2568 TEST_F(FormatTestJS,ImportComments) TEST_F() argument
2576 TEST_F(FormatTestJS,Exponentiation) TEST_F() argument
2581 TEST_F(FormatTestJS,NestedLiterals) TEST_F() argument
2626 TEST_F(FormatTestJS,BackslashesInComments) TEST_F() argument
2648 TEST_F(FormatTestJS,AddsLastLinePenaltyIfEndingIsBroken) TEST_F() argument
2668 TEST_F(FormatTestJS,ParameterNamingComment) TEST_F() argument
2672 TEST_F(FormatTestJS,ConditionalTypes) TEST_F() argument
2681 TEST_F(FormatTestJS,SupportPrivateFieldsAndMethods) TEST_F() argument
2703 TEST_F(FormatTestJS,DeclaredFields) TEST_F() argument
2710 TEST_F(FormatTestJS,NoBreakAfterAsserts) TEST_F() argument
2725 TEST_F(FormatTestJS,NumericSeparators) TEST_F() argument
2729 TEST_F(FormatTestJS,AlignConsecutiveDeclarations) TEST_F() argument
2765 TEST_F(FormatTestJS,AlignConsecutiveAssignments) TEST_F() argument
2802 TEST_F(FormatTestJS,AlignConsecutiveAssignmentsAndDeclarations) TEST_F() argument
2839 TEST_F(FormatTestJS,DontBreakFieldsAsGoToLabels) TEST_F() argument
[all...]