From f4b3a1c2027e330c52e661252acba6f69742fca6 Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Sun, 11 Jan 2015 19:47:27 +0200 Subject: Add oneofs to AllTypes test case --- tests/field_size_16/alltypes.proto | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/field_size_16') diff --git a/tests/field_size_16/alltypes.proto b/tests/field_size_16/alltypes.proto index 81693c0..039391f 100644 --- a/tests/field_size_16/alltypes.proto +++ b/tests/field_size_16/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; -- cgit 1.2.3-korg