#include "clang/Format/Format.h"
#include "../Tooling/ReplacementTest.h"
#include "FormatTestUtils.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/MemoryBuffer.h"
#include "gtest/gtest.h"
#define DEBUG_TYPE …
namespace clang {
namespace format {
namespace {
class FormatTestRawStrings : public testing::Test { … };
TEST_F(FormatTestRawStrings, ReformatsAccordingToBaseStyle) { … }
TEST_F(FormatTestRawStrings, UsesConfigurationOverBaseStyle) { … }
TEST_F(FormatTestRawStrings, MatchesDelimitersCaseSensitively) { … }
TEST_F(FormatTestRawStrings, RespectsClangFormatOff) { … }
TEST_F(FormatTestRawStrings, ReformatsShortRawStringsOnSingleLine) { … }
TEST_F(FormatTestRawStrings, BreaksShortRawStringsWhenNeeded) { … }
TEST_F(FormatTestRawStrings, BreaksRawStringsExceedingColumnLimit) { … }
TEST_F(FormatTestRawStrings, FormatsRawStringArguments) { … }
TEST_F(FormatTestRawStrings, RawStringStartingWithNewlines) { … }
TEST_F(FormatTestRawStrings, BreaksBeforeRawStrings) { … }
TEST_F(FormatTestRawStrings, RawStringsInOperands) { … }
TEST_F(FormatTestRawStrings, PrefixAndSuffixAlignment) { … }
TEST_F(FormatTestRawStrings, EstimatesPenalty) { … }
TEST_F(FormatTestRawStrings, DontFormatNonRawStrings) { … }
TEST_F(FormatTestRawStrings, FormatsRawStringsWithEnclosingFunctionName) { … }
TEST_F(FormatTestRawStrings, UpdatesToCanonicalDelimiters) { … }
TEST_F(FormatTestRawStrings, PenalizesPrefixExcessChars) { … }
TEST_F(FormatTestRawStrings, KeepsRBraceFolloedByMoreLBracesOnSameLine) { … }
TEST_F(FormatTestRawStrings,
DoNotFormatUnrecognizedDelimitersInRecognizedFunctions) { … }
TEST_F(FormatTestRawStrings,
BreaksBeforeNextParamAfterMultilineRawStringParam) { … }
TEST_F(FormatTestRawStrings, IndentsLastParamAfterNewline) { … }
}
}
}