From d2ca87e3f2b8e38222f9c2a9f3235e4d270528c7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 30 Jan 2011 21:40:26 +0000 Subject: Remove all use of, and API support for, SPARQL. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2875 a436a847-0d15-0410-975c-d299462d15a1 --- test/slv2_test.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'test') diff --git a/test/slv2_test.c b/test/slv2_test.c index 3d30327..aafb3dd 100644 --- a/test/slv2_test.c +++ b/test/slv2_test.c @@ -693,19 +693,6 @@ test_plugin() SLV2UIs uis = slv2_plugin_get_uis(plug); TEST_ASSERT(slv2_uis_size(uis) == 0); - SLV2Results results = slv2_plugin_query_sparql(plug, -"SELECT ?name WHERE { <> doap:maintainer [ foaf:name ?name ] }"); - TEST_ASSERT(!slv2_results_finished(results)); - TEST_ASSERT(!strcmp(slv2_results_get_binding_name(results, 0), "name")); - SLV2Value val = slv2_results_get_binding_value(results, 0); - TEST_ASSERT(!strcmp(slv2_value_as_string(val), "David Robillard")); - slv2_value_free(val); - val = slv2_results_get_binding_value_by_name(results, "name"); - TEST_ASSERT(!strcmp(slv2_value_as_string(val), "David Robillard")); - slv2_value_free(val); - - slv2_results_free(results); - slv2_uis_free(uis); slv2_values_free(thing_names); slv2_value_free(thing_uri); @@ -806,12 +793,6 @@ test_port() TEST_ASSERT(!strcmp(slv2_value_as_string(slv2_values_get_at(homepages, 0)), "http://example.org/someplug")); - TEST_ASSERT(slv2_plugin_query_count(plug, "SELECT DISTINCT ?bin WHERE {\n" - "<> lv2:binary ?bin . }") == 1); - - TEST_ASSERT(slv2_plugin_query_count(plug, "SELECT DISTINCT ?parent WHERE {\n" - "<> rdfs:subClassOf ?parent . }") == 0); - SLV2Value min, max, def; slv2_port_get_range(plug, p, &def, &min, &max); TEST_ASSERT(def); -- cgit v1.2.1