aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_decode2.c
AgeCommit message (Collapse)AuthorFilesLines
2012-10-18Remove the "buf = NULL" => skip requirement from pb_istream_t callbacks.Petteri Aimonen1-7/+0
Rationale: it's easy to implement the callback wrong. Doing so introduces io errors when unknown fields are present in the input. If code is not tested with unknown fields, these bugs can remain hidden for long time. Added a special case for the memory buffer stream, where it gives a small speed benefit. Added testcase for skipping fields with test_decode2 implementation. Update issue 37 Status: FixedInGit
2012-08-24Implement error messages in the decoder side.Petteri Aimonen1-1/+1
Update issue 7 Status: Started
2011-12-30Expanding the tests to better cover decoding from memory buffer.Petteri Aimonen1-0/+90
git-svn-id: https://svn.kapsi.fi/jpa/nanopb@1090 e3a754e5-d11d-0410-8d38-ebb782a927b9