aboutsummaryrefslogtreecommitdiff
path: root/conformance/conformance.proto
diff options
context:
space:
mode:
authorJosh Haberman <jhaberman@gmail.com>2015-06-03 12:04:35 -0700
committerJosh Haberman <jhaberman@gmail.com>2015-06-03 12:08:08 -0700
commitd2b67389b30d1bff1080be3a3d8d7cfb0b81b867 (patch)
tree54b898ff3383b910bb1788b6cc3d812dbef8adea /conformance/conformance.proto
parent96f1d4ada222cbcbea972ee2ac3d20f16bd87ac3 (diff)
downloadprotobuf-d2b67389b30d1bff1080be3a3d8d7cfb0b81b867.tar.gz
protobuf-d2b67389b30d1bff1080be3a3d8d7cfb0b81b867.tar.bz2
protobuf-d2b67389b30d1bff1080be3a3d8d7cfb0b81b867.zip
Conformance tests can now be excluded based on their names.
This allows us to enable conformance tests even when we know that some tests are failing and need to be fixed. Change-Id: I372f43663008747db6f2b2cf06e6ffa4c6d85b2d
Diffstat (limited to 'conformance/conformance.proto')
-rw-r--r--conformance/conformance.proto8
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.