diff options
author | David Robillard <d@drobilla.net> | 2008-12-13 03:26:40 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-12-13 03:26:40 +0000 |
commit | 849ac6ea00db174befce4272d93bb20957fc0e7e (patch) | |
tree | b674ff76ecdfba2268ba3eb1759b4659a52d1a46 /src | |
parent | 4fbb20211e3d6db1e0ba9ea50c56be1e95184ced (diff) | |
download | lilv-849ac6ea00db174befce4272d93bb20957fc0e7e.tar.gz lilv-849ac6ea00db174befce4272d93bb20957fc0e7e.tar.bz2 lilv-849ac6ea00db174befce4272d93bb20957fc0e7e.zip |
More test cases (plugin stuff): 69.3% coverage
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1856 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/plugin.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/plugin.c b/src/plugin.c index 7a9b32e..b9bc9b2 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -636,7 +636,7 @@ slv2_plugin_has_latency(SLV2Plugin p) "SELECT ?index WHERE {\n" " <> lv2:port ?port .\n" " ?port lv2:portProperty lv2:reportsLatency ;\n" - " lv2:index ?index .\n" + " lv2:index ?index .\n" "}\n"; SLV2Values results = slv2_plugin_query_variable(p, query, 0); @@ -654,7 +654,7 @@ slv2_plugin_get_latency_port_index(SLV2Plugin p) "SELECT ?index WHERE {\n" " <> lv2:port ?port .\n" " ?port lv2:portProperty lv2:reportsLatency ;\n" - " lv2:index ?index .\n" + " lv2:index ?index .\n" "}\n"; SLV2Values result = slv2_plugin_query_variable(p, query, 0); @@ -684,16 +684,6 @@ slv2_plugin_has_feature(SLV2Plugin p, SLV2Values slv2_plugin_get_supported_features(SLV2Plugin p) { - /* Work around broken UNION in Redland :( */ - /*const char* const query = - "SELECT DISTINCT ?feature WHERE {\n" - " { <> lv2:optionalFeature ?feature }\n" - " UNION\n" - " { <> lv2:requiredFeature ?feature }\n" - "}\n"; - - SLV2Values result = slv2_plugin_query_variable(p, query, 0);*/ - SLV2Values optional = slv2_plugin_get_optional_features(p); SLV2Values required = slv2_plugin_get_required_features(p); |