summaryrefslogtreecommitdiffstats
path: root/tests/field_size_32
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2015-01-11 19:47:27 +0200
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2015-01-11 19:47:27 +0200
commitf4b3a1c2027e330c52e661252acba6f69742fca6 (patch)
treefcb18a08ca5cad3d79ce9cc68f24e801780ed80f /tests/field_size_32
parentd2e023e3e5ef888e176292f149d1ba93ba270c94 (diff)
Add oneofs to AllTypes test case
Diffstat (limited to 'tests/field_size_32')
-rw-r--r--tests/field_size_32/alltypes.proto6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/field_size_32/alltypes.proto b/tests/field_size_32/alltypes.proto
index 81717bbc..5749e0d4 100644
--- a/tests/field_size_32/alltypes.proto
+++ b/tests/field_size_32/alltypes.proto
@@ -101,6 +101,12 @@ message AllTypes {
optional MyEnum opt_enum = 10057 [default = Second];
optional EmptyMessage opt_emptymsg = 10058;
+ oneof oneof
+ {
+ SubMessage oneof_msg1 = 10059;
+ EmptyMessage oneof_msg2 = 10060;
+ }
+
// Check that extreme integer values are handled correctly
required Limits req_limits = 98;