aboutsummaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
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
2020-11-09Use separate clang-tidy configurations for implementation and testsDavid Robillard1-0/+9
2020-11-09Split out reader and writer testsDavid Robillard2-167/+203
2020-11-09Split out string testsDavid Robillard2-32/+64
2020-11-09Split out URI testsDavid Robillard2-136/+171
2020-11-09Rename unit tests to start with a consistent prefixDavid Robillard4-0/+0
2020-11-09Rename test directoryDavid Robillard1178-0/+62423