Home
last modified time | relevance | path

Searched refs:test_message (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/conformance/
Dconformance_ruby.rb39 test_message = Conformance::TestAllTypes.new
46 test_message =
55 test_message = Conformance::TestAllTypes.decode_json(request.json_payload)
70 response.protobuf_payload = test_message.to_proto
73 response.json_payload = test_message.to_json
Dconformance_python.py55 test_message = conformance_pb2.TestAllTypes()
57 test_message = conformance_pb2.TestAllTypes()
62 test_message.ParseFromString(request.protobuf_payload)
69 json_format.Parse(request.json_payload, test_message)
81 response.protobuf_payload = test_message.SerializeToString()
84 response.json_payload = json_format.MessageToJson(test_message)
Dconformance_cpp.cc89 TestAllTypes test_message; in DoTest() local
93 if (!test_message.ParseFromString(request.protobuf_payload())) { in DoTest()
111 if (!test_message.ParseFromString(proto_binary)) { in DoTest()
131 test_message.SerializeToString(response->mutable_protobuf_payload())); in DoTest()
136 GOOGLE_CHECK(test_message.SerializeToString(&proto_binary)); in DoTest()
Dconformance_test.cc272 TestAllTypes test_message; in RunValidInputTest() local
303 if (!test_message.ParseFromString(binary_protobuf)) { in RunValidInputTest()
321 if (!test_message.ParseFromString(response.protobuf_payload())) { in RunValidInputTest()
342 if (differencer.Compare(reference_message, test_message)) { in RunValidInputTest()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/
Dtest.php13 $test_message = new \TestMessage(); variable
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Djson_format_test.py479 test_message = json_format_proto3_pb2.TestMessage(
488 message.value.Pack(test_message)
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Ddescriptor_unittest.cc3243 const Descriptor* test_message = pool.FindMessageTypeByName( in TEST() local
3245 ASSERT_TRUE(test_message != NULL); in TEST()
3247 const MessageOptions& options = test_message->options(); in TEST()