summaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2022-11-16Use zix_current_path()David Robillard1-34/+0
2022-11-16Use zix_path_is_absolute()David Robillard1-20/+0
2022-11-16Use zix_file_lock()David Robillard1-22/+0
2022-11-16Use zix_copy_file()David Robillard2-42/+0
2022-11-16Use zix_create_temporary_directory()David Robillard2-20/+2
2022-11-16Use zix_create_directories()David Robillard2-36/+1
2022-11-16Use zix_temp_directory_path()David Robillard1-11/+0
2022-11-16Use zix_remove()David Robillard4-33/+34
2022-11-16Use zix_file_equals()David Robillard3-41/+3
2022-11-16Use zix_canonical_path()David Robillard4-78/+7
2022-11-16Use zix_path_join()David Robillard4-144/+83
2022-11-16Use zix_file_type() and zix_symlink_type()David Robillard2-34/+21
2022-11-16Simplify test setup codeDavid Robillard10-104/+10
2022-11-16Fix mismatched free functionsDavid Robillard1-2/+2
2022-09-08Use 0BSD for trivial "public domain intent" thingsDavid Robillard15-15/+15
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-09-01Adopt REUSE machine-readable licensing standardDavid Robillard63-598/+163
2022-08-22Only run autoship test in strict modeDavid Robillard1-3/+5
2022-07-18Switch to meson build systemDavid Robillard22-14/+371
2022-07-17Suppress new warnings in clang-tidy 14David Robillard1-0/+2
2022-07-17Fix unlikely null dereference in testDavid Robillard1-8/+16
2022-07-17Avoid incorrect use of mkstemp in testsDavid Robillard2-37/+72
This was an overly hasty switch from race-prone alternatives to mkstemp, but it did not actually account for the fact that mkstemp creates the file. This resulted in leaking the file handle, and trying to open it twice, which made the tests fail on Windows/MinGW.
2022-05-26Suppress new warnings in clang-tidy 13David Robillard1-0/+5
2021-01-11Use unique test bundle names so tests can run in parallelDavid Robillard19-38/+110
2021-01-11Fix unused parameter warningsDavid Robillard12-3/+100
2021-01-02Use email address instead of website for attributionDavid Robillard27-27/+27
2021-01-02Suppress clang-tidy C11 warningsDavid Robillard1-0/+1
2020-12-31Format all code with clang-formatDavid Robillard47-3380/+3301
2020-12-18Windows: Prefer backslash as a path separatorDavid Robillard1-3/+31
This situation is, as always, a total nightmare. In an attempt to not make weird paths with mixed separators, a heuristic is used here which uses forward slash if it seems that the input paths do. Otherwise, backslash (the "preferred" separator on Windows despite all good sense) is used.
2020-12-18Windows: Add test cases for lilv_path_is_absolute()David Robillard1-0/+7
2020-12-18Add lilv_path_absolute_child()David Robillard1-0/+21
2020-12-18Add lilv_path_filename()David Robillard1-0/+23
2020-12-18Ensure that bundles are removed in state testsDavid Robillard1-2/+2
2020-12-18Check file contents rather than canonical paths in state testsDavid Robillard1-6/+2
This makes the checks work when the files are not symlinks, as on Windows.
2020-12-18Free instances before deleting state filesDavid Robillard1-7/+8
This ensures that the files are no longer in use so they can be removed on Windows.
2020-12-17Fix writing state manifests on WindowsDavid Robillard1-1/+119
2020-12-16Fix inconsistent parameter nameDavid Robillard1-2/+2
2020-12-16Isolate variable declarations and initialize all variablesDavid Robillard2-4/+6
2020-12-16Clean up includesDavid Robillard10-11/+10
2020-12-16Add separate clang-tidy configuration for testsDavid Robillard1-0/+41
2020-12-01Rewrite state test suiteDavid Robillard1-399/+797
Still a little bit hairy, but much better, and it's at least possible to add cases now without running away screaming.
2020-12-01Move features to shared test contextDavid Robillard1-71/+82
2020-12-01Factor out loading test pluginDavid Robillard1-16/+29
2020-12-01Factor out state test contextDavid Robillard1-33/+64
2020-12-01Factor out test URI mapDavid Robillard3-35/+98
2020-08-07Fix error handling when copying filesDavid Robillard1-0/+14
2020-08-07Add filesystem testsDavid Robillard2-40/+460
2020-08-06Add lilv_remove()David Robillard2-11/+3
2020-08-06Rename some filename utilities for clarityDavid Robillard4-15/+15
Loosely inspired by Python and the std::filesystem API.
2020-08-06Separate filesystem utilitiesDavid Robillard13-10/+17