aboutsummaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2020-08-16Ensure that all free methods tolerate NULLDavid Robillard1-0/+33
2020-08-16Move Env tests to a separate fileDavid Robillard2-64/+95
2020-08-16Add test for reading chunksDavid Robillard1-0/+120
2020-08-16Fix loop index variable typeDavid Robillard1-5/+5
2020-08-16Fix handling of bad syntax that ends a collectionDavid Robillard2-0/+7
2020-08-16Fix EOF and null byte handlingDavid Robillard2-0/+6
This is a bit questionable, but the null byte support is needed for streaming over a socket where some delimiter is required. This caused a bug where serdi would hang forever on corrupt files that contain a null byte. Fix this by consuming the byte, but otherwise behaving as before.
2020-08-16Add a test for reading from socket-like streamsDavid Robillard1-0/+61
2020-08-15Clean up reader error handlingDavid Robillard1-3/+3
2020-08-15Harden prefixed name parsingDavid Robillard2-0/+8
2020-08-14Avoid use of rand()David Robillard1-10/+3
2020-08-14Add test for serd_strerror with unknown errorsDavid Robillard1-3/+6
2020-08-14Fix Wswitch-enum warningsDavid Robillard1-0/+21
2020-08-14Add test for bad blank graph labelsDavid Robillard2-0/+9
2020-06-21Cleanup: Fix uninitialised variablesDavid Robillard1-4/+4
2020-06-21Cleanup: Avoid declaring multiple variables on a single lineDavid Robillard1-1/+2
2020-06-21Cleanup: Avoid malloc of 0 bytesDavid Robillard1-1/+1
2020-06-21Cleanup: Remove unnecessary storesDavid Robillard1-4/+3
2020-06-21Cleanup: Remove redundant castDavid Robillard1-1/+1
2020-06-21Clean up includesDavid Robillard1-4/+5
2019-12-14Fix function prototypeDavid Robillard1-1/+1
2019-12-14Split up unit testsDavid Robillard1-39/+100
2019-12-08Fix reading from a null-delimited socketDavid Robillard1-0/+61
2019-10-27Fix EOF handling while reading in bulk or from stringsDavid Robillard5-0/+34
2019-10-27Fix example prefixes in test casesDavid Robillard10-10/+10
2019-10-27Add test case for base URI with no pathDavid Robillard3-0/+11
2019-10-27Fix lax handling of string errors and add separate lax test suiteDavid Robillard7-10/+41
2019-04-19Fix test coverageDavid Robillard1-28/+20
These returns values are legacy cruft from when test success was handled manually instead of using assert.
2019-03-30Fix parsing "a" abbreviation without padding whitespaceDavid Robillard3-0/+19
2019-03-17Fix bug parsing TriG graphs with several squashed trailing dotsDavid Robillard3-0/+16
2019-01-05Fix unused parameter warningsDavid Robillard1-0/+10
2019-01-05Remove manifest testDavid Robillard2-277/+0
2018-12-26Remove test utilities and simply use assert for unit testsDavid Robillard2-294/+105
2018-11-11Add tests for misspelled prefix and base directivesDavid Robillard3-0/+14
2018-11-11Remove some unnecessary test filesDavid Robillard6-593/+0
2018-11-11Add test for writing URIs that can not be shortenedDavid Robillard4-11/+28
2018-10-03Fix TriG test suite to not require clashing blank node IDsDavid Robillard4-3/+4
2018-07-30Fix resolving some URIs against base URIs with no trailing slashDavid Robillard4-24/+41
2018-07-22Remove long literal version of form feed testDavid Robillard2-4/+0
This causes problems with Windows checkouts that aren't configured properly, but the short version suffices to test the relevant code.
2018-07-22Fix memory leak in test suiteDavid Robillard1-0/+1
2018-07-22Add serd_free for freeing memory allocated by serdDavid Robillard1-5/+5
2018-07-14Fix length of base64 encoded nodesDavid Robillard1-0/+3
2018-07-12Fix making relative URIs that are shorter than, but under, the rootDavid Robillard1-0/+9
2018-06-10Test serd_strlen() with NULL flagsDavid Robillard1-0/+4
2018-06-10Fix relative URI serialisationDavid Robillard1-0/+12
2018-05-27Add test for writing form feeds in TurtleDavid Robillard4-18/+39
2018-05-25Add blank node statement test filesDavid Robillard2-0/+4
2018-05-25Fix reported error when reading statements with only a blank nodeDavid Robillard2-30/+43
2018-03-08Fix parsing local names that end with escaped dotsDavid Robillard1-0/+3
2018-02-04Add test for qualifying URIsDavid Robillard2-0/+8
2018-02-04Factor out Turtle-to-Turtle test patternDavid Robillard1-0/+1