webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Represents a single test case's output. More...
Public Types | |
enum | ResultOneofCase { ResultOneofCase.None = 0, ResultOneofCase.ParseError = 1, ResultOneofCase.SerializeError = 6, ResultOneofCase.RuntimeError = 2, ResultOneofCase.ProtobufPayload = 3, ResultOneofCase.JsonPayload = 4, ResultOneofCase.Skipped = 5 } |
Enum of possible cases for the "result" oneof. More... | |
Public Member Functions | |
ConformanceResponse () | |
ConformanceResponse (ConformanceResponse other) | |
ConformanceResponse | Clone () |
void | ClearResult () |
override bool | Equals (object other) |
bool | Equals (ConformanceResponse other) |
override int | GetHashCode () |
override string | ToString () |
void | WriteTo (pb::CodedOutputStream output) |
int | CalculateSize () |
void | MergeFrom (ConformanceResponse other) |
void | MergeFrom (pb::CodedInputStream input) |
Public Attributes | |
const int | ParseErrorFieldNumber = 1 |
Field number for the "parse_error" field. More... | |
const int | SerializeErrorFieldNumber = 6 |
Field number for the "serialize_error" field. More... | |
const int | RuntimeErrorFieldNumber = 2 |
Field number for the "runtime_error" field. More... | |
const int | ProtobufPayloadFieldNumber = 3 |
Field number for the "protobuf_payload" field. More... | |
const int | JsonPayloadFieldNumber = 4 |
Field number for the "json_payload" field. More... | |
const int | SkippedFieldNumber = 5 |
Field number for the "skipped" field. More... | |
Properties | |
static pb::MessageParser< ConformanceResponse > | Parser [get] |
static pbr::MessageDescriptor | Descriptor [get] |
string | ParseError [get, set] |
This string should be set to indicate parsing failed. The string can provide more information about the parse error if it is available. More... | |
string | SerializeError [get, set] |
If the input was successfully parsed but errors occurred when serializing it to the requested output format, set the error message in this field. More... | |
string | RuntimeError [get, set] |
This should be set if some other error occurred. This will always indicate that the test failed. The string can provide more information about the failure. More... | |
pb::ByteString | ProtobufPayload [get, set] |
If the input was successfully parsed and the requested output was protobuf, serialize it to protobuf and set it in this field. More... | |
string | JsonPayload [get, set] |
If the input was successfully parsed and the requested output was JSON, serialize to JSON and set it in this field. More... | |
string | Skipped [get, set] |
For when the testee skipped the test, likely because a certain feature wasn't supported, like JSON input/output. More... | |
ResultOneofCase | ResultCase [get] |
Represents a single test case's output.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
const int Conformance.ConformanceResponse.JsonPayloadFieldNumber = 4 |
Field number for the "json_payload" field.
const int Conformance.ConformanceResponse.ParseErrorFieldNumber = 1 |
Field number for the "parse_error" field.
const int Conformance.ConformanceResponse.ProtobufPayloadFieldNumber = 3 |
Field number for the "protobuf_payload" field.
const int Conformance.ConformanceResponse.RuntimeErrorFieldNumber = 2 |
Field number for the "runtime_error" field.
const int Conformance.ConformanceResponse.SerializeErrorFieldNumber = 6 |
Field number for the "serialize_error" field.
const int Conformance.ConformanceResponse.SkippedFieldNumber = 5 |
Field number for the "skipped" field.
|
staticget |
|
getset |
If the input was successfully parsed and the requested output was JSON, serialize to JSON and set it in this field.
|
getset |
This string should be set to indicate parsing failed. The string can provide more information about the parse error if it is available.
Setting this string does not necessarily mean the testee failed the test. Some of the test cases are intentionally invalid input.
|
staticget |
|
getset |
If the input was successfully parsed and the requested output was protobuf, serialize it to protobuf and set it in this field.
|
get |
|
getset |
This should be set if some other error occurred. This will always indicate that the test failed. The string can provide more information about the failure.
|
getset |
If the input was successfully parsed but errors occurred when serializing it to the requested output format, set the error message in this field.
|
getset |
For when the testee skipped the test, likely because a certain feature wasn't supported, like JSON input/output.