summaryrefslogtreecommitdiffstats
path: root/test/test_state.c
AgeCommit message (Collapse)AuthorFilesLines
2024-01-09Fix potential null dereferences and conversion warningsDavid Robillard1-1/+8
A few of these can't actually happen, but that's opaque to static analysis, so appease clang-tidy with casts since the checks are too valuable to suppress.
2024-01-09Fix null dereference when trying to load state from a missing fileDavid Robillard1-0/+13
2022-12-10Avoid "else" after "return"David Robillard1-7/+11
2022-11-16Remove filesystem moduleDavid Robillard1-2/+0
2022-11-16Use zix_dir_for_each()David Robillard1-11/+11
2022-11-16Use zix_remove()David Robillard1-12/+12
2022-11-16Use zix_file_equals()David Robillard1-2/+2
2022-11-16Use zix_canonical_path()David Robillard1-1/+1
2022-11-16Use zix_path_join()David Robillard1-39/+45
2022-11-16Use zix_file_type() and zix_symlink_type()David Robillard1-11/+18
2022-11-16Simplify test setup codeDavid Robillard1-5/+1
2022-09-01Adopt REUSE machine-readable licensing standardDavid Robillard1-15/+2
2021-01-11Fix unused parameter warningsDavid Robillard1-0/+16
2021-01-02Use email address instead of website for attributionDavid Robillard1-1/+1
2020-12-31Format all code with clang-formatDavid Robillard1-873/+850
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-16Clean up includesDavid Robillard1-1/+0
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 Robillard1-35/+7
2020-08-06Add lilv_remove()David Robillard1-2/+1
2020-08-06Rename some filename utilities for clarityDavid Robillard1-3/+3
Loosely inspired by Python and the std::filesystem API.
2020-08-06Separate filesystem utilitiesDavid Robillard1-0/+1
2020-07-16Add missing static specifiersDavid Robillard1-6/+6
2020-07-16Split test suite up into several independent programsDavid Robillard1-0/+581