From 2b2f150447c2d3bde17cbe5d95b9902b7ef6e040 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 3 May 2011 05:31:23 +0000 Subject: Replace lilv_plugin_get_value_for_subject with lilv_world_find_nodes. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3247 a436a847-0d15-0410-975c-d299462d15a1 --- test/lilv_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/lilv_test.c b/test/lilv_test.c index ade2c23..6ad2998 100644 --- a/test/lilv_test.c +++ b/test/lilv_test.c @@ -467,7 +467,7 @@ test_plugin(void) PLUGIN_NAME("Test plugin") " ; " LICENSE_GPL " ; " "lv2:optionalFeature lv2:hardRTCapable ; " - "lv2:requiredFeature ; " + "lv2:requiredFeature ; " ":foo 1.6180 ; " ":bar true ; " ":baz false ; " @@ -612,7 +612,7 @@ test_plugin(void) LilvNode* thing_uri = lilv_new_uri(world, "http://example.org/thing"); LilvNode* name_p = lilv_new_uri(world, "http://usefulinc.com/ns/doap#name"); - LilvNodes* thing_names = lilv_plugin_get_value_for_subject(plug, thing_uri, name_p); + LilvNodes* thing_names = lilv_world_find_nodes(world, thing_uri, name_p, NULL); TEST_ASSERT(lilv_nodes_size(thing_names) == 1); LilvNode* thing_name = lilv_nodes_get_first(thing_names); TEST_ASSERT(thing_name); -- cgit v1.2.1