summaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2012-01-03100% coverage for query.c.David Robillard1-6/+37
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3909 a436a847-0d15-0410-975c-d299462d15a1
2011-12-30Support arbitrary binary data in plugin state via base64 encoding.David Robillard4-0/+436
Unit testing for plugin instantiation and state. Build without LV2 state available. Support URID values in plugin state nicely. Fix various holes in state implementation exposed by tests. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3908 a436a847-0d15-0410-975c-d299462d15a1
2011-12-09Fix memory leak in test program.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3844 a436a847-0d15-0410-975c-d299462d15a1
2011-11-11Add lilv_plugin_has_extension_data.David Robillard1-0/+11
Add tests for extension data functions. Tolerate (ignore) plugins with broken data with "gaps" in port indices. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3611 a436a847-0d15-0410-975c-d299462d15a1
2011-11-11Make scale point test tolerate different results orders.David Robillard1-4/+12
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3610 a436a847-0d15-0410-975c-d299462d15a1
2011-11-11Add feature test macro required for setenv.David Robillard1-0/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3609 a436a847-0d15-0410-975c-d299462d15a1
2011-11-07Remove use of non-portable _XOPEN_SOURCE and strdup.David Robillard1-2/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3604 a436a847-0d15-0410-975c-d299462d15a1
2011-09-29Create ~/.lv2 if necessaryDavid Robillard1-1/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3509 a436a847-0d15-0410-975c-d299462d15a1
2011-09-28Improve test coverage.David Robillard1-0/+28
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3504 a436a847-0d15-0410-975c-d299462d15a1
2011-05-11Update license of lilv_text.c (with permission from kfoltman).David Robillard1-18/+16
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3254 a436a847-0d15-0410-975c-d299462d15a1
2011-05-03Replace lilv_plugin_get_value_for_subject with lilv_world_find_nodes.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3247 a436a847-0d15-0410-975c-d299462d15a1
2011-04-29Tidy.David Robillard1-19/+19
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3238 a436a847-0d15-0410-975c-d299462d15a1
2011-04-29LilvValue => LilvNode.David Robillard1-261/+261
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3234 a436a847-0d15-0410-975c-d299462d15a1
2011-04-29Fix unit test.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3231 a436a847-0d15-0410-975c-d299462d15a1
2011-04-29Terser names for value constructors.David Robillard1-49/+49
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3223 a436a847-0d15-0410-975c-d299462d15a1
2011-04-29Don't hide pointers behind typedefs.David Robillard1-111/+112
Use const appropriately in API (makes it clear from the type whether objects should be freed or not). git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3222 a436a847-0d15-0410-975c-d299462d15a1
2011-04-28Rename slv2 to lilv.David Robillard2-976/+970
API breakage was proving too much of a hassle, and would be even further of a mess after release and packaging. Best to make a clean break now, and fix installation to support parallel installs and prevent this kind of problem in the future. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3217 a436a847-0d15-0410-975c-d299462d15a1
2011-04-28More future-proof collection APIs.David Robillard1-19/+0
Make all iterator actions occur through a collection specific function. Verbose, and a low of API, but allows for the possibility of different collection implementation types (given a choice between verbosity and no type safety, I'll take verbosity). git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3211 a436a847-0d15-0410-975c-d299462d15a1
2011-04-16Update copyright headersDavid Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3153 a436a847-0d15-0410-975c-d299462d15a1
2011-04-16Squeeze blank lines and delete trailing whitespace.David Robillard1-2/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3152 a436a847-0d15-0410-975c-d299462d15a1
2011-03-09New collections and iterator API.David Robillard1-84/+17
Deprecate slv2_*_get_at. Remove slv2_world_get_plugins_by_filter. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3057 a436a847-0d15-0410-975c-d299462d15a1
2011-03-07Don't run plugin test twice.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3051 a436a847-0d15-0410-975c-d299462d15a1
2011-02-24Move UI stuff back into slv2.h (avoid breakage).David Robillard1-9/+0
Deprecate slv2_ui_instance_get_descriptor and slv2_ui_instance_get_handle. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3020 a436a847-0d15-0410-975c-d299462d15a1
2011-02-19Remove bogus noisy test case.David Robillard1-2/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2998 a436a847-0d15-0410-975c-d299462d15a1
2011-02-12Make UI support a compile-time option, and separate UI functions into slv2/ui.h.David Robillard1-1/+11
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2930 a436a847-0d15-0410-975c-d299462d15a1
2011-02-11Add support for boolean values.David Robillard1-4/+26
Replace slv2_world_filter_language with extensible option system (slv2_world_set_option). git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2923 a436a847-0d15-0410-975c-d299462d15a1
2011-02-11Better, tested, i18n system.David Robillard1-7/+44
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2916 a436a847-0d15-0410-975c-d299462d15a1
2011-02-04Drop librdf in favour of serd/sord.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2895 a436a847-0d15-0410-975c-d299462d15a1
2011-01-31Fix memory leaks.David Robillard1-3/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2887 a436a847-0d15-0410-975c-d299462d15a1
2011-01-30Remove all use of, and API support for, SPARQL.David Robillard1-19/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2875 a436a847-0d15-0410-975c-d299462d15a1
2011-01-30Fix erroneous test case (first port does have one property in this case: ↵David Robillard1-1/+1
lv2:integer). git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2865 a436a847-0d15-0410-975c-d299462d15a1
2010-10-16Use #include <redland.h> over #include <librdf.h> (since redland 1.0.11 ↵David Robillard1-1/+1
broke this). git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2628 a436a847-0d15-0410-975c-d299462d15a1
2010-09-04My name is David. :)David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2590 a436a847-0d15-0410-975c-d299462d15a1
2010-01-07Move unit testing and coverage framework into autowaf.David Robillard3-36/+2
Make raul tests return 0 on success, 1 on failure. Test coverage for Raul. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2368 a436a847-0d15-0410-975c-d299462d15a1
2009-11-09lv2:hardRtCapable -> lv2:hardRTCapable. Oops.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2245 a436a847-0d15-0410-975c-d299462d15a1
2009-06-03Kludge around broken raptor_sequence_set_at.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2089 a436a847-0d15-0410-975c-d299462d15a1
2009-05-13Update copyright dates.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2000 a436a847-0d15-0410-975c-d299462d15a1
2009-05-13Strip trailing whitespace.David Robillard1-32/+32
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1999 a436a847-0d15-0410-975c-d299462d15a1
2009-05-04Strip trailing whitespace from waf scripts.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1962 a436a847-0d15-0410-975c-d299462d15a1
2009-03-30Fix memory leaks.David Robillard2-7/+9
Document ownership semantics of query value accessors. Fix test ccflags for new waf. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1951 a436a847-0d15-0410-975c-d299462d15a1
2009-03-21Test cases for query API.David Robillard1-1/+12
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1949 a436a847-0d15-0410-975c-d299462d15a1
2009-02-14Remove dead code.David Robillard1-47/+16
Test coverage. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1935 a436a847-0d15-0410-975c-d299462d15a1
2009-02-12Fix memory leaks.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1927 a436a847-0d15-0410-975c-d299462d15a1
2009-01-21Add slv2_plugin_classes_free to public API (fix ticket #324).David Robillard1-7/+36
Fix memory leak in slv2_plugin_get_port_float_values. Fix memory leak in slv2_plugin_get_supported_features. Fix memory leak in slv2_port_has_property. Fix several memory leaks in slv2_test program. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1921 a436a847-0d15-0410-975c-d299462d15a1
2008-12-20Fix TEST_ASSERT macro trailing semicolon stuff.David Robillard1-10/+10
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1873 a436a847-0d15-0410-975c-d299462d15a1
2008-12-13Test querying for float values.David Robillard1-3/+14
Fix slv2_plugin_get_value_for_subject test. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1868 a436a847-0d15-0410-975c-d299462d15a1
2008-12-13Test (and fix) slv2_plugin_get_value_for_subject: 94.3% coverageDavid Robillard1-1/+10
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1867 a436a847-0d15-0410-975c-d299462d15a1
2008-12-13Complete test coverage for UI stuff: 93.5% coverageDavid Robillard1-6/+109
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1866 a436a847-0d15-0410-975c-d299462d15a1
2008-12-13Test author information stuff: 86.2% coverageDavid Robillard1-2/+22
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1865 a436a847-0d15-0410-975c-d299462d15a1
2008-12-13Test port lookup by symbol using new value constructors: 83.4% coverage.David Robillard1-3/+4
Replace warnings about ORDER BY being broken with fatal errors - it's catastropic anyway. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1864 a436a847-0d15-0410-975c-d299462d15a1