aboutsummaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
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
2022-01-13Suppress new warnings in clang-tidy 13David Robillard1-1/+2
2021-07-10Fix out of bounds read in testDavid Robillard1-0/+4
2021-07-10Clean up socket-like stream reading testDavid Robillard1-5/+17
2021-07-10Add missing includeDavid Robillard1-0/+1
2021-07-09Fix accidentally disabled writer testDavid Robillard1-4/+1
2021-07-08Suppress new warnings in clang-tidy 12David Robillard1-0/+2
2021-06-30Make node qualify and expand functions tolerate a null EnvDavid Robillard1-0/+5
This is convenient in places where you don't necessarily need an Env, since these methods will work the same as with an empty Env.
2021-04-09Write statements with invalid URI characters in lax modeDavid Robillard5-0/+13
2021-02-15Fix writing long literals with triple quotesDavid Robillard1-0/+65
2021-01-02Use email address instead of website for attributionDavid Robillard7-7/+7
2020-12-31Format all code with clang-formatDavid Robillard7-614/+635
2020-12-17Add test for attempting to convert a non-file URI to a pathDavid Robillard1-0/+3
2020-12-15Suppress new clang-tidy warningsDavid Robillard1-0/+3
2020-11-14Deprecate serd_uri_to_path()David Robillard1-0/+9
2020-11-13Remove tests that pass null to nonnull parametersDavid Robillard2-8/+4
2020-11-13Add failure test for unescaped quotes in URIsDavid Robillard2-0/+7
2020-11-13Allow setting the base URI of an Env to NULLDavid Robillard1-1/+6
2020-11-12Use C11 if possibleDavid Robillard1-0/+1
2020-11-12Suppress nullability warnings in testsDavid Robillard1-0/+1
2020-11-11Add nonnull and nullable attributes to APIDavid Robillard1-0/+8
This will warn if NULL is passed to any nonnull-annotated parameter, and is also supported by sanitizers which can check for violations at runtime. Unfortunately, it is currently only supported by clang. GCC has a similar feature in the nonnull attribute, but this has a different syntax (it's a function attribute) and is more dangerous since it is used by the optimizer to assume a null pointer is undefined behavior. This one just warns and still allows code to handle the situation gracefully, which I think is more appropriate for a library API. Note that this optimization behavior is not some unlikely edge case: switching these attributes to the GCC one will break release builds.
2020-11-10Fix memory leak in chunk reading testDavid Robillard1-0/+1
2020-11-09Add a test for reading strings with no trailing newlineDavid Robillard1-0/+23