summaryrefslogtreecommitdiffstats
path: root/tests/multiple_files/multifile1.proto
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2015-09-12 13:27:56 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2015-09-12 13:27:56 +0300
commit936cfdc675c2dc3580c2459e8b1773a1d0bf9a8b (patch)
tree3337c87f74cb16b66ef4b5dda501ce0cc9392bc1 /tests/multiple_files/multifile1.proto
parent708084e7883a95dd7fd315cdc909f6664491c043 (diff)
Expand the multiple_files test case to include oneofs and enums
Diffstat (limited to 'tests/multiple_files/multifile1.proto')
-rw-r--r--tests/multiple_files/multifile1.proto28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/multiple_files/multifile1.proto b/tests/multiple_files/multifile1.proto
new file mode 100644
index 00000000..79cf0387
--- /dev/null
+++ b/tests/multiple_files/multifile1.proto
@@ -0,0 +1,28 @@
+message SubMessage {
+ optional string stringvalue = 1;
+ repeated int32 int32value = 2;
+ repeated fixed32 fixed32value = 3;
+ repeated fixed64 fixed64value = 4;
+}
+
+message TestMessage {
+ optional string stringvalue = 1;
+ repeated int32 int32value = 2;
+ repeated fixed32 fixed32value = 3;
+ repeated fixed64 fixed64value = 4;
+ optional SubMessage submsg = 5;
+ repeated string repeatedstring = 6;
+}
+
+enum SignedEnum {
+ SE_MIN = -128;
+ SE_MAX = 127;
+}
+
+enum UnsignedEnum {
+ UE_MIN = 0;
+ UE_MAX = 255;
+}
+
+
+