summaryrefslogtreecommitdiffstats
path: root/test/lilv_test.c
AgeCommit message (Collapse)AuthorFilesLines
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 Robillard1-1/+11
2019-10-17Fix Windows warningsDavid Robillard1-1/+2
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-14Use modern LV2 includesDavid Robillard1-4/+4
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-01-13Update copyright datesDavid Robillard1-1/+1
2019-01-13Clean up includesDavid Robillard1-13/+15
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-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 Robillard1-8/+11
2018-07-10Fix Windows/MSVC buildDavid Robillard1-0/+2
2017-12-29Use safe string functionsDavid Robillard1-16/+12
2017-12-29Use braces everywhereDavid Robillard1-19/+38
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 Robillard1-2/+2
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 Robillard1-0/+40
2016-07-12Improve test coverageDavid Robillard1-0/+1
2016-07-11Fully reset plugin struct when plugin is reloadedDavid Robillard1-4/+37
This fixes a bug where, for example, after re-loading a plugin from a different bundle, the LilvPlugin would still report the old bundle. Also never replace a newer version with an older version when a bundle is loaded. Ignores the entire bundle if an older plugin than one loaded is found. This is tricky because the unit of loading/unloading is a bundle, and the unit of versioning is a plugin, but since having data from an old bundle still loaded seems like a bad idea, this seems like the most correct behaviour.
2016-07-11Improve test coverageDavid Robillard1-1/+21
2016-07-10Test versioned plugin replacementDavid Robillard1-0/+49
2016-07-10Test lilv_node_as_float on non-numeric nodesDavid Robillard1-0/+1
2015-11-07Remove unloaded plugins from world plugin listDavid Robillard1-3/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5810 a436a847-0d15-0410-975c-d299462d15a1
2015-10-29Support reloading bundlesDavid Robillard1-2/+69
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5797 a436a847-0d15-0410-975c-d299462d15a1
2015-10-08Improve test coverageDavid Robillard1-0/+11
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5754 a436a847-0d15-0410-975c-d299462d15a1
2015-10-08Fix memory leaks in test suiteDavid Robillard1-0/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5753 a436a847-0d15-0410-975c-d299462d15a1
2015-10-04Improve test coverageDavid Robillard1-1/+58
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5742 a436a847-0d15-0410-975c-d299462d15a1
2015-08-14Add lilv_free() for systems picky about such things.David Robillard1-5/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5706 a436a847-0d15-0410-975c-d299462d15a1
2015-03-07Add support for state deletion.David Robillard1-0/+15
Add lilv_node_get_path(). Add lilv_state_get_uri(). Add lilv_state_delete(). Fix creation of duplicate manifest entries when saving state. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5617 a436a847-0d15-0410-975c-d299462d15a1
2015-01-29Add lilv_file_uri_parse() for correct URI to path conversion.David Robillard1-12/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5528 a436a847-0d15-0410-975c-d299462d15a1
2014-09-24Fixes for new sord.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5465 a436a847-0d15-0410-975c-d299462d15a1
2014-07-15Add lilv_world_unload_bundle() and lilv_world_unload_resource().David Robillard1-2/+14
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5413 a436a847-0d15-0410-975c-d299462d15a1
2014-07-12Fix issues with lilv_plugin_get_author_name and friends (thanks Filipe ↵David Robillard1-3/+259
Coelho) (fix #976). Improve test coverage. Fix several minor memory leaks. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5406 a436a847-0d15-0410-975c-d299462d15a1
2014-05-20Fix test suite memory leaks.David Robillard1-0/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5404 a436a847-0d15-0410-975c-d299462d15a1
2014-05-05Fix use of lv2info -m and -p options to write plugin data.David Robillard1-0/+10
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5401 a436a847-0d15-0410-975c-d299462d15a1
2014-01-17Fix minor memory leak in test suite.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5313 a436a847-0d15-0410-975c-d299462d15a1
2013-12-30Clean up after test suite so multiple runs are successful.David Robillard1-15/+15
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5226 a436a847-0d15-0410-975c-d299462d15a1
2013-12-25Fix some const-correctness violations.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5194 a436a847-0d15-0410-975c-d299462d15a1