aboutsummaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2023-04-05Replace complicated test support codeDavid Robillard3-416/+116
Everything covered by the old hairy runner script is now covered by more focused test suites, so the "thru" pass can be eliminated without losing significant coverage.
2023-04-05Improve test suite coverageDavid Robillard2-2/+11
2023-04-05Test full URI preservation separatelyDavid Robillard4-0/+33
2023-04-05Use a consistent naming scheme for "good" testsDavid Robillard6-13/+16
2023-04-05Run lax suite with the simpler runner scriptDavid Robillard3-21/+52
2023-04-05Test adding blank node prefixes separatelyDavid Robillard2-6/+13
2023-04-05Improve writer error handlingDavid Robillard1-1/+1
2023-04-05Fix relative URI creationDavid Robillard5-17/+13
2023-04-05Test URI and blank node manipulation features separatelyDavid Robillard17-10/+227
2023-04-05Clean up relative URI unit testsDavid Robillard1-31/+156
2023-04-05Clean up Python scripts and add a formatting testDavid Robillard5-93/+102
2023-04-05Use shorter URIs in lax testsDavid Robillard2-12/+12
2023-04-05Fix potential memory leaks when a write is abortedDavid Robillard1-0/+49
Also clean up and simplify writer context management in general.
2023-04-05Strengthen URI utility unit testsDavid Robillard1-6/+29
2023-04-05Fix pretty-printing of anonymous subjectsDavid Robillard6-0/+125
2023-04-05Add pretty-printing test suiteDavid Robillard31-109/+618
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 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.
2023-04-02Factor out common test runner utilitiesDavid Robillard2-128/+184
2023-04-02Fix lax test suiteDavid Robillard1-2/+2
2023-04-02Improve TriG pretty-printing and remove trailing newlinesDavid Robillard2-4/+4
2023-03-31Remove outdated test README fileDavid Robillard1-20/+0
This has evolved into the set of "extra" tests for serd, and is no longer the pre-standard Turtle test suite this README originates from.
2023-03-31Fix incorrect parsing of strange quote escape patternsDavid Robillard3-0/+124
2023-03-31Remove trailing whitespaceDavid Robillard1-3/+3
2023-02-12Remove dead and redundant data from good test manifestThomas Tanon1-8/+0
2022-12-10Make clang-tidy configuration clean when run via mesonDavid Robillard1-2/+0
2022-11-25Trim redundant warning flags enabled by -Wextra and -WpedanticDavid Robillard1-1/+6
2022-11-25Avoid use of tmpfile()David Robillard1-28/+35
Somewhat temporary solution, since we'll soon be able to use zix here which has nice portable functions to create temporary files.
2022-11-25Avoid creating test files in the current directoryDavid Robillard2-1/+22
2022-11-25Merge similar testsDavid Robillard3-143/+119
2022-11-25Always handle the return value of serd_env_set_base_uri()David Robillard1-0/+2
2022-11-24Gracefully handle bad characters in Turtle blank node syntaxDavid Robillard2-0/+7
2022-11-24Gracefully handle bad characters in Turtle datatype syntaxDavid Robillard2-0/+7
2022-11-24Check serd_writer_write_statement() return valueDavid Robillard1-2/+2
2022-11-24Avoid mutation in testDavid Robillard1-18/+22
2022-11-15Fix potential Python errors on test suite failureDavid Robillard1-5/+5
2022-11-14Add Windows path separator support to serd_node_new_file_uri()David Robillard1-5/+51
2022-10-24Fix MSVC warning in header testDavid Robillard1-0/+4
2022-10-23Fix crash when trying to read chunks without startingDavid Robillard1-0/+2
2022-10-23Use uppercase integer literal suffixesDavid Robillard1-1/+0
2022-10-23Simplify clang-tidy configurationDavid Robillard1-8/+2
2022-10-23Test header for warnings more strictlyDavid Robillard4-0/+58
2022-09-08Use 0BSD for trivial "public domain intent" thingsDavid Robillard2-2/+2
Fedora takes issue with CC0. Although it doesn't really matter for this stuff (dual licensed anyway, questionably "software", certainly not patentable, and so on), this is simpler and more consistent with the ISC license used for the actual software anyway.
2022-09-08Only run REUSE test in strict modeDavid Robillard1-12/+14
2022-08-31Adopt REUSE machine-readable licensing standardDavid Robillard14-121/+40
2022-08-22Only run autoship test in strict modeDavid Robillard1-3/+5
2022-08-09Fix array size warningDavid Robillard1-3/+7
2022-07-16Write test outputs to a temporary directoryDavid Robillard1-12/+10
While occasionally useful, I almost always end up reproducing the issue live to investigate something anyway. Not keeping the many tests results around results in less clutter, and hopefully makes the test suites faster in environments with bad I/O like Docker.
2022-07-13Suppress new warnings in clang and clang-tidy 14David Robillard1-0/+2
2022-07-10Use temporary files in test suite where possibleDavid Robillard1-74/+74
2022-07-10Switch to meson build systemDavid Robillard4-0/+290
2022-06-27Factor out test suite running to a standalone scriptDavid Robillard1-0/+403