From 849ac6ea00db174befce4272d93bb20957fc0e7e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 13 Dec 2008 03:26:40 +0000 Subject: More test cases (plugin stuff): 69.3% coverage git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1856 a436a847-0d15-0410-975c-d299462d15a1 --- src/plugin.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'src') 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); -- cgit v1.2.1