diff options
Diffstat (limited to 'conformance/conformance.proto')
-rw-r--r-- | conformance/conformance.proto | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/conformance/conformance.proto b/conformance/conformance.proto index 39eafdbb..892db380 100644 --- a/conformance/conformance.proto +++ b/conformance/conformance.proto @@ -57,11 +57,13 @@ option java_package = "com.google.protobuf.conformance"; // 2. parse the protobuf or JSON payload in "payload" (which may fail) // 3. if the parse succeeded, serialize the message in the requested format. message ConformanceRequest { + string test_name = 1; + // The payload (whether protobuf of JSON) is always for a TestAllTypes proto // (see below). oneof payload { - bytes protobuf_payload = 1; - string json_payload = 2; + bytes protobuf_payload = 2; + string json_payload = 3; } enum RequestedOutput { @@ -71,7 +73,7 @@ message ConformanceRequest { } // Which format should the testee serialize its message to? - RequestedOutput requested_output = 3; + RequestedOutput requested_output = 4; } // Represents a single test case's output. |