aboutsummaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2018-11-25Add separate test suite for lax syntax testsDavid Robillard4-7/+18
2018-11-25Remove manifest testDavid Robillard2-277/+0
2018-11-25Add validation test suiteDavid Robillard26-0/+568
2018-11-25WIP: Add C++ bindingsDavid Robillard1-0/+397
2018-11-25WIP: Add modelDavid Robillard1-0/+837
2018-11-25Add stack overflow testsDavid Robillard1-0/+73
2018-11-25Improve node test coverageDavid Robillard2-0/+15
2018-11-25Add test for bad blank graph labelsDavid Robillard2-0/+9
2018-11-25Ensure serd_new_resolved_uri returns an absolute URI or NULLDavid Robillard1-0/+5
2018-11-25Simplify streaming API and improve pretty printingDavid Robillard3-2/+84
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.
2018-11-25Add SerdNodes class for storing a cache of nodesDavid Robillard1-0/+105
2018-11-25Add serd_env_copy() and serd_env_equals()David Robillard1-0/+23
2018-11-25Separate ByteSink from WriterDavid Robillard1-3/+11
2018-11-25Remove serd_reader_set_default_graphDavid Robillard1-10/+2
This is easily handled by the sink. In particular, the inserter already contains this functionality.
2018-11-25Add rooted URI resolution testDavid Robillard1-1/+3
2018-11-25Add test for reading chunksDavid Robillard1-0/+109
2018-11-25Separate style enum from style flags typesDavid Robillard1-2/+2
2018-11-25Make SerdSink opaqueDavid Robillard1-6/+9
2018-11-25Simplify SerdEnv APIDavid Robillard1-23/+29
2018-11-25Remove escape parameter from serd_new_file_uriDavid Robillard1-9/+6
Since characters are escaped because they are not valid characters in a URI, any use of this function without escaping is problematic at best.
2018-11-25Shorten node constructor namesDavid Robillard1-52/+60
2018-11-25Make statement sink take a statement rather than nodesDavid Robillard1-15/+11
This makes the interface more extensible, towards associating more information with statements. The serd_sink_write_nodes wrapper remains so that user code does not need to allocate in order to write statement.
2018-11-25Use fixed size stackDavid Robillard1-2/+2
2018-11-25Set datatypes on integer, decimal, and base64 nodesDavid Robillard1-3/+17
2018-11-25Clean up node construction APIDavid Robillard1-91/+86
2018-11-25Clean up includes and improve source file separationDavid Robillard1-1/+2
2018-11-25Hide fopen wrapper and use reader interface consistentlyDavid Robillard1-23/+21
2018-11-25Add blank node APIDavid Robillard1-0/+14
2018-11-25Make serd_node_new_literal take datatype as a nodeDavid Robillard1-4/+11
2018-11-25Add SerdWorld for shared library stateDavid Robillard1-4/+12
2018-11-25Add SerdSink interface and hide individual function implementationsDavid Robillard1-19/+13
2018-11-25Bring read/write interface closer to C standardDavid Robillard1-1/+1
2018-11-25Merge datatype and/or language into nodeDavid Robillard1-31/+62
This moves closer to the sord API, and is more convenient in most cases.
2018-11-25Remove serd_uri_to_path()David Robillard1-36/+0
2018-11-25Make nodes opaqueDavid Robillard1-179/+216
2018-11-25Make serd_strtod API const-correctDavid Robillard1-2/+7
This is an API breakage, but a minor one (particularly since NULL is allowed) that avoids the flaw in the C API.
2018-11-25Rename SerdChunk to SerdSliceDavid Robillard1-1/+1
2018-11-25Use char* for strings in public APIDavid Robillard1-66/+61
The constant casting just makes user code a mess, for no benefit.
2018-11-25Remove useless character countingDavid Robillard1-31/+21
2018-11-25Use SerdBuffer for mutable buffersDavid Robillard1-5/+5
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks.
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