Home
last modified time | relevance | path

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

/third_party/protobuf/conformance/
Dconformance_cpp.cc103 Message *test_message; in DoTest() local
109 test_message = MessageFactory::generated_factory()->GetPrototype(descriptor)->New(); in DoTest()
113 if (!test_message->ParseFromString(request.protobuf_payload())) { in DoTest()
137 if (!test_message->ParseFromString(proto_binary)) { in DoTest()
146 if (!TextFormat::ParseFromString(request.text_payload(), test_message)) { in DoTest()
165 test_message = &failures; in DoTest()
174 GOOGLE_CHECK(test_message->SerializeToString( in DoTest()
181 GOOGLE_CHECK(test_message->SerializeToString(&proto_binary)); in DoTest()
196 GOOGLE_CHECK(printer.PrintToString(*test_message, in DoTest()
Dconformance_ruby.rb40 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
Dconformance_python.py120 test_message = test_messages_proto2_pb2.TestAllTypesProto2() if isProto2 else \
126 test_message.ParseFromString(request.protobuf_payload)
136 json_format.Parse(request.json_payload, test_message,
144 text_format.Parse(request.text_payload, test_message)
156 response.protobuf_payload = test_message.SerializeToString()
160 response.json_payload = json_format.MessageToJson(test_message)
167 test_message, print_unknown_fields=request.print_unknown_fields)
Dconformance_php.php30 $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());
Dbinary_json_conformance_suite.cc355 Message* test_message) { in ParseJsonResponse() argument
365 if (!test_message->ParseFromString(binary_protobuf)) { in ParseJsonResponse()
377 Message* test_message) { in ParseResponse() argument
394 if (!test_message->ParseFromString(response.protobuf_payload())) { in ParseResponse()
413 if (!ParseJsonResponse(response, test_message)) { in ParseResponse()
766 std::unique_ptr<Message> test_message = NewTestMessage(is_proto3); in TestValidDataForType() local
767 test_message->MergeFromString(expected_proto); in TestValidDataForType()
768 string text = test_message->DebugString(); in TestValidDataForType()
788 std::unique_ptr<Message> test_message = NewTestMessage(is_proto3); in TestValidDataForType() local
789 test_message->MergeFromString(expected_proto); in TestValidDataForType()
[all …]
Dtext_format_conformance_suite.cc60 const ConformanceRequestSetting& setting, Message* test_message) { in ParseTextFormatResponse() argument
66 if (!parser.ParseFromString(response.text_payload(), test_message)) { in ParseTextFormatResponse()
78 const ConformanceRequestSetting& setting, Message* test_message) { in ParseResponse() argument
95 if (!test_message->ParseFromString(response.protobuf_payload())) { in ParseResponse()
114 if (!ParseTextFormatResponse(response, setting, test_message)) { in ParseResponse()
Dtext_format_conformance_suite.h60 Message* test_message);
63 Message* test_message) override;
Dbinary_json_conformance_suite.h88 Message* test_message);
92 Message* test_message) override;
Dconformance_test.cc250 std::unique_ptr<Message> test_message(setting.NewTestMessage()); in VerifyResponse() local
277 if (!ParseResponse(response, setting, test_message.get())) return; in VerifyResponse()
296 check = differencer.Compare(*reference_message, *test_message); in VerifyResponse()
Dconformance_test.h263 Message* test_message) = 0;
/third_party/boost/libs/test/doc/examples/
Dboost_test_message.output5 test.cpp(12): Entering test case "test_message"
6 test.cpp(15): error: in "test_message": a should be equal to b: 1!=2
8 test.cpp(12): Leaving test case "test_message"; testing time: 219us
Dboost_test_message.run-fail.cpp12 BOOST_AUTO_TEST_CASE( test_message ) in BOOST_AUTO_TEST_CASE() argument
/third_party/boost/libs/system/test/
Dsystem_category_test.cpp99 static void test_message( sys::error_category const & cat, int ev ) in test_message() function
115 test_message( cat, i ); in main()
/third_party/mbedtls/library/
Dcmac.c471 static const unsigned char test_message[] = { variable
953 test_message, in mbedtls_cmac_self_test()
980 test_message, in mbedtls_cmac_self_test()
1007 test_message, in mbedtls_cmac_self_test()
1036 test_message, in mbedtls_cmac_self_test()
1063 test_message, in mbedtls_cmac_self_test()
/third_party/boost/libs/locale/test/he/LC_MESSAGES/
Dsimple.po19 #: test_message.cpp:47
/third_party/glib/glib/tests/
Dprotocol.c119 test_message (void) in test_message() function
375 g_test_add_func ("/glib/testing/protocol/test-message", test_message); in main()
/third_party/boost/libs/test/doc/test_output/
Dtest_tools_support.qbk64 __BOOST_TEST_MESSAGE__(test_message);
66 The test_message argument can be as simple as C string literal or any custom expression that you ca…
/third_party/boost/libs/locale/test/
DJamfile.v233 [ run test_message.cpp : $(BOOST_ROOT)/libs/locale/test ]
/third_party/protobuf/python/google/protobuf/internal/
Djson_format_test.py669 test_message = json_format_proto3_pb2.TestMessage(
678 message.value.Pack(test_message)
/third_party/cef/tests/ceftests/
Durlrequest_unittest.cc3028 CefRefPtr<CefProcessMessage> test_message = in OnLoadEnd() local
3030 CefRefPtr<CefListValue> args = test_message->GetArgumentList(); in OnLoadEnd()
3040 frame->SendProcessMessage(PID_RENDERER, test_message); in OnLoadEnd()
/third_party/python/Lib/test/test_warnings/
D__init__.py387 def test_message(self): member in WarnTests
/third_party/protobuf/
DMakefile.am1260 js/experimental/runtime/testing/binary/test_message.js \