Lines Matching refs:verifyFormat
40 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("optional string operator = 1;"); in TEST_F()
71 verifyFormat("enum Type {\n" in TEST_F()
76 verifyFormat("enum Type {\n" in TEST_F()
79 verifyFormat("enum Type {\n" in TEST_F()
88 verifyFormat("rpc Search(SearchRequest) returns (SearchResponse);"); in TEST_F()
92 verifyFormat("optional string test = 1 [default = \"test\"];"); in TEST_F()
93 verifyFormat("optional bool a = 1 [default = true, deprecated = true];"); in TEST_F()
94 verifyFormat("optional LongMessageType long_proto_field = 1 [\n" in TEST_F()
98 verifyFormat("optional LongMessageType long_proto_field = 1\n" in TEST_F()
100 verifyFormat("repeated double value = 1\n" in TEST_F()
102 verifyFormat("repeated double value = 1 [(aaaaaaa.aaaaaaaaa) = {\n" in TEST_F()
106 verifyFormat("repeated double value = 1 [(aaaaaaa.aaaaaaaaa) = {\n" in TEST_F()
110 verifyFormat("repeated double value = 1 [\n" in TEST_F()
120 verifyFormat("repeated double value = 1 [(aaaaaaa.aaaaaaaaa) = {\n" in TEST_F()
125 verifyFormat("repeated double value = 1 [(aaaaaaa.aaaaaaaaa) = {\n" in TEST_F()
130 verifyFormat("optional AAA aaa = 1 [\n" in TEST_F()
149 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
155 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
161 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
167 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
173 verifyFormat("option (MyProto.options) = {\n" in TEST_F()
180 verifyFormat("service SearchService {\n" in TEST_F()
188 verifyFormat("extend .foo.Bar {\n" in TEST_F()
193 verifyFormat("import \"a.proto\";\n" in TEST_F()
199 verifyFormat("import public \"a.proto\";\n" in TEST_F()
206 verifyFormat("import \"a.proto\"\n" in TEST_F()