aboutsummaryrefslogtreecommitdiffstats
path: root/tests/serd_test.c
AgeCommit message (Collapse)AuthorFilesLines
2020-06-21Bring read/write interface closer to C standardDavid Robillard1-2/+2
2020-06-21Merge datatype and/or language into nodeDavid Robillard1-32/+59
This moves closer to the sord API, and is more convenient in most cases.
2020-06-21Simplify reader interfaceDavid Robillard1-2/+12
2020-06-21Remove serd_uri_to_path()David Robillard1-29/+0
2020-06-21Make nodes opaqueDavid Robillard1-160/+192
2020-06-21Add support for parsing NaN, INF, and -INFDavid Robillard1-0/+10
2020-06-21Make serd_strtod API const-correctDavid Robillard1-2/+3
This is an API breakage, but a minor one (particularly since NULL is allowed) that avoids the flaw in the C API.
2020-06-21Rename SerdChunk to SerdStringViewDavid Robillard1-2/+2
2020-06-21Use char* for strings in public APIDavid Robillard1-91/+87
The constant casting just makes user code a mess, for no benefit.
2020-06-21Remove useless character countingDavid Robillard1-19/+9
2020-06-21Use SerdBuffer for mutable buffersDavid Robillard1-4/+4
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks.
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-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-01-05Fix unused parameter warningsDavid Robillard1-0/+10
2018-12-26Remove test utilities and simply use assert for unit testsDavid Robillard1-252/+105
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-01-04Open files in binary mode to preserve line endings on WindowsDavid Robillard1-1/+1
2017-12-26Report source file and line on test failuresDavid Robillard1-98/+89
2017-07-10Gracefully handle applications that write corrupt UTF-8David Robillard1-4/+11
2017-07-10Reduce test code lengthDavid Robillard1-17/+8
2017-07-09Add serd_node_from_substring()David Robillard1-0/+21
This allows creating nodes in-place from substrings of other strings to allow zero-copy serialization from existing delimited buffers.
2017-07-08Improve URI escaping and parsing testsDavid Robillard1-103/+53
2017-01-03Test file URI escapingDavid Robillard1-0/+17
2016-07-11Fix memory leakDavid Robillard1-0/+1
2016-07-10Add serd_node_new_relative_uri()David Robillard1-2/+14
2016-06-13Fix use of uninitialized fieldsDavid Robillard1-4/+1
Fixes #1135
2015-10-08Update copyright datesDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@505 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2015-10-05Fix warning on WindowsDavid Robillard1-2/+4
git-svn-id: http://svn.drobilla.net/serd/trunk@497 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2015-10-04Fix test program on BSDDavid Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/serd/trunk@496 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2015-10-02Full test coverageDavid Robillard1-1/+13
git-svn-id: http://svn.drobilla.net/serd/trunk@492 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2014-11-22Fix warnings when building with ISO C++ compilers.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@477 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2014-08-08Update copyright dates.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@467 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2014-08-05Fix memory leak in serd_test.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@463 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-30Improve branch coverage.David Robillard1-0/+5
git-svn-id: http://svn.drobilla.net/serd/trunk@445 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-30Improve branch coverage.David Robillard1-1/+7
git-svn-id: http://svn.drobilla.net/serd/trunk@442 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-12-23Windows compatibility fixes.David Robillard1-0/+5
git-svn-id: http://svn.drobilla.net/serd/trunk@405 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-12-23Fix serd_node_new_decimal test code.David Robillard1-6/+6
git-svn-id: http://svn.drobilla.net/serd/trunk@402 490d8e77-9747-427b-9fa3-0b8f29cee8a0