#include "FormatTestBase.h"
#define DEBUG_TYPE …
namespace clang {
namespace format {
namespace test {
namespace {
class FormatTestTextProto : public FormatTestBase { … };
TEST_F(FormatTestTextProto, KeepsTopLevelEntriesFittingALine) { … }
TEST_F(FormatTestTextProto, SupportsMessageFields) { … }
TEST_F(FormatTestTextProto, AvoidsTopLevelBinPacking) { … }
TEST_F(FormatTestTextProto, AddsNewlinesAfterTrailingComments) { … }
TEST_F(FormatTestTextProto, ImplicitStringLiteralConcatenation) { … }
TEST_F(FormatTestTextProto, SupportsAngleBracketMessageFields) { … }
TEST_F(FormatTestTextProto, DiscardsUnbreakableTailIfCanBreakAfter) { … }
TEST_F(FormatTestTextProto, KeepsLongStringLiteralsOnSameLine) { … }
TEST_F(FormatTestTextProto, KeepsCommentsIndentedInList) { … }
TEST_F(FormatTestTextProto, UnderstandsHashComments) { … }
TEST_F(FormatTestTextProto, FormatsExtensions) { … }
TEST_F(FormatTestTextProto, SpacesAroundPercents) { … }
TEST_F(FormatTestTextProto, FormatsRepeatedListInitializers) { … }
TEST_F(FormatTestTextProto, AcceptsOperatorAsKey) { … }
TEST_F(FormatTestTextProto, BreaksConsecutiveStringLiterals) { … }
TEST_F(FormatTestTextProto, PutsMultipleEntriesInExtensionsOnNewlines) { … }
TEST_F(FormatTestTextProto, BreaksAfterBraceFollowedByClosingBraceOnNextLine) { … }
TEST_F(FormatTestTextProto, BreaksEntriesOfSubmessagesContainingSubmessages) { … }
TEST_F(FormatTestTextProto, PreventBreaksBetweenKeyAndSubmessages) { … }
TEST_F(FormatTestTextProto, FormatsCommentsAtEndOfFile) { … }
TEST_F(FormatTestTextProto, KeepsAmpersandsNextToKeys) { … }
}
}
}
}