aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_writer.c
AgeCommit message (Collapse)AuthorFilesLines
2024-09-21Remove pointless and inconsistent printing from unit testsDavid Robillard1-1/+0
2024-06-26Factor out URI prefix in some testsDavid Robillard1-16/+20
2024-06-23Gracefully handle failure to terminate written anonymous nodesDavid Robillard1-0/+30
This case shouldn't be reachable when driven directly from a reader, but can be reached by invalid use of the writer in an application.
2024-06-23Fix writer cleanup testDavid Robillard1-8/+18
Because nodes are shallow, this wasn't actually writing a stack of nested objects. Fix the blank node ping-pong algorithm so that it does.
2024-01-20Fix writing empty list objects within blank nodesDavid Robillard1-0/+74
2023-05-03Remove test output file after executionDavid Robillard1-0/+1
2023-04-16Gracefully handle errors when writing textDavid Robillard1-0/+66
2023-04-05Fix potential memory leaks when a write is abortedDavid Robillard1-0/+49
Also clean up and simplify writer context management in general.
2023-04-02Improve TriG pretty-printing and remove trailing newlinesDavid Robillard1-2/+2
2022-08-31Adopt REUSE machine-readable licensing standardDavid Robillard1-15/+2
2021-07-10Add missing includeDavid Robillard1-0/+1
2021-07-09Fix accidentally disabled writer testDavid Robillard1-4/+1
2021-02-15Fix writing long literals with triple quotesDavid Robillard1-0/+65