Commit 24d344c3 authored by Thomas Van Lenten's avatar Thomas Van Lenten

[ObjC] Add the jspb cases to the switches so they are complete.

parent de9e1a04
...@@ -92,6 +92,12 @@ static ConformanceResponse *DoTest(ConformanceRequest *request) { ...@@ -92,6 +92,12 @@ static ConformanceResponse *DoTest(ConformanceRequest *request) {
case ConformanceRequest_Payload_OneOfCase_JsonPayload: case ConformanceRequest_Payload_OneOfCase_JsonPayload:
response.skipped = @"ObjC doesn't support parsing JSON"; response.skipped = @"ObjC doesn't support parsing JSON";
break; break;
case ConformanceRequest_Payload_OneOfCase_JspbPayload:
response.skipped =
@"ConformanceRequest had a jspb_payload ConformanceRequest.payload;"
" those aren't supposed to happen with opensource.";
break;
} }
if (testMessage) { if (testMessage) {
...@@ -112,6 +118,12 @@ static ConformanceResponse *DoTest(ConformanceRequest *request) { ...@@ -112,6 +118,12 @@ static ConformanceResponse *DoTest(ConformanceRequest *request) {
case WireFormat_Json: case WireFormat_Json:
response.skipped = @"ObjC doesn't support generating JSON"; response.skipped = @"ObjC doesn't support generating JSON";
break; break;
case WireFormat_Jspb:
response.skipped =
@"ConformanceRequest had a requested_output_format of JSPB WireFormat; that"
" isn't supposed to happen with opensource.";
break;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment