aboutsummaryrefslogtreecommitdiffstats
path: root/test/good
AgeCommit message (Collapse)AuthorFilesLines
2022-01-28Fix pretty-printing nested empty lists and add test suiteDavid Robillard4-195/+0
The earlier "test" was just hitting the code without actually checking the output. This new suite is a set of pretty-printed documents which serd must reproduce from a model exactly to pass. This should make it easy to add cases in the future, since each case is just a document, as it should look.
2022-01-28Replace serdi with more fine-grained toolsDavid Robillard1-3/+10
Especially with the new functionality, the complexity of the command-line interface alone was really becoming unmanageable. The serdi implementation also had the highest cyclomatic complexity of the entire codebase by a huge margin. So, take a page from the Unix philosophy and split serdi into several more finely-honed tools that can be freely composed. Though there is still unfortunately quite a bit of option overlap between them due to the common details of reading RDF, I think the resulting tools are a lot easier to understand, both from a user and a developer perspective.
2022-01-28Split up test suite build definitionsDavid Robillard1-0/+8
2022-01-14Add tests for weird prefixed name edge cases in RDF 1.1 TurtleDavid Robillard4-0/+51
2022-01-14Factor out NTriples readerDavid Robillard3-9/+0
2022-01-13Simplify streaming API and improve pretty printingDavid Robillard3-2/+98
This removes the obligation from the caller to correctly maintain flags to describe the current anonymous context, instead making the writer handle this itself as much as possible. Flags remain for the cases the writer can not infer from context: the start of anonymous subject and object nodes.
2022-01-13Remove support for Turtle named inline nodes extensionDavid Robillard5-24/+0
2020-11-09Rename test directoryDavid Robillard93-0/+51118