aboutsummaryrefslogtreecommitdiff
path: root/protos/extest
diff options
context:
space:
mode:
authorcsharptest <roger@csharptest.net>2010-11-19 10:59:50 -0600
committercsharptest <roger@csharptest.net>2010-11-19 10:59:50 -0600
commitcb7fc657167962216bab007cd01a74945349cf17 (patch)
treedee79ab5985146e9c4e342e1e127524c00f99418 /protos/extest
parent272cb8aee775de65e08b4ab17c485cd678d08266 (diff)
downloadprotobuf-cb7fc657167962216bab007cd01a74945349cf17.tar.gz
protobuf-cb7fc657167962216bab007cd01a74945349cf17.tar.bz2
protobuf-cb7fc657167962216bab007cd01a74945349cf17.zip
Tests and fixes
Diffstat (limited to 'protos/extest')
-rw-r--r--protos/extest/unittest_extras_full.proto23
1 files changed, 23 insertions, 0 deletions
diff --git a/protos/extest/unittest_extras_full.proto b/protos/extest/unittest_extras_full.proto
index ec0595b2..a334bbf1 100644
--- a/protos/extest/unittest_extras_full.proto
+++ b/protos/extest/unittest_extras_full.proto
@@ -47,3 +47,26 @@ message TestInteropEmployeeId {
extend TestInteropPerson {
required TestInteropEmployeeId employee_id = 126;
}
+
+message TestMissingFieldsA {
+ required string name = 1;
+ required int32 id = 2;
+ optional string email = 3;
+
+ message SubA {
+ required int32 count = 5;
+ repeated string values = 6;
+ }
+ optional SubA testA = 11;
+}
+
+message TestMissingFieldsB {
+ required string name = 1;
+ required int32 id = 2;
+ optional string website = 4;
+
+ message SubB {
+ repeated string values = 7;
+ }
+ optional SubB testB = 12;
+}