aboutsummaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
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-12-17Add test for statements ending with a blank then dot with no space.David Robillard2-0/+2
git-svn-id: http://svn.drobilla.net/serd/trunk@484 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2014-12-17Add tests for Turtle named inline nodes extension.David Robillard5-0/+13
git-svn-id: http://svn.drobilla.net/serd/trunk@483 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-12-24Update to latest Turtle test suite.David Robillard524-423/+968
Support UTF-8 in blank node names. Support idiotic SPARQL escaping in local names. git-svn-id: http://svn.drobilla.net/serd/trunk@452 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-31Add new literal tests from Turtle test suite.David Robillard14-4/+152
git-svn-id: http://svn.drobilla.net/serd/trunk@449 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-30Add more tests from the new W3C Turtle test suite.David Robillard6-0/+19
Support crazy escaped NULL characters in literals. Fix incorrect round-trip serialization test command. git-svn-id: http://svn.drobilla.net/serd/trunk@446 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-30Implement case-insensitive language tags from new Turtle spec.David Robillard3-0/+12
git-svn-id: http://svn.drobilla.net/serd/trunk@444 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-30Add some missing tests from latest W3C test suite.David Robillard149-0/+255
git-svn-id: http://svn.drobilla.net/serd/trunk@443 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
2013-03-30Merge test suites.David Robillard152-961/+703
git-svn-id: http://svn.drobilla.net/serd/trunk@441 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-30Don't escape backspace or form feed for ntriples.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/serd/trunk@440 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-24Set SERD_HAS_NEWLINE and SERD_HAS_QUOTE flags when unescaped newlines or ↵David Robillard2-1/+5
quotes are read. Don't escape legal ASCII characters when writing long literals. git-svn-id: http://svn.drobilla.net/serd/trunk@439 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-04Remove unused prefix.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/serd/trunk@437 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-04Support dots and colons in pnames.David Robillard7-5/+40
git-svn-id: http://svn.drobilla.net/serd/trunk@436 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-04Improve dot support.David Robillard14-0/+117
Extend test suite to cover more of the new Turtle draft. git-svn-id: http://svn.drobilla.net/serd/trunk@433 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-03Pass negative eval tests (reject invalid escaped URI characters).David Robillard4-4/+4
git-svn-id: http://svn.drobilla.net/serd/trunk@430 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-02Fix anonymous_blank_node_subject test.David Robillard2-1/+2
git-svn-id: http://svn.drobilla.net/serd/trunk@421 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-02-25Support most of the latest Turtle Editor's Draft.David Robillard342-55/+2744
git-svn-id: http://svn.drobilla.net/serd/trunk@418 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-02-24Move old test suite to its own directory.David Robillard123-0/+0
git-svn-id: http://svn.drobilla.net/serd/trunk@416 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-02-24Generate shorter blank node IDs like the new Turtle test suite.David Robillard15-323/+323
git-svn-id: http://svn.drobilla.net/serd/trunk@414 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-02-24Add missing files.David Robillard2-0/+243
git-svn-id: http://svn.drobilla.net/serd/trunk@413 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-02-24Restructure test suite to match new Turtle test suite.David Robillard107-164/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@412 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
2012-12-21Fix crash when serd_node_new_decimal is called with infinity or NaN.David Robillard1-2/+5
git-svn-id: http://svn.drobilla.net/serd/trunk@401 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-08-08Fix lax prototype.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@375 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-07-17Support digits at start of local names as per new grammar.David Robillard2-0/+4
git-svn-id: http://svn.drobilla.net/serd/trunk@360 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-07-05Add error callback to reader and writer for custom error reporting.David Robillard1-1/+1
Add -q option to serdi to suppress all non-data output, e.g. errors. Resolves #815. git-svn-id: http://svn.drobilla.net/serd/trunk@354 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-29Don't break relative URIs with up-references when parsing a document with no ↵David Robillard2-0/+2
base URI. git-svn-id: http://svn.drobilla.net/serd/trunk@342 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-27Delete trailing whitespace.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@340 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-18Add serd_reader_set_default_graph() for reading a file as a named graph.David Robillard1-17/+30
git-svn-id: http://svn.drobilla.net/serd/trunk@338 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-10Add serd_writer_set_root_uri(), root parameter toDavid Robillard4-0/+16
serd_uri_serialise_relative(), and -r option to serdi, to enable writing URIs with up references (../) within a parent namespace. Resolve dot segments in serd_uri_resolve() instead of at write time. git-svn-id: http://svn.drobilla.net/serd/trunk@336 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-08Add escape parameter to serd_node_new_file_uri().David Robillard1-6/+6
git-svn-id: http://svn.drobilla.net/serd/trunk@333 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-08Make serd_node_from_string tolerate NULL.David Robillard1-0/+5
git-svn-id: http://svn.drobilla.net/serd/trunk@332 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-08serd_node_new_uri_from_path => serd_node_new_file_uri.David Robillard1-6/+6
git-svn-id: http://svn.drobilla.net/serd/trunk@331 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-08Add serd_writer_get_env().David Robillard1-2/+98
Add serd_node_new_uri_from_path() and serd_file_uri_parse() and implement proper URI to/from path hex escaping, etc. Add serd_uri_serialise_relative() for making URIs relative to a base where possible (by chopping a common prefix and adding dot segments). Make URIs serialised by the writer properly escape characters. git-svn-id: http://svn.drobilla.net/serd/trunk@330 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-03Add serd_chunk_sink for easy writing to a string.David Robillard1-0/+21
git-svn-id: http://svn.drobilla.net/serd/trunk@329 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-29Handle files and strings that start with a UTF-8 Byte Order Mark (fix #814).David Robillard2-0/+4
git-svn-id: http://svn.drobilla.net/serd/trunk@326 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-28Fix serialisation of decimals like 10.0, 20.0, etc.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/serd/trunk@325 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-21Add test case and update ChangeLog.David Robillard1-0/+2
git-svn-id: http://svn.drobilla.net/serd/trunk@321 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-20Use iterative algorithm for collection parsing.David Robillard2-1/+3
git-svn-id: http://svn.drobilla.net/serd/trunk@306 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-20Implement pretty-printing for collections.David Robillard9-1/+111
git-svn-id: http://svn.drobilla.net/serd/trunk@305 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-09Add missing files.David Robillard2-0/+3
git-svn-id: http://svn.drobilla.net/serd/trunk@304 490d8e77-9747-427b-9fa3-0b8f29cee8a0