summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-08 17:33:50 +0000
committerDavid Robillard <d@drobilla.net>2012-03-08 17:33:50 +0000
commita442a47f3a6265de156ad278760f50438cbdde64 (patch)
tree5f0787cd590c9ef978b4b6e879de11d46a5153e3 /test
parentc89a62e1c8b399a8ecb753e5e14efc33e64bc971 (diff)
downloadlilv-a442a47f3a6265de156ad278760f50438cbdde64.tar.gz
lilv-a442a47f3a6265de156ad278760f50438cbdde64.tar.bz2
lilv-a442a47f3a6265de156ad278760f50438cbdde64.zip
serd_node_new_uri_from_path => serd_node_new_file_uri.
Tidy. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4031 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'test')
-rw-r--r--test/lilv_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lilv_test.c b/test/lilv_test.c
index 6d5ba9d..5e2c54a 100644
--- a/test/lilv_test.c
+++ b/test/lilv_test.c
@@ -1156,7 +1156,7 @@ int
test_state(void)
{
uint8_t* abs_bundle = (uint8_t*)lilv_path_absolute(LILV_TEST_BUNDLE);
- SerdNode bundle = serd_node_new_uri_from_path(abs_bundle, 0, 0);
+ SerdNode bundle = serd_node_new_file_uri(abs_bundle, 0, 0);
LilvWorld* world = lilv_world_new();
LilvNode* bundle_uri = lilv_new_uri(world, (const char*)bundle.buf);
LilvNode* plugin_uri = lilv_new_uri(world,
@@ -1272,7 +1272,7 @@ test_state(void)
// Load default bundle into world and load state from it
uint8_t* state6_path = (uint8_t*)lilv_path_absolute("state6.lv2/");
- SerdNode state6_uri = serd_node_new_uri_from_path(state6_path, 0, 0);
+ SerdNode state6_uri = serd_node_new_file_uri(state6_path, 0, 0);
LilvNode* test_state_bundle = lilv_new_uri(world, (const char*)state6_uri.buf);
LilvNode* test_state_node = lilv_new_uri(world, state_uri);
lilv_world_load_bundle(world, test_state_bundle);