summaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
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
2020-07-16Fix literal conversion warnings on MSVCDavid Robillard1-3/+3
2020-07-16Modernize compiler version checksDavid Robillard1-2/+2
Avoids a warning on compilers where __GNUC__ is not defined.
2020-07-16Add missing extern declarationDavid Robillard1-0/+3
This avoids a clang warning about strict declarations.
2020-07-16Add missing static specifiersDavid Robillard1-6/+6
2020-07-16Remove unnecessary definesDavid Robillard2-4/+0
2020-07-16Split test suite up into several independent programsDavid Robillard24-2137/+2917
2020-07-16Clean up includesDavid Robillard1-2/+3
2020-07-16Automatically write prefixes to test filesDavid Robillard2-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-16Use standard assert for test expectationsDavid Robillard10-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-15Rewrite and separate common test facilitiesDavid Robillard3-414/+485
2020-01-18Delete all temporary state bundles saved by the test suiteDavid Robillard1-9/+35
2020-01-18Fix deleting state bundles loaded from the modelDavid Robillard1-30/+32
2019-12-08Implement state:freePath featureDavid Robillard2-22/+46
2019-10-17Fix Windows warningsDavid Robillard2-2/+3
2019-06-21Refuse to store state properties with null keysDavid Robillard1-0/+10
2019-06-21Refuse to store duplicate properties when saving plugin stateDavid Robillard1-0/+11
2019-04-21Fix building in a recursive projectDavid Robillard1-7/+7
2019-04-15Disable state unit tests on WindowsDavid Robillard1-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-15Use putenv instead of setenv in unit tests on WindowsDavid Robillard1-11/+26
This makes things work on Windows, because only putenv changes the environment of the current process.
2019-04-15Remove non-ASCII text from source codeDavid Robillard1-5/+5
This causes issues on Windows.
2019-04-15Fix mismatched malloc/free callsDavid Robillard1-8/+18
2019-04-14Use modern LV2 includesDavid Robillard13-19/+19
2019-04-14Fix Windows cross-library malloc/free errorsDavid Robillard1-2/+2
2019-04-14Fix test bundle URI on WindowsDavid Robillard1-2/+8
2019-04-14Make test suite self-containedDavid Robillard1-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-14Add skeleton core.lv2 bundle for testsDavid Robillard2-0/+39
2019-01-13Update copyright datesDavid Robillard14-14/+14
2019-01-13Clean up includesDavid Robillard21-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.
2019-01-13Actually run C++ bindings testDavid Robillard1-0/+2
There is still no actual testing in the binary, but this at least ensures the bindings can be used at all.
2019-01-11Use a clearer name for state directory and improve documentationDavid Robillard1-14/+14
2019-01-11Cleanup: Fix some long linesDavid Robillard1-7/+8
2018-09-15Improve test suite error reportingDavid Robillard1-7/+10
2018-09-15Fix test suiteDavid Robillard1-1/+1
2018-09-04Fix GCC8 warningsDavid Robillard2-9/+12
2018-07-10Fix Windows/MSVC buildDavid Robillard2-0/+7
2018-07-10Export symbol from missing descriptor pluginDavid Robillard1-0/+1
Libraries with no symbols at all can cause problems with MSVC
2017-12-29Use safe string functionsDavid Robillard2-17/+13
2017-12-29Use braces everywhereDavid Robillard1-19/+38
2017-12-16Compile check C++ APIDavid Robillard1-0/+23
2017-12-16Use mkstemp instead of tmpnamDavid Robillard1-13/+9
2016-09-26Fix comparison of restored states with pathsDavid Robillard1-3/+8
2016-09-18Fix memory, file, and library leaksDavid Robillard1-0/+4
2016-09-16Add lilv_world_get_symbol()David Robillard1-0/+48
2016-08-26Fix compilation with C++David Robillard2-3/+3
2016-08-01Use consistent feature test macrosDavid Robillard1-1/+1
2016-08-01Use consistent feature test macrosDavid Robillard1-1/+1
2016-07-24Add lilv_state_set_metadata()David Robillard1-0/+12
This allows setting useful metadata on a state description accessible to hosts but not plugins, such as pset:bank and rdfs:comment. Based on patch from Hanspeter Portner.
2016-07-14Improve test coverageDavid Robillard15-1/+561