diff options
author | David Robillard <d@drobilla.net> | 2011-01-30 21:40:26 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-01-30 21:40:26 +0000 |
commit | d2ca87e3f2b8e38222f9c2a9f3235e4d270528c7 (patch) | |
tree | a123a427159fe57f90d00d9d846b24b7e7f283e8 /test/slv2_test.c | |
parent | 23ef7a21c277ba5e864748d8e61ff3e20054758f (diff) | |
download | lilv-d2ca87e3f2b8e38222f9c2a9f3235e4d270528c7.tar.gz lilv-d2ca87e3f2b8e38222f9c2a9f3235e4d270528c7.tar.bz2 lilv-d2ca87e3f2b8e38222f9c2a9f3235e4d270528c7.zip |
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
Diffstat (limited to 'test/slv2_test.c')
-rw-r--r-- | test/slv2_test.c | 19 |
1 files changed, 0 insertions, 19 deletions
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); |