summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-01-12 18:57:21 +0000
committerDavid Robillard <d@drobilla.net>2013-01-12 18:57:21 +0000
commitbb335dca695273622b7a4ebbefbe9e089edb9ab4 (patch)
tree8ad0f81bef55af71614b0b3d79a0009461fb0940 /tests
parent1630b3fd62c57e01468a03a9d4dde397f903ef37 (diff)
downloadingen-bb335dca695273622b7a4ebbefbe9e089edb9ab4.tar.gz
ingen-bb335dca695273622b7a4ebbefbe9e089edb9ab4.tar.bz2
ingen-bb335dca695273622b7a4ebbefbe9e089edb9ab4.zip
Update test suite for new URI style and patch extension changes.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4938 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'tests')
-rw-r--r--tests/connect_disconnect_node_node.ttl14
-rw-r--r--tests/connect_disconnect_node_patch.ttl14
-rw-r--r--tests/connect_disconnect_patch_patch.ttl14
-rw-r--r--tests/create_delete_node.ttl4
-rw-r--r--tests/create_delete_patch.ttl4
-rw-r--r--tests/create_delete_port.ttl4
-rw-r--r--tests/disconnect_all_node.ttl20
-rw-r--r--tests/get_engine.ttl2
-rw-r--r--tests/get_node.ttl4
-rw-r--r--tests/get_patch.ttl14
-rw-r--r--tests/get_plugins.ttl2
-rw-r--r--tests/get_port.ttl4
-rw-r--r--tests/move_node.ttl6
-rw-r--r--tests/move_port.ttl6
-rw-r--r--tests/poly.ttl16
-rw-r--r--tests/put_audio_in.ttl2
-rw-r--r--tests/set_patch_port_value.ttl9
17 files changed, 68 insertions, 71 deletions
diff --git a/tests/connect_disconnect_node_node.ttl b/tests/connect_disconnect_node_node.ttl
index a230f40e..33fe14c1 100644
--- a/tests/connect_disconnect_node_node.ttl
+++ b/tests/connect_disconnect_node_node.ttl
@@ -4,7 +4,7 @@
<msg0>
a patch:Put ;
- patch:subject <ingen:root/node1> ;
+ patch:subject <ingen:/root/node1> ;
patch:body [
a ingen:Block ;
ingen:prototype <http://drobilla.net/plugins/mda/Shepard>
@@ -12,7 +12,7 @@
<msg1>
a patch:Put ;
- patch:subject <ingen:root/node2> ;
+ patch:subject <ingen:/root/node2> ;
patch:body [
a ingen:Block ;
ingen:prototype <http://drobilla.net/plugins/mda/Shepard>
@@ -20,17 +20,17 @@
<msg2>
a patch:Put ;
- patch:subject <ingen:root/> ;
+ patch:subject <ingen:/root/> ;
patch:body [
a ingen:Arc ;
- ingen:tail <ingen:root/node1/left_out> ;
- ingen:head <ingen:root/node2/left_in>
+ ingen:tail <ingen:/root/node1/left_out> ;
+ ingen:head <ingen:/root/node2/left_in>
] .
<msg3>
a patch:Delete ;
patch:body [
a ingen:Arc ;
- ingen:tail <ingen:root/node1/left_out> ;
- ingen:head <ingen:root/node2/left_in>
+ ingen:tail <ingen:/root/node1/left_out> ;
+ ingen:head <ingen:/root/node2/left_in>
] .
diff --git a/tests/connect_disconnect_node_patch.ttl b/tests/connect_disconnect_node_patch.ttl
index b13e4685..642c71d3 100644
--- a/tests/connect_disconnect_node_patch.ttl
+++ b/tests/connect_disconnect_node_patch.ttl
@@ -4,7 +4,7 @@
<msg0>
a patch:Put ;
- patch:subject <ingen:root/node> ;
+ patch:subject <ingen:/root/node> ;
patch:body [
a ingen:Block ;
ingen:prototype <http://drobilla.net/plugins/mda/Shepard>
@@ -12,7 +12,7 @@
<msg1>
a patch:Put ;
- patch:subject <ingen:root/out> ;
+ patch:subject <ingen:/root/out> ;
patch:body [
a lv2:OutputPort ,
lv2:AudioPort
@@ -20,17 +20,17 @@
<msg2>
a patch:Put ;
- patch:subject <ingen:root/> ;
+ patch:subject <ingen:/root/> ;
patch:body [
a ingen:Arc ;
- ingen:tail <ingen:root/node/left_out> ;
- ingen:head <ingen:root/out>
+ ingen:tail <ingen:/root/node/left_out> ;
+ ingen:head <ingen:/root/out>
] .
<msg3>
a patch:Delete ;
patch:body [
a ingen:Arc ;
- ingen:tail <ingen:root/node/left_out> ;
- ingen:head <ingen:root/out>
+ ingen:tail <ingen:/root/node/left_out> ;
+ ingen:head <ingen:/root/out>
] .
diff --git a/tests/connect_disconnect_patch_patch.ttl b/tests/connect_disconnect_patch_patch.ttl
index 0ac0402a..4b349fc1 100644
--- a/tests/connect_disconnect_patch_patch.ttl
+++ b/tests/connect_disconnect_patch_patch.ttl
@@ -4,7 +4,7 @@
<msg0>
a patch:Put ;
- patch:subject <ingen:root/in> ;
+ patch:subject <ingen:/root/in> ;
patch:body [
a lv2:InputPort ,
lv2:AudioPort
@@ -12,7 +12,7 @@
<msg1>
a patch:Put ;
- patch:subject <ingen:root/out> ;
+ patch:subject <ingen:/root/out> ;
patch:body [
a lv2:InputPort ,
lv2:AudioPort
@@ -20,17 +20,17 @@
<msg2>
a patch:Put ;
- patch:subject <ingen:root/> ;
+ patch:subject <ingen:/root/> ;
patch:body [
a ingen:Arc ;
- ingen:tail <ingen:root/in> ;
- ingen:head <ingen:root/out>
+ ingen:tail <ingen:/root/in> ;
+ ingen:head <ingen:/root/out>
] .
<msg3>
a patch:Delete ;
patch:body [
a ingen:Arc ;
- ingen:tail <ingen:root/in> ;
- ingen:head <ingen:root/out>
+ ingen:tail <ingen:/root/in> ;
+ ingen:head <ingen:/root/out>
] .
diff --git a/tests/create_delete_node.ttl b/tests/create_delete_node.ttl
index 8993e44b..2f504687 100644
--- a/tests/create_delete_node.ttl
+++ b/tests/create_delete_node.ttl
@@ -4,7 +4,7 @@
<msg0>
a patch:Put ;
- patch:subject <ingen:root/node> ;
+ patch:subject <ingen:/root/node> ;
patch:body [
a ingen:Block ;
ingen:prototype <http://drobilla.net/plugins/mda/Shepard>
@@ -12,4 +12,4 @@
<msg1>
a patch:Delete ;
- patch:subject <ingen:root/node> .
+ patch:subject <ingen:/root/node> .
diff --git a/tests/create_delete_patch.ttl b/tests/create_delete_patch.ttl
index a3ef906c..474a15a2 100644
--- a/tests/create_delete_patch.ttl
+++ b/tests/create_delete_patch.ttl
@@ -4,11 +4,11 @@
<msg0>
a patch:Put ;
- patch:subject <ingen:root/sub> ;
+ patch:subject <ingen:/root/sub> ;
patch:body [
a ingen:Graph ;
] .
<msg1>
a patch:Delete ;
- patch:subject <ingen:root/sub> .
+ patch:subject <ingen:/root/sub> .
diff --git a/tests/create_delete_port.ttl b/tests/create_delete_port.ttl
index cd01b9b4..aea4868c 100644
--- a/tests/create_delete_port.ttl
+++ b/tests/create_delete_port.ttl
@@ -4,7 +4,7 @@
<msg0>
a patch:Put ;
- patch:subject <ingen:root/in> ;
+ patch:subject <ingen:/root/in> ;
patch:body [
a lv2:InputPort ,
lv2:AudioPort
@@ -12,4 +12,4 @@
<msg1>
a patch:Delete ;
- patch:subject <ingen:root/in> .
+ patch:subject <ingen:/root/in> .
diff --git a/tests/disconnect_all_node.ttl b/tests/disconnect_all_node.ttl
index 26e264d1..af4abbd2 100644
--- a/tests/disconnect_all_node.ttl
+++ b/tests/disconnect_all_node.ttl
@@ -4,7 +4,7 @@
<msg0>
a patch:Put ;
- patch:subject <ingen:root/node1> ;
+ patch:subject <ingen:/root/node1> ;
patch:body [
a ingen:Block ;
ingen:prototype <http://drobilla.net/plugins/mda/Shepard>
@@ -12,7 +12,7 @@
<msg1>
a patch:Put ;
- patch:subject <ingen:root/node2> ;
+ patch:subject <ingen:/root/node2> ;
patch:body [
a ingen:Block ;
ingen:prototype <http://drobilla.net/plugins/mda/Shepard>
@@ -20,26 +20,26 @@
<msg2>
a patch:Put ;
- patch:subject <ingen:root/> ;
+ patch:subject <ingen:/root/> ;
patch:body [
a ingen:Arc ;
- ingen:tail <ingen:root/node1/left_out> ;
- ingen:head <ingen:root/node2/left_in>
+ ingen:tail <ingen:/root/node1/left_out> ;
+ ingen:head <ingen:/root/node2/left_in>
] .
<msg3>
a patch:Put ;
- patch:subject <ingen:root/> ;
+ patch:subject <ingen:/root/> ;
patch:body [
a ingen:Arc ;
- ingen:tail <ingen:root/node1/right_out> ;
- ingen:head <ingen:root/node2/right_in>
+ ingen:tail <ingen:/root/node1/right_out> ;
+ ingen:head <ingen:/root/node2/right_in>
] .
<msg4>
a patch:Delete ;
- patch:subject <ingen:root/> ;
+ patch:subject <ingen:/root/> ;
patch:body [
a ingen:Arc ;
- ingen:incidentTo <ingen:root/node1>
+ ingen:incidentTo <ingen:/root/node1>
] .
diff --git a/tests/get_engine.ttl b/tests/get_engine.ttl
index f1be242c..adfa6a01 100644
--- a/tests/get_engine.ttl
+++ b/tests/get_engine.ttl
@@ -4,4 +4,4 @@
<msg0>
a patch:Get ;
- patch:subject <ingen:engine> .
+ patch:subject <ingen:/engine> .
diff --git a/tests/get_node.ttl b/tests/get_node.ttl
index 44ca1641..feb68074 100644
--- a/tests/get_node.ttl
+++ b/tests/get_node.ttl
@@ -4,7 +4,7 @@
<msg0>
a patch:Put ;
- patch:subject <ingen:root/node> ;
+ patch:subject <ingen:/root/node> ;
patch:body [
a ingen:Block ;
ingen:prototype <http://drobilla.net/plugins/mda/Shepard>
@@ -12,4 +12,4 @@
<msg1>
a patch:Get ;
- patch:subject <ingen:root/node> .
+ patch:subject <ingen:/root/node> .
diff --git a/tests/get_patch.ttl b/tests/get_patch.ttl
index 4652777d..c9ba6c3c 100644
--- a/tests/get_patch.ttl
+++ b/tests/get_patch.ttl
@@ -4,14 +4,14 @@
<msg0>
a patch:Put ;
- patch:subject <ingen:root/sub> ;
+ patch:subject <ingen:/root/sub> ;
patch:body [
a ingen:Graph
] .
<msg1>
a patch:Put ;
- patch:subject <ingen:root/sub/node1> ;
+ patch:subject <ingen:/root/sub/node1> ;
patch:body [
a ingen:Block ;
ingen:prototype <http://drobilla.net/plugins/mda/Shepard>
@@ -19,7 +19,7 @@
<msg2>
a patch:Put ;
- patch:subject <ingen:root/sub/node2> ;
+ patch:subject <ingen:/root/sub/node2> ;
patch:body [
a ingen:Block ;
ingen:prototype <http://drobilla.net/plugins/mda/Combo>
@@ -27,13 +27,13 @@
<msg3>
a patch:Put ;
- patch:subject <ingen:root/> ;
+ patch:subject <ingen:/root/> ;
patch:body [
a ingen:Arc ;
- ingen:tail <ingen:root/sub/node1/left_out> ;
- ingen:head <ingen:root/sub/node2/left_in>
+ ingen:tail <ingen:/root/sub/node1/left_out> ;
+ ingen:head <ingen:/root/sub/node2/left_in>
] .
<msg4>
a patch:Get ;
- patch:subject <ingen:root/> .
+ patch:subject <ingen:/root/> .
diff --git a/tests/get_plugins.ttl b/tests/get_plugins.ttl
index 37b65127..8dc91cdf 100644
--- a/tests/get_plugins.ttl
+++ b/tests/get_plugins.ttl
@@ -4,4 +4,4 @@
<msg0>
a patch:Get ;
- patch:subject <ingen:plugins> .
+ patch:subject <ingen:/plugins> .
diff --git a/tests/get_port.ttl b/tests/get_port.ttl
index da371f0b..079000f6 100644
--- a/tests/get_port.ttl
+++ b/tests/get_port.ttl
@@ -4,7 +4,7 @@
<msg0>
a patch:Put ;
- patch:subject <ingen:root/in> ;
+ patch:subject <ingen:/root/in> ;
patch:body [
a lv2:InputPort ,
lv2:AudioPort
@@ -12,4 +12,4 @@
<msg1>
a patch:Get ;
- patch:subject <ingen:root/in> .
+ patch:subject <ingen:/root/in> .
diff --git a/tests/move_node.ttl b/tests/move_node.ttl
index 8135b4a5..667f0754 100644
--- a/tests/move_node.ttl
+++ b/tests/move_node.ttl
@@ -4,7 +4,7 @@
<msg0>
a patch:Put ;
- patch:subject <ingen:root/node> ;
+ patch:subject <ingen:/root/node> ;
patch:body [
a ingen:Block ;
ingen:prototype <http://drobilla.net/plugins/mda/Shepard>
@@ -12,5 +12,5 @@
<msg1>
a patch:Move ;
- patch:subject <ingen:root/node> ;
- patch:destination <ingen:root/tone> .
+ patch:subject <ingen:/root/node> ;
+ patch:destination <ingen:/root/tone> .
diff --git a/tests/move_port.ttl b/tests/move_port.ttl
index f8f96120..bf0636cb 100644
--- a/tests/move_port.ttl
+++ b/tests/move_port.ttl
@@ -4,7 +4,7 @@
<msg0>
a patch:Put ;
- patch:subject <ingen:root/in> ;
+ patch:subject <ingen:/root/in> ;
patch:body [
a lv2:InputPort ,
lv2:AudioPort
@@ -12,5 +12,5 @@
<msg1>
a patch:Move ;
- patch:subject <ingen:root/in> ;
- patch:destination <ingen:root/input> .
+ patch:subject <ingen:/root/in> ;
+ patch:destination <ingen:/root/input> .
diff --git a/tests/poly.ttl b/tests/poly.ttl
index fc40bbc9..6235dfa9 100644
--- a/tests/poly.ttl
+++ b/tests/poly.ttl
@@ -4,7 +4,7 @@
<msg0>
a patch:Put ;
- patch:subject <ingen:root/node> ;
+ patch:subject <ingen:/root/node> ;
patch:body [
a ingen:Block ;
ingen:prototype <http://drobilla.net/plugins/mda/Shepard>
@@ -12,14 +12,12 @@
<msg1>
a patch:Set ;
- patch:subject <ingen:root/> ;
- patch:body [
- ingen:polyphony 4
- ] .
+ patch:subject <ingen:/root/> ;
+ patch:property ingen:polyphony ;
+ patch:value 4 .
<msg2>
a patch:Set ;
- patch:subject <ingen:root/node> ;
- patch:body [
- ingen:polyphonic true
- ] .
+ patch:subject <ingen:/root/node> ;
+ patch:property ingen:polyphonic ;
+ patch:value true . \ No newline at end of file
diff --git a/tests/put_audio_in.ttl b/tests/put_audio_in.ttl
index 432aa859..fb0cd7d6 100644
--- a/tests/put_audio_in.ttl
+++ b/tests/put_audio_in.ttl
@@ -3,7 +3,7 @@
<msg0>
a patch:Put ;
- patch:subject <ingen:root/in> ;
+ patch:subject <ingen:/root/in> ;
patch:body [
a lv2:InputPort ,
lv2:AudioPort
diff --git a/tests/set_patch_port_value.ttl b/tests/set_patch_port_value.ttl
index a5b40258..507f72d4 100644
--- a/tests/set_patch_port_value.ttl
+++ b/tests/set_patch_port_value.ttl
@@ -4,7 +4,7 @@
<msg0>
a patch:Put ;
- patch:subject <ingen:root/in> ;
+ patch:subject <ingen:/root/in> ;
patch:body [
a lv2:InputPort ,
lv2:ControlPort
@@ -12,7 +12,6 @@
<msg1>
a patch:Set ;
- patch:subject <ingen:root/in> ;
- patch:body [
- ingen:value 0.5
- ] .
+ patch:subject <ingen:/root/in> ;
+ patch:property ingen:value ;
+ patch:value 0.5 . \ No newline at end of file