/external/protobuf/csharp/src/Google.Protobuf.Conformance/ |
D | Program.cs | 74 ConformanceResponse response = PerformRequest(request, typeRegistry); in RunTest() 82 …private static ConformanceResponse PerformRequest(ConformanceRequest request, TypeRegistry typeReg… in PerformRequest() 91 …return new ConformanceResponse { Skipped = "CSharp doesn't support skipping unknown fields in json… in PerformRequest() 104 … return new ConformanceResponse { Skipped = "CSharp doesn't support proto2" }; in PerformRequest() 114 return new ConformanceResponse { Skipped = "CSharp doesn't support text format" }; in PerformRequest() 122 return new ConformanceResponse { ParseError = e.Message }; in PerformRequest() 126 return new ConformanceResponse { ParseError = e.Message }; in PerformRequest() 134 return new ConformanceResponse { JsonPayload = formatter.Format(message) }; in PerformRequest() 136 return new ConformanceResponse { ProtobufPayload = message.ToByteString() }; in PerformRequest() 143 return new ConformanceResponse { SerializeError = e.Message }; in PerformRequest()
|
D | Conformance.cs | 54 …neratedClrTypeInfo(typeof(global::Conformance.ConformanceResponse), global::Conformance.Conformanc… in ConformanceReflection() 660 public sealed partial class ConformanceResponse : pb::IMessage<ConformanceResponse> { class 661 …adonly pb::MessageParser<ConformanceResponse> _parser = new pb::MessageParser<ConformanceResponse>… 664 public static pb::MessageParser<ConformanceResponse> Parser { get { return _parser; } } 677 public ConformanceResponse() { in ConformanceResponse() method in Conformance.ConformanceResponse 684 public ConformanceResponse(ConformanceResponse other) : this() { in ConformanceResponse() method in Conformance.ConformanceResponse 716 public ConformanceResponse Clone() { in Clone() 717 return new ConformanceResponse(this); in Clone() 873 return Equals(other as ConformanceResponse); in Equals() 877 public bool Equals(ConformanceResponse other) { in Equals() [all …]
|
/external/protobuf/conformance/ |
D | ConformanceJavaLite.java | 47 private Conformance.ConformanceResponse doTest(Conformance.ConformanceRequest request) { in doTest() 55 return Conformance.ConformanceResponse.newBuilder().setParseError(e.getMessage()).build(); in doTest() 60 return Conformance.ConformanceResponse.newBuilder().setSkipped( in doTest() 77 …return Conformance.ConformanceResponse.newBuilder().setProtobufPayload(testMessage.toByteString())… in doTest() 80 return Conformance.ConformanceResponse.newBuilder().setSkipped( in doTest() 104 Conformance.ConformanceResponse response = doTest(request); in doTestIo()
|
D | conformance_test.cc | 48 using conformance::ConformanceResponse; 177 const ConformanceResponse& response, in ReportFailure() 200 const ConformanceResponse& response) { in ReportSkip() 225 ConformanceResponse response; in RunValidBinaryInputTest() 233 const ConformanceResponse& response, in VerifyResponse() 246 case ConformanceResponse::RESULT_NOT_SET: in VerifyResponse() 251 case ConformanceResponse::kParseError: in VerifyResponse() 252 case ConformanceResponse::kRuntimeError: in VerifyResponse() 253 case ConformanceResponse::kSerializeError: in VerifyResponse() 258 case ConformanceResponse::kSkipped: in VerifyResponse() [all …]
|
D | ConformanceJava.java | 207 private Conformance.ConformanceResponse doTest(Conformance.ConformanceRequest request) { in doTest() 220 … return Conformance.ConformanceResponse.newBuilder().setParseError(e.getMessage()).build(); in doTest() 228 … return Conformance.ConformanceResponse.newBuilder().setParseError(e.getMessage()).build(); in doTest() 247 return Conformance.ConformanceResponse.newBuilder().setParseError(e.getMessage()).build(); in doTest() 259 return Conformance.ConformanceResponse.newBuilder() in doTest() 270 return Conformance.ConformanceResponse.newBuilder() in doTest() 294 … return Conformance.ConformanceResponse.newBuilder().setProtobufPayload(MessageString).build(); in doTest() 299 return Conformance.ConformanceResponse.newBuilder().setJsonPayload( in doTest() 302 return Conformance.ConformanceResponse.newBuilder().setSerializeError( in doTest() 307 return Conformance.ConformanceResponse.newBuilder().setTextPayload( in doTest() [all …]
|
D | text_format_conformance_suite.cc | 41 using conformance::ConformanceResponse; 58 const ConformanceResponse& response, in ParseTextFormatResponse() 76 const ConformanceResponse& response, in ParseResponse() 84 case ConformanceResponse::kProtobufPayload: { in ParseResponse() 103 case ConformanceResponse::kTextPayload: { in ParseResponse() 141 ConformanceResponse response; in ExpectParseFailure() 146 if (response.result_case() == ConformanceResponse::kParseError) { in ExpectParseFailure() 148 } else if (response.result_case() == ConformanceResponse::kSkipped) { in ExpectParseFailure()
|
D | conformance_test.h | 53 class ConformanceResponse; variable 256 const conformance::ConformanceResponse& response, 263 const conformance::ConformanceResponse& response, 270 const conformance::ConformanceResponse& response, 274 const conformance::ConformanceResponse& response); 283 conformance::ConformanceResponse* response);
|
D | text_format_conformance_suite.h | 58 bool ParseTextFormatResponse(const conformance::ConformanceResponse& response, 61 bool ParseResponse(const conformance::ConformanceResponse& response,
|
D | binary_json_conformance_suite.cc | 46 using conformance::ConformanceResponse; 196 const ConformanceResponse& response, in ParseJsonResponse() 218 const ConformanceResponse& response, in ParseResponse() 227 case ConformanceResponse::kProtobufPayload: { in ParseResponse() 245 case ConformanceResponse::kJsonPayload: { in ParseResponse() 283 ConformanceResponse response; in ExpectParseFailureForProtoWithProtoVersion() 290 if (response.result_case() == ConformanceResponse::kParseError) { in ExpectParseFailureForProtoWithProtoVersion() 292 } else if (response.result_case() == ConformanceResponse::kSkipped) { in ExpectParseFailureForProtoWithProtoVersion() 407 ConformanceResponse response; in RunValidJsonTestWithValidator() 415 if (response.result_case() == ConformanceResponse::kSkipped) { in RunValidJsonTestWithValidator() [all …]
|
D | conformance_cpp.cc | 44 using conformance::ConformanceResponse; 125 void DoTest(const ConformanceRequest& request, ConformanceResponse* response) { in DoTest() 234 ConformanceResponse response; in DoTestIo()
|
D | binary_json_conformance_suite.h | 73 const conformance::ConformanceResponse& response, 76 const conformance::ConformanceResponse& response,
|
D | conformance_objc.m | 65 static ConformanceResponse *DoTest(ConformanceRequest *request) { 66 ConformanceResponse *response = [ConformanceResponse message]; 177 ConformanceResponse *response = DoTest(request);
|
D | conformance_test_runner.cc | 69 using conformance::ConformanceResponse; 180 conformance::ConformanceResponse response_obj; in RunTest()
|
D | conformance_php.php | 31 $response = new \Conformance\ConformanceResponse();
|
D | conformance_nodejs.js | 44 var response = new conformance.ConformanceResponse();
|
D | conformance_python.py | 60 response = conformance_pb2.ConformanceResponse()
|
D | conformance.proto | 38 // ConformanceResponse message. 129 message ConformanceResponse { message
|
D | Makefile.am | 109 Conformance/ConformanceResponse.php \
|