aboutsummaryrefslogtreecommitdiffstats
path: root/tests/callbacks.proto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/callbacks.proto')
-rw-r--r--tests/callbacks.proto15
1 files changed, 7 insertions, 8 deletions
diff --git a/tests/callbacks.proto b/tests/callbacks.proto
index 7bc79002..8beeaabf 100644
--- a/tests/callbacks.proto
+++ b/tests/callbacks.proto
@@ -1,16 +1,15 @@
-/* Todo: write tests for the rest of these fields, currently only stringvalue
- * is tested.
- */
-
message SubMessage {
- optional int32 int32value = 1;
+ optional string stringvalue = 1;
+ repeated int32 int32value = 2;
+ repeated fixed32 fixed32value = 3;
+ repeated fixed64 fixed64value = 4;
}
message TestMessage {
optional string stringvalue = 1;
- optional int32 int32value = 2;
- optional fixed32 fixed32value = 3;
- optional fixed64 fixed64value = 4;
+ repeated int32 int32value = 2;
+ repeated fixed32 fixed32value = 3;
+ repeated fixed64 fixed64value = 4;
optional SubMessage submsg = 5;
}