summaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Expand)AuthorFilesLines
2015-01-04Only run oneof test when protoc >= 2.6 is availablePetteri Aimonen2-15/+27
2015-01-04Implement support for oneofs (C unions).Petteri Aimonen4-0/+176
2015-01-04Detect too large varint values when decoding.Petteri Aimonen2-3/+17
2015-01-04Add int_size option for generator.Petteri Aimonen3-0/+159
2015-01-03Change PB_RETURN_ERROR() macro to avoid compiler warnings.Petteri Aimonen1-3/+0
2014-12-27Fix build failure due to missing dependency in SConscriptPetteri Aimonen1-2/+2
2014-12-26Fix bug in backwards_compatibility test case.Petteri Aimonen1-4/+1
2014-12-26Add testcase for releasing memory in submessages/extensionsPetteri Aimonen3-0/+149
2014-12-26Move malloc support to tests/common directoryPetteri Aimonen5-73/+60
2014-12-26Move malloc_wrappers.c to tests/commonPetteri Aimonen7-7/+10
2014-12-22Verify build with protobuf-3.0.0, fix problems.Petteri Aimonen1-2/+2
2014-09-11Add a fuzz testing stub for ability to use external generators alsoPetteri Aimonen5-0/+209
2014-09-11Add a better fuzz test.Petteri Aimonen8-1/+565
2014-09-07Add test case for simulated io errors.Petteri Aimonen5-0/+203
2014-09-07Add a few missing unit testsPetteri Aimonen3-0/+36
2014-09-07Code coverage results were ignoring the data from encode/decode unittests.Petteri Aimonen1-3/+3
2014-08-28Fix cyclic messages support in generator. Beginnings of test.Petteri Aimonen4-0/+191
2014-08-19Add #if guard for .pb.h version.Petteri Aimonen4-100/+367
2014-08-18Rename poorly named identifier to avoid name conflicts.Petteri Aimonen1-1/+0
2014-08-18Rename UNUSED() and STATIC_ASSERT() macros with PB_ prefix.Petteri Aimonen1-3/+3
2014-08-18Change the _count fields to use pb_size_t datatype.Petteri Aimonen3-23/+23
2014-08-10Fix windows build error in testsPetteri Aimonen1-2/+2
2014-08-10Switch pb_encode to use the common iterator logic in pb_common.cPetteri Aimonen1-0/+1
2014-08-10Separate field iterator logic from pb_decode to pb_common.Petteri Aimonen19-29/+40
2014-08-04Generate #defines for initializing message structures.Petteri Aimonen4-4/+5
2014-07-20Add skip_message option to generator.Petteri Aimonen2-3/+10
2014-07-20Add support for inverted patterns in test framework.Petteri Aimonen1-3/+14
2014-07-20Fix problem with .options file and extension fields.Petteri Aimonen5-1/+33
2014-06-02Add unit tests for allocate_field().Petteri Aimonen1-0/+23
2014-05-17Fix bug in alltypes test case that made fuzzing difficult.Petteri Aimonen5-0/+7
2014-04-15Fix typos in scons command line optionsPetteri Aimonen1-2/+2
2014-04-15Remove -O0 from tests CFLAGS so that optimized builds can be tested alsoPetteri Aimonen1-4/+4
2014-04-09Fix bug in missing_fields test casePetteri Aimonen1-2/+5
2014-04-09Use -fsanitize=undefined when running tests with clangPetteri Aimonen1-3/+13
2014-04-05Add rule for building coverage summary using lcov.Petteri Aimonen6-18/+49
2014-04-05Add a convenience function pb_get_encoded_size()Petteri Aimonen1-0/+9
2014-04-05Add a 'found' field to pb_extension_t.Petteri Aimonen2-0/+3
2014-04-02Fix splint warnings, add splint test casePetteri Aimonen2-0/+49
2014-04-01Fix compile error when default value given for extension field.Petteri Aimonen1-1/+1
2014-03-18Add stdlib.h to pb_syshdr.h for dynamic allocationPetteri Aimonen1-0/+2
2014-03-16Documentation updatesPetteri Aimonen1-3/+0
2014-03-15Finish the alltypes_pointer testcase, use valgrind if available.Petteri Aimonen4-168/+90
2014-03-15Get rid of pb_bytes_ptr_t, just allocate pb_bytes_array_t dynamically.Petteri Aimonen3-8/+10
2014-03-12Add pb_release() functionPetteri Aimonen3-20/+81
2014-03-10More fixes for dynamic allocationPetteri Aimonen2-25/+28
2014-02-24Beginnings of malloc support in pb_decodePetteri Aimonen2-1/+220
2014-02-12Add test case for package names defined in .proto file.Petteri Aimonen1-0/+36
2014-02-10Add AllTypes decoding test with callbacks.Petteri Aimonen2-1/+427
2014-02-09Add AllTypes encoding test for callbacks (issue #99)Petteri Aimonen3-0/+420
2014-02-05Extreme negative integer constants are a bit nasty to define in C, just avoid...Petteri Aimonen1-2/+2