Start moving the tests into subfolders. Transition to SCons for build system for...
[apps/agl-service-can-low-level.git] / tests / common / unittestproto.proto
1 import 'nanopb.proto';
2
3 message IntegerArray {
4     repeated int32 data = 1 [(nanopb).max_count = 10];
5 }
6
7 message FloatArray {
8     repeated float data = 1 [(nanopb).max_count = 10];
9 }
10
11 message StringMessage {
12     required string data = 1 [(nanopb).max_size = 10];
13 }
14
15 message CallbackArray {
16     // We cheat a bit and use this message for testing other types, too.
17     // Nanopb does not care about the actual defined data type for callback
18     // fields.
19     repeated int32 data = 1;
20 }
21
22 message IntegerContainer {
23     required IntegerArray submsg = 1;
24 }
25
26 message CallbackContainer {
27     required CallbackArray submsg = 1;
28 }
29
30 message CallbackContainerContainer {
31     required CallbackContainer submsg = 1;
32 }