Lines Matching defs:verifyFormat
39 static void verifyFormat(StringRef Code) {
46 verifyFormat("message SomeMessage {\n"
49 verifyFormat("message SomeMessage {\n"
52 verifyFormat("message SomeMessage {\n"
57 verifyFormat("message SomeMessage {\n"
64 verifyFormat("message SomeMessage {\n"
90 verifyFormat("optional string operator = 1;");
94 verifyFormat("enum Type {\n"
99 verifyFormat("enum Type {\n"
102 verifyFormat("enum Type {\n"
111 verifyFormat("message SomeMessage {\n"
117 verifyFormat("message SomeMessage {\n"
124 verifyFormat("rpc Search(SearchRequest) returns (SearchResponse);");
128 verifyFormat("optional string test = 1 [default = \"test\"];");
129 verifyFormat("optional bool a = 1 [default = true, deprecated = true];");
130 verifyFormat("optional LongMessageType long_proto_field = 1 [\n"
134 verifyFormat("optional LongMessageType long_proto_field = 1\n"
136 verifyFormat("repeated double value = 1\n"
138 verifyFormat("repeated double value = 1 [(aaaaaaa.aaaaaaaaa) = {\n"
142 verifyFormat("repeated double value = 1 [(aaaaaaa.aaaaaaaaa) = {\n"
146 verifyFormat("repeated double value = 1 [\n"
156 verifyFormat("repeated double value = 1 [(aaaaaaa.aaaaaaaaa) = {\n"
161 verifyFormat("repeated double value = 1 [(aaaaaaa.aaaaaaaaa) = {\n"
166 verifyFormat("optional AAA aaa = 1 [\n"
174 verifyFormat("optional string test = 1 [default = \"test\"\n"
176 verifyFormat("optional Aaaaaaaa aaaaaaaa = 12 [\n"
183 verifyFormat("extensions 20 [(proto2.type) = 'Aaaa.bbbb'];");
184 verifyFormat("extensions 20\n"
186 verifyFormat("extensions 123 [\n"
193 verifyFormat("repeated A a = 1 [(annotation).int32.repeated.test = true];");
205 verifyFormat("option java_package = \"foo.pkg\"; // comment");
209 verifyFormat("option (MyProto.options) = {\n"
215 verifyFormat("option (MyProto.options) = {\n"
221 verifyFormat("option (MyProto.options) = {\n"
227 verifyFormat("option (MyProto.options) = {\n"
231 verifyFormat("option (MyProto.options) = {\n"
239 verifyFormat("option (MyProto.options) = {\n"
246 verifyFormat("option (MyProto.options) = {\n"
253 verifyFormat("option (MyProto.options) = {\n"
261 verifyFormat("option (MyProto.options) = <\n"
269 verifyFormat("option (MyProto.options) = <\n"
277 verifyFormat("option (MyProto.options) = <\n"
285 verifyFormat("option (MyProto.options) = <\n"
297 verifyFormat("option (MyProto.options) = <\n"
309 verifyFormat("option (MyProto.options) = <\n"
321 verifyFormat("option (MyProto.options) = <\n"
333 verifyFormat("option (MyProto.options) = <\n"
345 verifyFormat("option (MyProto.options) = {\n"
357 verifyFormat("option (MyProto.options) = {\n"
369 verifyFormat("option (MyProto.options) = <\n"
389 verifyFormat("option (MyProto.options) = <\n"
394 verifyFormat("option (MyProto.options) = <\n"
400 verifyFormat("option (MyProto.options) = {\n"
409 verifyFormat(
415 verifyFormat("package foo.pkg; // comment");
419 verifyFormat("service SearchService {\n"
427 verifyFormat("extend .foo.Bar {}");
431 verifyFormat("import \"a.proto\";\n"
436 verifyFormat("import public \"a.proto\";\n"
442 verifyFormat("import \"a.proto\"\n"
449 verifyFormat(
458 verifyFormat("option (MyProto.options) = {\n"
469 verifyFormat("option (MyProto.options) = {\n"
477 verifyFormat("option (MyProto.options) = {\n"
507 verifyFormat("option (MyProto.options) = {\n"
522 verifyFormat("option (MyProto.options) = {\n"
529 verifyFormat("option (MyProto.options) = {\n"
536 verifyFormat("option (MyProto.options) = {\n"
544 verifyFormat("option (MyProto.options) = {\n"
551 verifyFormat("option (MyProto.options) = {\n"
558 verifyFormat("option (MyProto.options) = {\n"
565 verifyFormat("option (MyProto.options) = {\n"
572 verifyFormat("option (MyProto.options) = {\n"
579 verifyFormat("option (MyProto.options) = {\n"
586 verifyFormat("option (MyProto.options) = {\n"
593 verifyFormat("option (MyProto.options) = {\n"
600 verifyFormat("option (MyProto.options) = {\n"
607 verifyFormat("option (MyProto.options) = {\n"
614 verifyFormat("option (MyProto.options) = {\n"
621 verifyFormat("option (MyProto.options) = {\n"
629 verifyFormat("option (MyProto.options) = {\n"
637 verifyFormat("option (MyProto.options) = {\n"
649 verifyFormat("option (MyProto.options) = {\n"
654 verifyFormat("option (MyProto.options) = {\n"
659 verifyFormat("option (MyProto.options) = {\n"
664 verifyFormat("option (MyProto.options) = {\n"
669 verifyFormat("option (MyProto.options) = {\n"