Petteri Aimonen
f4b3a1c202
Add oneofs to AllTypes test case
2015-01-11 19:47:27 +02:00
Petteri Aimonen
a641e21b34
Separate field iterator logic from pb_decode to pb_common.
2014-08-10 12:42:01 +03:00
Petteri Aimonen
ec3bff4ba1
Generate #defines for initializing message structures.
...
Usage like:
MyMessage foo = MyMessage_init_default;
MyMessage_init_default will initialize to default values defined in .proto.
MyMessage_init_zero will initialize to null/zero values. Same results as {}
or {0}, but will avoid compiler warnings by initializing everything explicitly.
Update issue 79
Status: FixedInGit
2014-08-04 18:40:40 +03:00
Petteri Aimonen
9cf788de54
Fix bug in alltypes test case that made fuzzing difficult.
2014-05-17 20:28:33 +03:00
Petteri Aimonen
d3ed0744d0
Extreme negative integer constants are a bit nasty to define in C, just avoid the trouble in tests for now.
2014-02-05 17:56:37 +02:00
Petteri Aimonen
a2f8112166
Add proper suffixes for integer default values.
...
Update issue 102
Status: FixedInGit
2014-02-04 20:24:44 +02:00
Petteri Aimonen
cd9004089f
Add test for extreme integer values (INT32_MAX etc.) in AllTypes.
2013-12-21 12:41:20 +02:00
Petteri Aimonen
9cc19a5e99
Modify the alltypes test to check re-encoding through protoc.
...
This way we can verify that the message is encoded exactly the same way
as the official protobuf implementation would do it.
2013-12-21 12:14:20 +02:00
Petteri Aimonen
5813144246
Make tests build in a separate folder, add to gitignore
2013-11-13 22:10:42 +02:00
Petteri Aimonen
388d4de833
Add #defines for the maximum encoded message size.
...
Update issue 89
Status: FixedInGit
2013-09-26 10:23:37 +03:00
Petteri Aimonen
d395768c8d
Windows build fixes
2013-09-11 13:42:56 +03:00
Petteri Aimonen
f04ab838ab
Build fixes for Windows/Visual C++
2013-09-10 17:53:07 +03:00
Petteri Aimonen
4dccf28ba9
Convert more test cases to scons
2013-09-10 11:34:57 +03:00
Petteri Aimonen
262c62676c
Start moving the tests into subfolders. Transition to SCons for build system for the tests.
...
Only a few tests updated so far. Have to include all the rest before merging to mainline.
Update issue 63
Status: Started
2013-09-08 17:52:03 +03:00