Home
last modified time | relevance | path

Searched refs:ConformanceResponse (Results 1 – 18 of 18) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf.Conformance/
DProgram.cs74 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()
DConformance.cs54 …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/
DConformanceJavaLite.java47 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()
Dconformance_test.cc48 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 …]
DConformanceJava.java207 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 …]
Dtext_format_conformance_suite.cc41 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()
Dconformance_test.h53 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);
Dtext_format_conformance_suite.h58 bool ParseTextFormatResponse(const conformance::ConformanceResponse& response,
61 bool ParseResponse(const conformance::ConformanceResponse& response,
Dbinary_json_conformance_suite.cc46 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 …]
Dconformance_cpp.cc44 using conformance::ConformanceResponse;
125 void DoTest(const ConformanceRequest& request, ConformanceResponse* response) { in DoTest()
234 ConformanceResponse response; in DoTestIo()
Dbinary_json_conformance_suite.h73 const conformance::ConformanceResponse& response,
76 const conformance::ConformanceResponse& response,
Dconformance_objc.m65 static ConformanceResponse *DoTest(ConformanceRequest *request) {
66 ConformanceResponse *response = [ConformanceResponse message];
177 ConformanceResponse *response = DoTest(request);
Dconformance_test_runner.cc69 using conformance::ConformanceResponse;
180 conformance::ConformanceResponse response_obj; in RunTest()
Dconformance_php.php31 $response = new \Conformance\ConformanceResponse();
Dconformance_nodejs.js44 var response = new conformance.ConformanceResponse();
Dconformance_python.py60 response = conformance_pb2.ConformanceResponse()
Dconformance.proto38 // ConformanceResponse message.
129 message ConformanceResponse { message
DMakefile.am109 Conformance/ConformanceResponse.php \