Lines Matching refs:verifyFormat

39   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()
64 verifyFormat("message SomeMessage {\n" in TEST_F()
90 verifyFormat("optional string operator = 1;"); in TEST_F()
94 verifyFormat("enum Type {\n" in TEST_F()
99 verifyFormat("enum Type {\n" in TEST_F()
102 verifyFormat("enum Type {\n" in TEST_F()
111 verifyFormat("message SomeMessage {\n" in TEST_F()
117 verifyFormat("rpc Search(SearchRequest) returns (SearchResponse);"); in TEST_F()
121 verifyFormat("optional string test = 1 [default = \"test\"];"); in TEST_F()
122 verifyFormat("optional bool a = 1 [default = true, deprecated = true];"); in TEST_F()
123 verifyFormat("optional LongMessageType long_proto_field = 1 [\n" in TEST_F()
127 verifyFormat("optional LongMessageType long_proto_field = 1\n" in TEST_F()
129 verifyFormat("repeated double value = 1\n" in TEST_F()
131 verifyFormat("repeated double value = 1 [(aaaaaaa.aaaaaaaaa) = {\n" in TEST_F()
135 verifyFormat("repeated double value = 1 [(aaaaaaa.aaaaaaaaa) = {\n" in TEST_F()
139 verifyFormat("repeated double value = 1 [\n" in TEST_F()
149 verifyFormat("repeated double value = 1 [(aaaaaaa.aaaaaaaaa) = {\n" in TEST_F()
154 verifyFormat("repeated double value = 1 [(aaaaaaa.aaaaaaaaa) = {\n" in TEST_F()
159 verifyFormat("optional AAA aaa = 1 [\n" in TEST_F()
167 verifyFormat("optional string test = 1 [default = \"test\"\n" in TEST_F()
169 verifyFormat("optional Aaaaaaaa aaaaaaaa = 12 [\n" in TEST_F()
176 verifyFormat("extensions 20 [(proto2.type) = 'Aaaa.bbbb'];"); in TEST_F()
177 verifyFormat("extensions 20\n" in TEST_F()
179 verifyFormat("extensions 123 [\n" in TEST_F()
197 verifyFormat("option java_package = \"foo.pkg\"; // comment\n"); in TEST_F()
201 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
207 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
213 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
219 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
223 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
231 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
238 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
245 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
253 verifyFormat("option (MyProto.options) = <\n" in TEST_F()
261 verifyFormat("option (MyProto.options) = <\n" in TEST_F()
269 verifyFormat("option (MyProto.options) = <\n" in TEST_F()
277 verifyFormat("option (MyProto.options) = <\n" in TEST_F()
289 verifyFormat("option (MyProto.options) = <\n" in TEST_F()
301 verifyFormat("option (MyProto.options) = <\n" in TEST_F()
313 verifyFormat("option (MyProto.options) = <\n" in TEST_F()
325 verifyFormat("option (MyProto.options) = <\n" in TEST_F()
337 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
349 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
361 verifyFormat("option (MyProto.options) = <\n" in TEST_F()
381 verifyFormat("option (MyProto.options) = <\n" in TEST_F()
386 verifyFormat("option (MyProto.options) = <\n" in TEST_F()
392 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
401 verifyFormat( in TEST_F()
407 verifyFormat("package foo.pkg; // comment\n"); in TEST_F()
411 verifyFormat("service SearchService {\n" in TEST_F()
419 verifyFormat("extend .foo.Bar {}"); in TEST_F()
423 verifyFormat("import \"a.proto\";\n" in TEST_F()
428 verifyFormat("import public \"a.proto\";\n" in TEST_F()
434 verifyFormat("import \"a.proto\"\n" in TEST_F()
441 verifyFormat( in TEST_F()
450 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
461 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
469 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
499 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
516 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
523 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
530 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
538 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
545 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
552 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
559 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
566 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
573 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
580 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
587 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
594 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
601 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
608 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
615 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
623 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
631 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
643 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
648 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
653 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
658 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
663 verifyFormat("option (MyProto.options) = {\n" in TEST_F()