Lines Matching defs:FormatTestComments

1 //===- unittest/Format/FormatTestComments.cpp - Formatting unit tests -----===//
20 class FormatTestComments : public FormatTestBase {};
26 TEST_F(FormatTestComments, UnderstandsSingleLineComments) {
335 TEST_F(FormatTestComments, KeepsParameterWithTrailingCommentsOnTheirOwnLine) {
380 TEST_F(FormatTestComments, RemovesTrailingWhitespaceOfComments) {
389 TEST_F(FormatTestComments, UnderstandsBlockComments) {
447 TEST_F(FormatTestComments, AlignsBlockComments) {
521 TEST_F(FormatTestComments, CommentReflowingCanBeTurnedOff) {
537 TEST_F(FormatTestComments, CommentReflowingCanApplyOnlyToIndents) {
555 TEST_F(FormatTestComments, CorrectlyHandlesLengthOfBlockComments) {
579 TEST_F(FormatTestComments, DontBreakNonTrailingBlockComments) {
586 TEST_F(FormatTestComments, SplitsLongCxxComments) {
721 TEST_F(FormatTestComments, PreservesHangingIndentInCxxComments) {
736 TEST_F(FormatTestComments, DontSplitLineCommentsWithEscapedNewlines) {
762 TEST_F(FormatTestComments, DontIntroduceMultilineComments) {
780 TEST_F(FormatTestComments, DontSplitLineCommentsWithPragmas) {
791 TEST_F(FormatTestComments, PriorityOfCommentBreaking) {
821 TEST_F(FormatTestComments, MultiLineCommentsInDefines) {
844 TEST_F(FormatTestComments, ParsesCommentsAdjacentToPPDirectives) {
853 TEST_F(FormatTestComments, KeepsLevelOfCommentBeforePPDirective) {
1144 TEST_F(FormatTestComments, CommentsBetweenUnbracedBodyAndPPDirective) {
1174 TEST_F(FormatTestComments, SplitsLongLinesInComments) {
1358 TEST_F(FormatTestComments, SplitsLongLinesInCommentsInPreprocessor) {
1395 TEST_F(FormatTestComments, KeepsTrailingPPCommentsAndSectionCommentsSeparate) {
1428 TEST_F(FormatTestComments, AlignsPPElseEndifComments) {
1452 TEST_F(FormatTestComments, CommentsInStaticInitializers) {
1518 TEST_F(FormatTestComments, LineCommentsAfterRightBrace) {
1576 TEST_F(FormatTestComments, ReflowsComments) {
2192 TEST_F(FormatTestComments, ReflowsCommentsPrecise) {
2232 TEST_F(FormatTestComments, ReflowsCommentsWithExtraWhitespace) {
2271 TEST_F(FormatTestComments, IgnoresIf0Contents) {
2424 TEST_F(FormatTestComments, DontCrashOnBlockComments) {
2435 TEST_F(FormatTestComments, BlockCommentsInControlLoops) {
2455 TEST_F(FormatTestComments, BlockComments) {
2566 TEST_F(FormatTestComments, BlockCommentsInMacros) {
2587 TEST_F(FormatTestComments, BlockCommentsAtEndOfLine) {
2609 TEST_F(FormatTestComments, BreaksAfterMultilineBlockCommentsInParamLists) {
2677 TEST_F(FormatTestComments, IndentLineCommentsInStartOfBlockAtEndOfFile) {
2683 TEST_F(FormatTestComments, AlignTrailingComments) {
2915 TEST_F(FormatTestComments, AlignTrailingCommentsAcrossEmptyLines) {
3096 TEST_F(FormatTestComments, AlignTrailingCommentsLeave) {
3221 TEST_F(FormatTestComments, DontAlignNamespaceComments) {
3337 TEST_F(FormatTestComments, DontAlignOverScope) {
3487 TEST_F(FormatTestComments, AlignsBlockCommentDecorations) {
3655 TEST_F(FormatTestComments, NoCrash_Bug34236) {
3672 TEST_F(FormatTestComments, NonTrailingBlockComments) {
3688 TEST_F(FormatTestComments, PythonStyleComments) {
3766 TEST_F(FormatTestComments, BreaksBeforeTrailingUnbreakableSequence) {
3775 TEST_F(FormatTestComments, ReflowBackslashCrash) {
3790 TEST_F(FormatTestComments, IndentsLongJavadocAnnotatedLines) {
3890 TEST_F(FormatTestComments, SpaceAtLineCommentBegin) {
4692 TEST_F(FormatTestComments, SplitCommentIntroducers) {