Home
last modified time | relevance | path

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

/external/protobuf/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.cc271 TestAllTypes test_message; in RunValidInputTest() local
302 if (!test_message.ParseFromString(binary_protobuf)) { in RunValidInputTest()
320 if (!test_message.ParseFromString(response.protobuf_payload())) { in RunValidInputTest()
341 if (differencer.Compare(reference_message, test_message)) { in RunValidInputTest()
/external/autotest/client/site_tests/buffet_BasicDBusAPI/
Dbuffet_BasicDBusAPI.py57 test_message = 'Hello world!'
58 echoed_message = buffet.manager.TestMethod(test_message)
59 if test_message != echoed_message:
61 'but got %s instead.' % (test_message,
/external/libbrillo/brillo/dbus/
Ddbus_method_invoker_unittest.cc169 dbus_utils_test::TestMessage test_message; in TEST_F() local
170 test_message.set_foo(123); in TEST_F()
171 test_message.set_bar("bar"); in TEST_F()
173 dbus_utils_test::TestMessage resp = CallProtobufTestMethod(test_message); in TEST_F()
Ddata_serialization_unittest.cc768 dbus_utils_test::TestMessage test_message; in TEST() local
769 test_message.set_foo(123); in TEST()
770 test_message.set_bar("abcd"); in TEST()
772 AppendValueToWriter(&writer, test_message); in TEST()
/external/protobuf/php/ext/google/protobuf/
Dtest.php13 $test_message = new \TestMessage(); variable
/external/vboot_reference/tests/
Drsa_padding_test.h32 static const uint8_t test_message[] = {0, 0, 0, 0}; variable
/external/python/cpython2/Lib/test/
Dtest_mimetools.py37 def test_message(self): member in MimeToolsTest
Dtest_warnings.py231 def test_message(self): member in WarnTests
/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc3241 const Descriptor* test_message = pool.FindMessageTypeByName( in TEST() local
3243 ASSERT_TRUE(test_message != NULL); in TEST()
3245 const MessageOptions& options = test_message->options(); in TEST()
/external/python/cpython3/Lib/test/test_warnings/
D__init__.py348 def test_message(self): member in WarnTests