summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-02-28 18:13:00 +0000
committerDavid Robillard <d@drobilla.net>2012-02-28 18:13:00 +0000
commitfd8ecd85b21e104e669017a04076a60162420a53 (patch)
tree9132fd8c68dd44a1ba9906b44ca5a545f35fbd0c /test
parentd175e2de6d3b51dfa1af5ea95bdad6e8c97df795 (diff)
downloadlilv-fd8ecd85b21e104e669017a04076a60162420a53.tar.gz
lilv-fd8ecd85b21e104e669017a04076a60162420a53.tar.bz2
lilv-fd8ecd85b21e104e669017a04076a60162420a53.zip
Update for latest lv2core.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4004 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'test')
-rw-r--r--test/lilv_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/lilv_test.c b/test/lilv_test.c
index b73d9e6..7b9c175 100644
--- a/test/lilv_test.c
+++ b/test/lilv_test.c
@@ -545,7 +545,7 @@ test_plugin(void)
" a lv2:ControlPort ; a lv2:OutputPort ; "
" lv2:index 2 ; lv2:symbol \"latency\" ; lv2:name \"Latency\" ; "
" lv2:portProperty lv2:reportsLatency ; "
- " lv2:relation lv2:latency "
+ " lv2:isParameter lv2:latency "
"] . \n"
":thing doap:name \"Something else\" .\n"))
return 0;
@@ -615,8 +615,8 @@ test_plugin(void)
LilvNode* lv2_latency = lilv_new_uri(world,
"http://lv2plug.in/ns/lv2core#latency");
- LilvPort* latency_port = lilv_plugin_get_port_by_relation(
- plug, lv2_latency);
+ LilvPort* latency_port = lilv_plugin_get_port_by_parameter(
+ plug, out_class, lv2_latency);
TEST_ASSERT(latency_port);
TEST_ASSERT(lilv_port_get_index(plug, latency_port) == 2);