diff options
author | Thomas Van Lenten <thomasvl@google.com> | 2016-01-05 16:31:40 -0500 |
---|---|---|
committer | Thomas Van Lenten <thomasvl@google.com> | 2016-01-05 16:31:40 -0500 |
commit | df4e4d8717987232499b9be50b24adac179528b3 (patch) | |
tree | c1b93f94c828a4ffe93a6118a354bc0ad815d1f2 /conformance/conformance_objc.m | |
parent | d19c26f2c878883f103d9dd4d6c53bc20482756f (diff) | |
download | protobuf-df4e4d8717987232499b9be50b24adac179528b3.tar.gz protobuf-df4e4d8717987232499b9be50b24adac179528b3.tar.bz2 protobuf-df4e4d8717987232499b9be50b24adac179528b3.zip |
Fix up the conformance tests
- Update all the new runner cases to handle a skip result as a skip and not a failure.
- Make ObjC use the new serialize_error result if it fails to generate the data.
Diffstat (limited to 'conformance/conformance_objc.m')
-rw-r--r-- | conformance/conformance_objc.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/conformance/conformance_objc.m b/conformance/conformance_objc.m index 06c97a82..1124bfeb 100644 --- a/conformance/conformance_objc.m +++ b/conformance/conformance_objc.m @@ -95,7 +95,7 @@ static ConformanceResponse *DoTest(ConformanceRequest *request) { case WireFormat_Protobuf: response.protobufPayload = testMessage.data; if (!response.protobufPayload) { - response.runtimeError = + response.serializeError = [NSString stringWithFormat:@"Failed to make data from: %@", testMessage]; } break; |