/external/protobuf/conformance/ |
D | conformance_cpp.cc | 126 Message *test_message; in DoTest() local 132 test_message = MessageFactory::generated_factory()->GetPrototype(descriptor)->New(); in DoTest() 136 if (!test_message->ParseFromString(request.protobuf_payload())) { in DoTest() 160 if (!test_message->ParseFromString(proto_binary)) { in DoTest() 169 if (!TextFormat::ParseFromString(request.text_payload(), test_message)) { in DoTest() 189 test_message = &failures; in DoTest() 198 GOOGLE_CHECK(test_message->SerializeToString(response->mutable_protobuf_payload())); in DoTest() 204 GOOGLE_CHECK(test_message->SerializeToString(&proto_binary)); in DoTest() 219 GOOGLE_CHECK(printer.PrintToString(*test_message, in DoTest()
|
D | conformance_ruby.rb | 40 test_message = ProtobufTestMessages::Proto3::TestAllTypesProto3.new 48 test_message = ProtobufTestMessages::Proto3::TestAllTypesProto3.decode( 63 test_message = ProtobufTestMessages::Proto3::TestAllTypesProto3.decode_json( 85 response.protobuf_payload = test_message.to_proto 88 response.json_payload = test_message.to_json
|
D | conformance_python.py | 123 test_message = test_messages_proto2_pb2.TestAllTypesProto2() if isProto2 else \ 129 test_message.ParseFromString(request.protobuf_payload) 139 json_format.Parse(request.json_payload, test_message, 147 text_format.Parse(request.text_payload, test_message) 159 response.protobuf_payload = test_message.SerializeToString() 163 response.json_payload = json_format.MessageToJson(test_message) 170 test_message, print_unknown_fields=request.print_unknown_fields)
|
D | conformance_php.php | 30 $test_message = new \Protobuf_test_messages\Proto3\TestAllTypesProto3(); 38 $test_message->mergeFromString($request->getProtobufPayload()); 54 $test_message->mergeFromJsonString($request->getJsonPayload(), 70 $response->setProtobufPayload($test_message->serializeToString()); 73 $response->setJsonPayload($test_message->serializeToJsonString());
|
D | text_format_conformance_suite.cc | 59 const ConformanceRequestSetting& setting, Message* test_message) { in ParseTextFormatResponse() argument 65 if (!parser.ParseFromString(response.text_payload(), test_message)) { in ParseTextFormatResponse() 77 const ConformanceRequestSetting& setting, Message* test_message) { in ParseResponse() argument 94 if (!test_message->ParseFromString(response.protobuf_payload())) { in ParseResponse() 113 if (!ParseTextFormatResponse(response, setting, test_message)) { in ParseResponse()
|
D | text_format_conformance_suite.h | 60 Message* test_message); 63 Message* test_message) override;
|
D | binary_json_conformance_suite.h | 74 Message* test_message); 78 Message* test_message) override;
|
D | conformance_test.cc | 235 Message* test_message = setting.GetTestMessage(); in VerifyResponse() local 263 if (!ParseResponse(response, setting, test_message)) return; in VerifyResponse() 274 check = differencer.Compare(*reference_message, *test_message); in VerifyResponse()
|
D | conformance_test.h | 258 Message* test_message) = 0;
|
D | binary_json_conformance_suite.cc | 197 Message* test_message) { in ParseJsonResponse() argument 207 if (!test_message->ParseFromString(binary_protobuf)) { in ParseJsonResponse() 220 Message* test_message) { in ParseResponse() argument 236 if (!test_message->ParseFromString(response.protobuf_payload())) { in ParseResponse() 254 if (!ParseJsonResponse(response, test_message)) { in ParseResponse()
|
/external/libaom/libaom/test/ |
D | test_runner.cmake | 23 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/toolchain-utils/ |
D | run_tests_for.py | 142 test_message = pretty_test 144 test_message = '%s in %s/' % (pretty_test, pretty_directory) 146 print('## %s ... ' % test_message, end='')
|
/external/libbrillo/brillo/dbus/ |
D | dbus_method_invoker_test.cc | 198 dbus_utils_test::TestMessage test_message; in TEST_F() local 199 test_message.set_foo(123); in TEST_F() 200 test_message.set_bar("bar"); in TEST_F() 202 dbus_utils_test::TestMessage resp = CallProtobufTestMethod(test_message); in TEST_F()
|
D | data_serialization_test.cc | 803 dbus_utils_test::TestMessage test_message; in TEST() local 804 test_message.set_foo(123); in TEST() 805 test_message.set_bar("abcd"); in TEST() 807 AppendValueToWriter(&writer, test_message); in TEST()
|
/external/vboot_reference/tests/ |
D | rsa_padding_test.h | 32 static const uint8_t test_message[] = {0, 0, 0, 0}; variable
|
/external/libprotobuf-mutator/src/ |
D | mutator_test.cc | 624 auto test_message = in TYPED_TEST() local 626 if (seed % 2) test_message->set_optional_string(v); in TYPED_TEST() 635 auto test_message = in TYPED_TEST() local 637 if (seed % 2) test_message->set_optional_int64(v); in TYPED_TEST()
|
/external/python/cpython2/Lib/test/ |
D | test_mimetools.py | 37 def test_message(self): member in MimeToolsTest
|
D | test_warnings.py | 235 def test_message(self): member in WarnTests
|
/external/protobuf/python/google/protobuf/internal/ |
D | json_format_test.py | 652 test_message = json_format_proto3_pb2.TestMessage( 661 message.value.Pack(test_message)
|
/external/python/cpython3/Lib/test/test_warnings/ |
D | __init__.py | 381 def test_message(self): member in WarnTests
|