aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_reader.c
AgeCommit message (Collapse)AuthorFilesLines
11 daysEnsure success of fclose() for writable files in testsDavid Robillard1-5/+6
2024-11-23Use angle brackets for library includesDavid Robillard1-1/+1
2024-09-27Make function parameters const wherever possibleDavid Robillard1-2/+5
The early history of this code didn't tend to make parameters const, but the "const density" is high enough now that I often find myself wondering if something is mutable for some reason, or just old and sloppier. So, eliminate this confusion by making (hopefully) all function parameters const if possible.
2024-09-01Use a consistent naming scheme for test helper functionsDavid Robillard1-48/+23
2024-08-03Fix reading chunks from files without trailing newlinesDavid Robillard1-7/+10
2024-08-03Cover bulk and byte-wise reading in reader EOF testDavid Robillard1-4/+11
2024-06-27Split out simple reader unit testsDavid Robillard1-0/+437
Some of the simpler tests here only test the reader directly, while others are higher level tests that test both the writer and reader together. Split the simple reader-only tests into a separate file so things can be cleaned up and simplified for each kind of test.