Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-12-18 | Windows: Prefer backslash as a path separator | David Robillard | 1 | -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-18 | Windows: Add test cases for lilv_path_is_absolute() | David Robillard | 1 | -0/+7 | |
2020-12-18 | Add lilv_path_absolute_child() | David Robillard | 1 | -0/+21 | |
2020-12-18 | Add lilv_path_filename() | David Robillard | 1 | -0/+23 | |
2020-12-18 | Ensure that bundles are removed in state tests | David Robillard | 1 | -2/+2 | |
2020-12-18 | Check file contents rather than canonical paths in state tests | David Robillard | 1 | -6/+2 | |
This makes the checks work when the files are not symlinks, as on Windows. | |||||
2020-12-18 | Free instances before deleting state files | David Robillard | 1 | -7/+8 | |
This ensures that the files are no longer in use so they can be removed on Windows. | |||||
2020-12-17 | Fix writing state manifests on Windows | David Robillard | 1 | -1/+119 | |
2020-12-16 | Fix inconsistent parameter name | David Robillard | 1 | -2/+2 | |
2020-12-16 | Isolate variable declarations and initialize all variables | David Robillard | 2 | -4/+6 | |
2020-12-16 | Clean up includes | David Robillard | 10 | -11/+10 | |
2020-12-16 | Add separate clang-tidy configuration for tests | David Robillard | 1 | -0/+41 | |
2020-12-01 | Rewrite state test suite | David Robillard | 1 | -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-01 | Move features to shared test context | David Robillard | 1 | -71/+82 | |
2020-12-01 | Factor out loading test plugin | David Robillard | 1 | -16/+29 | |
2020-12-01 | Factor out state test context | David Robillard | 1 | -33/+64 | |
2020-12-01 | Factor out test URI map | David Robillard | 3 | -35/+98 | |
2020-08-07 | Fix error handling when copying files | David Robillard | 1 | -0/+14 | |
2020-08-07 | Add filesystem tests | David Robillard | 2 | -40/+460 | |
2020-08-06 | Add lilv_remove() | David Robillard | 2 | -11/+3 | |
2020-08-06 | Rename some filename utilities for clarity | David Robillard | 4 | -15/+15 | |
Loosely inspired by Python and the std::filesystem API. | |||||
2020-08-06 | Separate filesystem utilities | David Robillard | 13 | -10/+17 | |
2020-07-16 | Fix literal conversion warnings on MSVC | David Robillard | 1 | -3/+3 | |
2020-07-16 | Modernize compiler version checks | David Robillard | 1 | -2/+2 | |
Avoids a warning on compilers where __GNUC__ is not defined. | |||||
2020-07-16 | Add missing extern declaration | David Robillard | 1 | -0/+3 | |
This avoids a clang warning about strict declarations. | |||||
2020-07-16 | Add missing static specifiers | David Robillard | 1 | -6/+6 | |
2020-07-16 | Remove unnecessary defines | David Robillard | 2 | -4/+0 | |
2020-07-16 | Split test suite up into several independent programs | David Robillard | 24 | -2137/+2917 | |
2020-07-16 | Clean up includes | David Robillard | 1 | -2/+3 | |
2020-07-16 | Automatically write prefixes to test files | David Robillard | 2 | -42/+28 | |
Makes the code less repetitive and verbose. They were all the same at this point anyway, since unused prefixes don't hurt anything. | |||||
2020-07-16 | Use standard assert for test expectations | David Robillard | 10 | -398/+358 | |
The old one aborted anyway, and I've been using assert for tests in other projects for a while now, and never really missed having something more complex. The lack of a dependency or repetitive code is nice. Since the unit tests are about to be split up, the abort thing will become less of an issue anyway. | |||||
2020-07-15 | Rewrite and separate common test facilities | David Robillard | 3 | -414/+485 | |
2020-01-18 | Delete all temporary state bundles saved by the test suite | David Robillard | 1 | -9/+35 | |
2020-01-18 | Fix deleting state bundles loaded from the model | David Robillard | 1 | -30/+32 | |
2019-12-08 | Implement state:freePath feature | David Robillard | 2 | -22/+46 | |
2019-10-17 | Fix Windows warnings | David Robillard | 2 | -2/+3 | |
2019-06-21 | Refuse to store state properties with null keys | David Robillard | 1 | -0/+10 | |
2019-06-21 | Refuse to store duplicate properties when saving plugin state | David Robillard | 1 | -0/+11 | |
2019-04-21 | Fix building in a recursive project | David Robillard | 1 | -7/+7 | |
2019-04-15 | Disable state unit tests on Windows | David Robillard | 1 | -0/+5 | |
Unfortunately state with files does not currently work correctly on Windows. Disabling the tests there for now until this is fixed. | |||||
2019-04-15 | Use putenv instead of setenv in unit tests on Windows | David Robillard | 1 | -11/+26 | |
This makes things work on Windows, because only putenv changes the environment of the current process. | |||||
2019-04-15 | Remove non-ASCII text from source code | David Robillard | 1 | -5/+5 | |
This causes issues on Windows. | |||||
2019-04-15 | Fix mismatched malloc/free calls | David Robillard | 1 | -8/+18 | |
2019-04-14 | Use modern LV2 includes | David Robillard | 13 | -19/+19 | |
2019-04-14 | Fix Windows cross-library malloc/free errors | David Robillard | 1 | -2/+2 | |
2019-04-14 | Fix test bundle URI on Windows | David Robillard | 1 | -2/+8 | |
2019-04-14 | Make test suite self-contained | David Robillard | 1 | -59/+36 | |
This sets up the test environment with a custom LV2_PATH so that the test suite does not depend on any system-installed LV2 resources. | |||||
2019-04-14 | Add skeleton core.lv2 bundle for tests | David Robillard | 2 | -0/+39 | |
2019-01-13 | Update copyright dates | David Robillard | 14 | -14/+14 | |
2019-01-13 | Clean up includes | David Robillard | 21 | -47/+121 | |
Sorts includes from local to global (which catches errors) and fixes missing includes found by the resulting breakage and include-what-you-use. |