aboutsummaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Expand)AuthorFilesLines
2013-02-20Rename PB_HTYPE_ARRAY -> PB_HTYPE_REPEATED.Petteri Aimonen2-305/+95
2013-02-07Sanitize filenames before putting them in #ifndef.Petteri Aimonen2-1/+2
2013-02-06Add compile-time option PB_BUFFER_ONLY.Petteri Aimonen1-2/+18
2013-01-14Add field type FT_IGNORE to generator.Petteri Aimonen1-0/+9
2013-01-13Add a test for the backwards compatibility of generated files.Petteri Aimonen5-1/+814
2013-01-10Add generator option for packed structs.Petteri Aimonen2-0/+9
2012-11-16Use TESTS variable to define dependencies for run_unittestsSteffen Siering1-6/+11
2012-11-16Select compilation options based on $(CC) in tests/Makefile.Petteri Aimonen1-3/+11
2012-11-16Rename test_compiles.c to test_multiple_files.cPetteri Aimonen2-3/+3
2012-11-16Fix STATIC_ASSERT macro when using multiple .proto files.Steffen Siering3-2/+27
2012-11-14Fix naming of nested Enums with short namesPetteri Aimonen2-0/+12
2012-11-14Fix naming of enums when long_names=false.Petteri Aimonen3-2/+8
2012-10-29Add option to use short names for enum values.Petteri Aimonen3-7/+13
2012-10-29Allow defining field type in .proto.Petteri Aimonen2-0/+7
2012-10-29Improve .proto options parsing.Petteri Aimonen3-1/+40
2012-10-21Improve the person_with_extra_field test.Petteri Aimonen3-4/+1
2012-10-18Remove the "buf = NULL" => skip requirement from pb_istream_t callbacks.Petteri Aimonen4-7/+6
2012-10-14Add tests for negative values in the alltypes testcase.Petteri Aimonen2-24/+24
2012-09-18Add buffer size check in test_decode1.c example.Petteri Aimonen1-0/+6
2012-09-03Enable -Wconversion for core and fix the warnings.Petteri Aimonen1-1/+1
2012-09-02Fix -Wextra warning in generated .pb.c files.Petteri Aimonen1-0/+3
2012-08-26Fix warnings with -Wcast-qual. Add test for C++ compile.Petteri Aimonen1-2/+8
2012-08-26Added alltypes-testcases for optional fields and default values.Petteri Aimonen4-12/+180
2012-08-24Implement error messages in the decoder side.Petteri Aimonen4-4/+4
2012-08-24Reorganize the field decoder interface.Petteri Aimonen2-2/+4
2012-07-31Extend 'alltypes' testcase to cover repeated fields.Petteri Aimonen3-24/+104
2012-07-18Fixed a few compiler warnings, added check.Petteri Aimonen1-2/+5
2012-07-05Fix bug with .proto without messages (again), and add a test case for it.Petteri Aimonen2-1/+9
2012-06-30Improve the detection of missing required fields.Petteri Aimonen3-2/+192
2012-03-01Refactoring the field encoder interface.Petteri Aimonen2-5/+4
2012-01-12Fixed issue 1 reported by Erik Rosen:Petteri Aimonen1-2/+10
2012-01-12Added an encode/decode test for 'required' fields of all types.Petteri Aimonen4-3/+168
2011-12-30Make the fuzztest runnable againPetteri Aimonen1-2/+2
2011-12-30Expanding the tests to better cover decoding from memory buffer.Petteri Aimonen4-26/+103
2011-12-30Fixed a bug related to submessage encoding into memory buffer.Petteri Aimonen4-26/+66
2011-11-30Merged 0004-Added-missing-trailing-newlines.patch by Matt Kern.Petteri Aimonen1-1/+1
2011-11-30Merged 0003-Fixed-format-specifiers.patch by Matt Kern.Petteri Aimonen2-8/+8
2011-09-18Added comments to the simplest decode/encode examples.Petteri Aimonen2-6/+25
2011-09-13Fixed a bunch of bugs related to callback fields.Petteri Aimonen6-40/+117
2011-09-12Tests for callback fieldsPetteri Aimonen6-2/+108
2011-08-24Make fuzz test runnable again :)Petteri Aimonen1-1/+4
2011-08-24makefile fixPetteri Aimonen1-1/+2
2011-08-24wrong file namePetteri Aimonen3-3/+3
2011-08-23More unittestsPetteri Aimonen2-0/+116
2011-08-23Changed autogenerated file naming from foo.c to foo.pb.cPetteri Aimonen3-27/+36
2011-08-23more unittestsPetteri Aimonen1-0/+12
2011-08-23More unittestsPetteri Aimonen3-7/+178
2011-08-22unittests, change to PB_LTYPE_BYTES data sizePetteri Aimonen2-12/+69
2011-08-17ExamplePetteri Aimonen4-16/+36
2011-08-16DocsPetteri Aimonen1-1/+1