Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nanopb/nanopb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2018-10-11Further test fail fix for WindowsPetteri Aimonen
2018-10-11Fix test failure on WindowsPetteri Aimonen
2018-10-11Don't release fields of a callbackJari Vetoniemi
If submessage array is a callback, there's nothing to release.
2018-10-11Test mem_release with garbage inputJari Vetoniemi
2018-10-03Fix compiler warningPetteri Aimonen
2018-10-03Add testcase for #342Petteri Aimonen
2018-09-13Add testcase for issue #338Petteri Aimonen
2018-08-31unit test for typename mangling featurematejcik
2018-04-09Add check for large extension field number (issue #306)Petteri Aimonen
2018-04-07Add testcase for issue #322Petteri Aimonen
2018-02-26Fix for default value byte escapingHamina, Juha-Pekka
2018-02-15Add tests for fixed count optionOliver Lee
2018-02-15Fix scons printing for Python 3Oliver Lee
2017-12-11Extend alltypes test case to cover issue #295.Petteri Aimonen
2017-10-05Modify the test to encode using protoc and verify, they should match.Sébastien Morin
2017-10-01Small fix to decode_map examplePetteri Aimonen
2017-10-01Add test/example of using 'map' type. (issue #289)Petteri Aimonen
2017-09-16Mac OS X build fixPetteri Aimonen
2017-09-16Fix windows build failPetteri Aimonen
2017-09-16Add option to build without 64-bit support (issue #86)Petteri Aimonen
2017-09-16Test also the optionals case in field_size_*Petteri Aimonen
2017-09-15Properly detect truncated tags in corrupted messages (issue #277)Petteri Aimonen
2017-09-15Make pb_decode_varint32 overflow checks exact (issue #258)Petteri Aimonen
2017-06-15Add regression test for issue #259Petteri Aimonen
2017-04-14Add testcase for issue #256Petteri Aimonen
2017-03-28Add regression test for issue #253Petteri Aimonen
2017-03-12Improve varint unittest coverage for error casesPetteri Aimonen
2017-03-02Fix alltypes_callback testcasePetteri Aimonen
The test case was erroneously comparing whole submsg structures, which could result in false errors when padding bytes differed.
2017-03-02Add regression test for issue #249Petteri Aimonen
2017-03-02Add callback test for proto3 modePetteri Aimonen
2017-03-02Fix bug in alltypes_callback test casePetteri Aimonen
2017-02-25Add testcase for issue #247Petteri Aimonen
2017-02-25Windows build fixPetteri Aimonen
2017-02-25Fix infinite loop in pb_check_proto3_default_valueJustin DeMartino
- Occurs with proto3, PB_FIELD_16BIT and submessage > 255 bytes - Add test case for PB_FIELD_16BIT and proto3
2017-02-24Fix build failurePetteri Aimonen
2017-02-24Add test coverage for calling pb_release() on a message with callback fields.Petteri Aimonen
2017-02-22Add fixed length bytes to alltypes test case (issue #244)Petteri Aimonen
2017-02-20Add new option max_length for strings (issue #107)Petteri Aimonen
Max_size is the allocated size, so users had to add +1 for the null terminator. Max_length does the +1 automatically in the generator.
2017-02-12Add regression test for issue 242Petteri Aimonen
2016-12-31Add testcase for issue #229Petteri Aimonen
2016-12-22Allow overriding proto3 mode (#228)Petteri Aimonen
2016-12-09Enable clang integer sanitizer and clean up a few warnings.Petteri Aimonen
Changed to use simple indexing instead of while (count--) in buf_read()/buf_write(), because the count overflowed from 0 to max on the last iteration. While the unsigned integer overflow is defined and behaviour was correct, making this simple change allowed enabling the sanitizer which might catch true errors elsewhere in the code.
2016-12-09Add regression test for issue #227Petteri Aimonen
2016-11-22Test case for enum_to_stringPetteri Aimonen
2016-10-23Only run alltypes_proto3 test case if protoc version is new enoughPetteri Aimonen
2016-10-23Add test cases for proto3 has_ field support.Petteri Aimonen
2016-08-05Add inline allocation of bytes fieldsTom Roeder
This commit adds a new FT_INLINE allocation type that forces bytes fields to be inlined into the struct. E.g., pb_byte_t my_bytes[32]. This requires max_size for the bytes field. The FT_INLINE type is represented as a new LTYPE: FT_LTYPE_FIXED_LENGTH_BYTES. This commit also updates the documentation with FT_INLINE and FT_LTYPE_FIXED_LENGTH_BYTES. Added an AUTHORS file in apparent order of appearance in the git log history from $(git log --all).
2016-07-23Include package name in include guard (issue #207).Petteri Aimonen
Fix suggested by Ulenspiegel. Also added testcase for the same.
2016-06-06Add testcase for issue #205Petteri Aimonen
2016-06-06Add static repeated submessage field to mem_release test case.Petteri Aimonen
Attempt at reproducing issue #204.