Tests for callback fields

git-svn-id: https://svn.kapsi.fi/jpa/nanopb@974 e3a754e5-d11d-0410-8d38-ebb782a927b9
This commit is contained in:
Petteri Aimonen
2011-09-12 18:53:33 +00:00
parent 35814517ad
commit d4abb63c05
7 changed files with 109 additions and 3 deletions

16
tests/callbacks.proto Normal file
View File

@@ -0,0 +1,16 @@
/* Todo: write tests for the rest of these fields, currently only stringvalue
* is tested.
*/
message SubMessage {
optional int32 int32value = 1;
}
message TestMessage {
optional string stringvalue = 1;
optional int32 int32value = 2;
optional fixed32 fixed32value = 3;
optional fixed64 fixed64value = 4;
optional SubMessage submsg = 5;
}