summaryrefslogtreecommitdiffstats
path: root/tests/person_with_extra_field.pb
AgeCommit message (Collapse)AuthorFilesLines
2012-10-21Improve the person_with_extra_field test.Petteri Aimonen1-0/+0
Added a field after the extra field to verify it's also ok.
2012-10-18Remove the "buf = NULL" => skip requirement from pb_istream_t callbacks.Petteri Aimonen1-0/+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