Home
last modified time | relevance | path

Searched refs:verifyFormat (Results 1 – 5 of 5) sorted by relevance

/external/clang/unittests/Format/
DFormatTest.cpp56 void verifyFormat(llvm::StringRef Code, in verifyFormat() function in clang::format::FormatTest
62 verifyFormat(Code, getGoogleStyle()); in verifyGoogleFormat()
66 verifyFormat(text); in verifyIndependentOfContext()
67 verifyFormat(llvm::Twine("void f() { " + text + " }").str()); in verifyIndependentOfContext()
105 verifyFormat("Method(f1, f2(f3));"); in TEST_F()
106 verifyFormat("Method(f1(f2, f3()));"); in TEST_F()
107 verifyFormat("Method(f1(f2, (f3())));"); in TEST_F()
111 verifyFormat("vector<::Type> v;"); in TEST_F()
112 verifyFormat("::ns::SomeFunction(::ns::SomeOtherFunction())"); in TEST_F()
113 verifyFormat("static constexpr bool Bar = decltype(bar())::value;"); in TEST_F()
[all …]
DFormatTestJS.cpp46 static void verifyFormat( in verifyFormat() function in clang::format::FormatTestJS
54 verifyFormat("a == = b;"); in TEST_F()
55 verifyFormat("a != = b;"); in TEST_F()
57 verifyFormat("a === b;"); in TEST_F()
58 verifyFormat("aaaaaaa ===\n b;", getGoogleJSStyleWithColumns(10)); in TEST_F()
59 verifyFormat("a !== b;"); in TEST_F()
60 verifyFormat("aaaaaaa !==\n b;", getGoogleJSStyleWithColumns(10)); in TEST_F()
61 verifyFormat("if (a + b + c +\n" in TEST_F()
67 verifyFormat("a >> >= b;"); in TEST_F()
69 verifyFormat("a >>> b;"); in TEST_F()
[all …]
DFormatTestProto.cpp40 static void verifyFormat(llvm::StringRef Code) { in verifyFormat() function in clang::format::FormatTestProto
46 verifyFormat("message SomeMessage {\n" in TEST_F()
49 verifyFormat("message SomeMessage {\n" in TEST_F()
52 verifyFormat("message SomeMessage {\n" in TEST_F()
57 verifyFormat("message SomeMessage {\n" in TEST_F()
67 verifyFormat("enum Type {\n" in TEST_F()
75 verifyFormat("rpc Search(SearchRequest) returns (SearchResponse);"); in TEST_F()
79 verifyFormat("optional string test = 1 [default = \"test\"];"); in TEST_F()
80 verifyFormat("optional bool a = 1 [default = true, deprecated = true];"); in TEST_F()
81 verifyFormat("optional LongMessageType long_proto_field = 1\n" in TEST_F()
[all …]
/external/icu/icu4c/source/test/intltest/
Dmeasfmttest.cpp56 void verifyFormat(
69 void verifyFormat(
233 verifyFormat( in TestExamplesInDocs()
246 verifyFormat( in TestExamplesInDocs()
252 verifyFormat( in TestExamplesInDocs()
265 verifyFormat( in TestExamplesInDocs()
271 verifyFormat( in TestExamplesInDocs()
277 verifyFormat( in TestExamplesInDocs()
440 verifyFormat("en WIDE", mf, fullData, LENGTHOF(fullData)); in TestFormatPeriodEn()
445 verifyFormat("en WIDE copy", mf2, fullData, LENGTHOF(fullData)); in TestFormatPeriodEn()
[all …]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DErrorManager.java454 boolean formatOK = verifyFormat(); in setFormat()
882 protected static boolean verifyFormat() { in verifyFormat() method in ErrorManager