Home
last modified time | relevance | path

Searched refs:test_message (Results 1 – 14 of 14) 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/libaom/libaom/test/
Dtest_runner.cmake23 set(test_message "Test shard ${GTEST_SHARD_INDEX}/${GTEST_TOTAL_SHARDS} result") variable
24 message("${test_message}: ${test_result}")
27 message(FATAL_ERROR "${test_message}: FAILED, non-zero exit code.")
/external/libbrillo/brillo/dbus/
Ddbus_method_invoker_unittest.cc199 dbus_utils_test::TestMessage test_message; in TEST_F() local
200 test_message.set_foo(123); in TEST_F()
201 test_message.set_bar("bar"); in TEST_F()
203 dbus_utils_test::TestMessage resp = CallProtobufTestMethod(test_message); in TEST_F()
Ddata_serialization_unittest.cc763 dbus_utils_test::TestMessage test_message; in TEST() local
764 test_message.set_foo(123); in TEST()
765 test_message.set_bar("abcd"); in TEST()
767 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.py235 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__.py377 def test_message(self): member in WarnTests