aboutsummaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2023-12-02Add serd_new_boolean()David Robillard1-0/+21
2023-12-02Simplify literal construction APIDavid Robillard3-30/+45
2023-12-02Set datatypes on integer, decimal, and base64 nodesDavid Robillard1-7/+27
2023-12-02Simplify node construction APIDavid Robillard5-97/+157
2023-12-02Merge datatype/language into nodeDavid Robillard3-53/+69
This moves closer to the sord API, and is more convenient in most cases.
2023-12-02Simplify URI API and implementationDavid Robillard2-31/+142
2023-12-02Add serd_node_uri_view()David Robillard1-5/+11
2023-12-02Add serd_node_string_view()David Robillard1-0/+2
2023-12-02Make nodes opaqueDavid Robillard6-189/+195
2023-12-02Shorten node constructor namesDavid Robillard2-15/+14
2023-12-02Rename string view fieldsDavid Robillard1-3/+3
2023-12-02Use more human-readable status codesDavid Robillard3-5/+5
2023-12-02Add version constants to public headerDavid Robillard1-0/+1
2023-12-02Split up public API headerDavid Robillard7-8/+41
2023-12-02Remove "get" from accessor namesDavid Robillard2-8/+8
2023-12-02Rename function types for consistencyDavid Robillard1-4/+4
2023-12-02Rename SerdStyle to SerdWriterFlagsDavid Robillard2-13/+14
2023-12-02Rename SerdURI to SerdURIViewDavid Robillard1-8/+8
2023-12-02Rename SerdChunk to SerdStringViewDavid Robillard2-3/+3
2023-12-02Add SerdBuffer type for mutable buffersDavid Robillard2-14/+14
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks.
2023-12-02Use char* for strings in public APIDavid Robillard6-126/+108
The constant casting just makes user code a mess, for no benefit.
2023-12-02Remove support for reading Turtle named inline nodes extensionDavid Robillard7-41/+0
2023-12-02Remove escape parameter from serd_node_new_file_uriDavid Robillard1-25/+10
Since characters are escaped because they are not valid characters in a URI, any use of this function without escaping is problematic at best.
2023-12-02Remove useless character countingDavid Robillard2-17/+9
2023-12-02Remove serd_uri_to_path()David Robillard1-45/+0
2023-10-06Tolerate reduce floating point precision on Apple SiliconDavid Robillard1-2/+2
This is... strange, and slightly worrying, although it's already known that this conversion code isn't exact in all cases. The next major version will fix that (and I've confirmed that these issues aren't present there), but that's a major change so, for now, just reduce the very large number in the test case slightly so that it passes on these chips as well.
2023-09-23Avoid use of deprecated meson string formatting with filesDavid Robillard1-10/+29
Meson annoyingly doesn't provide access to the path of file objects (but it should). It was possible to do that by formatting a string with a file argument, but now this triggers a loud warning that claims it has always been broken and will be deprecated. So, avoid this by juggling things around and maintaining unchecked path strings instead, and hope that they're all passed to files() at some point so they can't get stale.
2023-09-22Clean up meson formattingDavid Robillard1-35/+73
Formatted automatically with muon, with some manual changes to make things format more nicely.
2023-05-03Make serd_reader_read_chunk() work with NQuadsDavid Robillard1-7/+101
2023-05-03Remove test output file after executionDavid Robillard1-0/+1
2023-04-30Suppress cross-compilation warnings in MacOS buildsDavid Robillard1-0/+5
2023-04-30Add long "help" and "version" options to serdiDavid Robillard1-0/+2
Although serdi still "officially" has a BSD-style interface, meson uses --version to find the version of executables. So, support that, and also add --help, since users will often try that for unknown commands.
2023-04-16Gracefully handle errors when writing textDavid Robillard3-1/+164
2023-04-06Add test for different comment termination casesDavid Robillard3-0/+13
2023-04-06Improve pretty-printing of lists and inline subjectsDavid Robillard13-10/+87
2023-04-06Remove support for writing Turtle named inline nodes extensionDavid Robillard2-18/+0
2023-04-06Make URI writing stricter by defaultDavid Robillard2-1/+39
2023-04-06Gracefully handle boolean subject and predicate errorsDavid Robillard6-2/+17
2023-04-06Check formatting of project Turtle filesDavid Robillard1-0/+11
2023-04-06Use portable names for all test targetsDavid Robillard1-8/+8
2023-04-06Simplify stdout capturing codeDavid Robillard1-4/+2
This is slightly less excruciatingly slow on Windows, sometimes, maybe.
2023-04-06Add pylint testDavid Robillard1-1/+25
2023-04-06Fix flake8 warnings and add testDavid Robillard2-1/+7
2023-04-06Simplify command-line option test namesDavid Robillard1-2/+2
2023-04-06Simplify naming of W3C test directoriesDavid Robillard1025-8/+9
This matches the names used in <https://github.com/w3c/rdf-tests.git>.
2023-04-06Update TriG test suiteDavid Robillard4-18/+34
This suite can't be exactly copied because it has modifications to support exact streaming tests, but this commit incorporates some upstream changes manually.
2023-04-06Update Turtle test suiteDavid Robillard19-21/+123
This suite can't be exactly copied because it has modifications to support exact streaming tests, but this commit incorporates some upstream changes manually.
2023-04-06Update NQuads test suiteDavid Robillard7-13/+29
2023-04-06Update NTriples test suiteDavid Robillard3-2/+18
2023-04-06Use more consistent meson formattingDavid Robillard1-2/+2