diff options
author | David Robillard <d@drobilla.net> | 2015-05-25 09:12:44 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-05-25 09:12:44 +0000 |
commit | ccb7d738d37fb21245a563cd41727f2609f0bc07 (patch) | |
tree | f13f750311b3b768b87b6dd64b47cd82584a6262 /tests | |
parent | 4f00b8a2ae7148b3a13fd6af0e79eb9b6abf5634 (diff) | |
download | ingen-ccb7d738d37fb21245a563cd41727f2609f0bc07.tar.gz ingen-ccb7d738d37fb21245a563cd41727f2609f0bc07.tar.bz2 ingen-ccb7d738d37fb21245a563cd41727f2609f0bc07.zip |
Use ingen:/ as base URI on the wire.
This allows referring to non-graph items, which are converted to
bundle-relative URIs on save, resolving issue #1049.
Change root graph URI to ingen:/graph.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5687 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'tests')
-rw-r--r-- | tests/connect_disconnect_node_node.ttl | 14 | ||||
-rw-r--r-- | tests/connect_disconnect_node_patch.ttl | 44 | ||||
-rw-r--r-- | tests/connect_disconnect_patch_patch.ttl | 14 | ||||
-rw-r--r-- | tests/create_delete_node.ttl | 4 | ||||
-rw-r--r-- | tests/create_delete_patch.ttl | 4 | ||||
-rw-r--r-- | tests/create_delete_poly_patch.ttl | 4 | ||||
-rw-r--r-- | tests/create_delete_port.ttl | 16 | ||||
-rw-r--r-- | tests/disconnect_all_node.ttl | 20 | ||||
-rw-r--r-- | tests/enable_graph.ttl | 4 | ||||
-rw-r--r-- | tests/get_node.ttl | 4 | ||||
-rw-r--r-- | tests/get_patch.ttl | 14 | ||||
-rw-r--r-- | tests/get_port.ttl | 4 | ||||
-rw-r--r-- | tests/move_node.ttl | 6 | ||||
-rw-r--r-- | tests/move_port.ttl | 6 | ||||
-rw-r--r-- | tests/move_root_port.ttl | 8 | ||||
-rw-r--r-- | tests/poly.ttl | 6 | ||||
-rw-r--r-- | tests/put_audio_in.ttl | 2 | ||||
-rw-r--r-- | tests/set_graph_poly.ttl | 4 | ||||
-rw-r--r-- | tests/set_patch_port_value.ttl | 4 |
19 files changed, 91 insertions, 91 deletions
diff --git a/tests/connect_disconnect_node_node.ttl b/tests/connect_disconnect_node_node.ttl index 9bf91ec8..d5a8084d 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:/graph/node1> ; patch:body [ a ingen:Block ; lv2:prototype <http://drobilla.net/plugins/mda/Shepard> @@ -12,7 +12,7 @@ <msg1> a patch:Put ; - patch:subject <ingen:/root/node2> ; + patch:subject <ingen:/graph/node2> ; patch:body [ a ingen:Block ; lv2:prototype <http://drobilla.net/plugins/mda/Shepard> @@ -20,17 +20,17 @@ <msg2> a patch:Put ; - patch:subject <ingen:/root/> ; + patch:subject <ingen:/graph/> ; patch:body [ a ingen:Arc ; - ingen:tail <ingen:/root/node1/left_out> ; - ingen:head <ingen:/root/node2/left_in> + ingen:tail <ingen:/graph/node1/left_out> ; + ingen:head <ingen:/graph/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:/graph/node1/left_out> ; + ingen:head <ingen:/graph/node2/left_in> ] . diff --git a/tests/connect_disconnect_node_patch.ttl b/tests/connect_disconnect_node_patch.ttl index 0c740fe8..c87dca2f 100644 --- a/tests/connect_disconnect_node_patch.ttl +++ b/tests/connect_disconnect_node_patch.ttl @@ -5,7 +5,7 @@ <msg0> a patch:Put ; - patch:subject <ingen:/root/amp> ; + patch:subject <ingen:/graph/amp> ; patch:body [ a ingen:Block ; lv2:prototype <http://lv2plug.in/plugins/eg-amp> @@ -13,7 +13,7 @@ <msg1> a patch:Put ; - patch:subject <ingen:/root/sampler> ; + patch:subject <ingen:/graph/sampler> ; patch:body [ a ingen:Block ; lv2:prototype <http://lv2plug.in/plugins/eg-sampler> @@ -21,7 +21,7 @@ <msg2> a patch:Put ; - patch:subject <ingen:/root/out> ; + patch:subject <ingen:/graph/out> ; patch:body [ a lv2:OutputPort , lv2:AudioPort @@ -29,7 +29,7 @@ <msg3> a patch:Put ; - patch:subject <ingen:/root/in> ; + patch:subject <ingen:/graph/in> ; patch:body [ a lv2:InputPort , lv2:AudioPort @@ -37,7 +37,7 @@ <msg4> a patch:Put ; - patch:subject <ingen:/root/control> ; + patch:subject <ingen:/graph/control> ; patch:body [ a lv2:InputPort , atom:AtomPort ; @@ -46,7 +46,7 @@ <msg5> a patch:Put ; - patch:subject <ingen:/root/gain> ; + patch:subject <ingen:/graph/gain> ; patch:body [ a lv2:InputPort , lv2:ControlPort @@ -54,52 +54,52 @@ <msg6> a patch:Put ; - patch:subject <ingen:/root/> ; + patch:subject <ingen:/graph/> ; patch:body [ a ingen:Arc ; - ingen:tail <ingen:/root/amp/out> ; - ingen:head <ingen:/root/out> + ingen:tail <ingen:/graph/amp/out> ; + ingen:head <ingen:/graph/out> ] . <msg7> a patch:Put ; - patch:subject <ingen:/root/> ; + patch:subject <ingen:/graph/> ; patch:body [ a ingen:Arc ; - ingen:tail <ingen:/root/in> ; - ingen:head <ingen:/root/amp/in> + ingen:tail <ingen:/graph/in> ; + ingen:head <ingen:/graph/amp/in> ] . <msg8> a patch:Put ; - patch:subject <ingen:/root/> ; + patch:subject <ingen:/graph/> ; patch:body [ a ingen:Arc ; - ingen:tail <ingen:/root/gain> ; - ingen:head <ingen:/root/amp/gain> + ingen:tail <ingen:/graph/gain> ; + ingen:head <ingen:/graph/amp/gain> ] . <msg9> a patch:Put ; - patch:subject <ingen:/root/> ; + patch:subject <ingen:/graph/> ; patch:body [ a ingen:Arc ; - ingen:tail <ingen:/root/control> ; - ingen:head <ingen:/root/sampler/control> + ingen:tail <ingen:/graph/control> ; + ingen:head <ingen:/graph/sampler/control> ] . <msg10> a patch:Delete ; patch:body [ a ingen:Arc ; - ingen:tail <ingen:/root/amp/out> ; - ingen:head <ingen:/root/out> + ingen:tail <ingen:/graph/amp/out> ; + ingen:head <ingen:/graph/out> ] . <msg11> a patch:Delete ; patch:body [ a ingen:Arc ; - ingen:tail <ingen:/root/in> ; - ingen:head <ingen:/root/amp/in> + ingen:tail <ingen:/graph/in> ; + ingen:head <ingen:/graph/amp/in> ] . diff --git a/tests/connect_disconnect_patch_patch.ttl b/tests/connect_disconnect_patch_patch.ttl index 4b349fc1..7d46a5f2 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:/graph/in> ; patch:body [ a lv2:InputPort , lv2:AudioPort @@ -12,7 +12,7 @@ <msg1> a patch:Put ; - patch:subject <ingen:/root/out> ; + patch:subject <ingen:/graph/out> ; patch:body [ a lv2:InputPort , lv2:AudioPort @@ -20,17 +20,17 @@ <msg2> a patch:Put ; - patch:subject <ingen:/root/> ; + patch:subject <ingen:/graph/> ; patch:body [ a ingen:Arc ; - ingen:tail <ingen:/root/in> ; - ingen:head <ingen:/root/out> + ingen:tail <ingen:/graph/in> ; + ingen:head <ingen:/graph/out> ] . <msg3> a patch:Delete ; patch:body [ a ingen:Arc ; - ingen:tail <ingen:/root/in> ; - ingen:head <ingen:/root/out> + ingen:tail <ingen:/graph/in> ; + ingen:head <ingen:/graph/out> ] . diff --git a/tests/create_delete_node.ttl b/tests/create_delete_node.ttl index 1b6cac09..ec14ec13 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:/graph/node> ; patch:body [ a ingen:Block ; lv2:prototype <http://drobilla.net/plugins/mda/Shepard> @@ -12,4 +12,4 @@ <msg1> a patch:Delete ; - patch:subject <ingen:/root/node> . + patch:subject <ingen:/graph/node> . diff --git a/tests/create_delete_patch.ttl b/tests/create_delete_patch.ttl index 474a15a2..5ee49d26 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:/graph/sub> ; patch:body [ a ingen:Graph ; ] . <msg1> a patch:Delete ; - patch:subject <ingen:/root/sub> . + patch:subject <ingen:/graph/sub> . diff --git a/tests/create_delete_poly_patch.ttl b/tests/create_delete_poly_patch.ttl index 5bc1108a..692facf6 100644 --- a/tests/create_delete_poly_patch.ttl +++ b/tests/create_delete_poly_patch.ttl @@ -4,7 +4,7 @@ <msg0> a patch:Put ; - patch:subject <ingen:/root/sub> ; + patch:subject <ingen:/graph/sub> ; patch:body [ a ingen:Graph ; ingen:polyphony 8 ; @@ -12,4 +12,4 @@ <msg1> a patch:Delete ; - patch:subject <ingen:/root/sub> . + patch:subject <ingen:/graph/sub> . diff --git a/tests/create_delete_port.ttl b/tests/create_delete_port.ttl index c7aefecb..5025497f 100644 --- a/tests/create_delete_port.ttl +++ b/tests/create_delete_port.ttl @@ -5,7 +5,7 @@ <msg0> a patch:Put ; - patch:subject <ingen:/root/audio_in> ; + patch:subject <ingen:/graph/audio_in> ; patch:body [ a lv2:InputPort , lv2:AudioPort @@ -13,7 +13,7 @@ <msg1> a patch:Put ; - patch:subject <ingen:/root/float_in> ; + patch:subject <ingen:/graph/float_in> ; patch:body [ a lv2:InputPort , lv2:ControlPort @@ -21,7 +21,7 @@ <msg2> a patch:Put ; - patch:subject <ingen:/root/cv_in> ; + patch:subject <ingen:/graph/cv_in> ; patch:body [ a lv2:InputPort , lv2:CVPort @@ -29,7 +29,7 @@ <msg3> a patch:Put ; - patch:subject <ingen:/root/atom_in> ; + patch:subject <ingen:/graph/atom_in> ; patch:body [ a lv2:InputPort , atom:AtomPort ; @@ -38,16 +38,16 @@ <msg4> a patch:Delete ; - patch:subject <ingen:/root/audio_in> . + patch:subject <ingen:/graph/audio_in> . <msg5> a patch:Delete ; - patch:subject <ingen:/root/float_in> . + patch:subject <ingen:/graph/float_in> . <msg6> a patch:Delete ; - patch:subject <ingen:/root/cv_in> . + patch:subject <ingen:/graph/cv_in> . <msg7> a patch:Delete ; - patch:subject <ingen:/root/atom_in> . + patch:subject <ingen:/graph/atom_in> . diff --git a/tests/disconnect_all_node.ttl b/tests/disconnect_all_node.ttl index 852be608..ecf8ce66 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:/graph/node1> ; patch:body [ a ingen:Block ; lv2:prototype <http://drobilla.net/plugins/mda/Shepard> @@ -12,7 +12,7 @@ <msg1> a patch:Put ; - patch:subject <ingen:/root/node2> ; + patch:subject <ingen:/graph/node2> ; patch:body [ a ingen:Block ; lv2:prototype <http://drobilla.net/plugins/mda/Shepard> @@ -20,26 +20,26 @@ <msg2> a patch:Put ; - patch:subject <ingen:/root/> ; + patch:subject <ingen:/graph/> ; patch:body [ a ingen:Arc ; - ingen:tail <ingen:/root/node1/left_out> ; - ingen:head <ingen:/root/node2/left_in> + ingen:tail <ingen:/graph/node1/left_out> ; + ingen:head <ingen:/graph/node2/left_in> ] . <msg3> a patch:Put ; - patch:subject <ingen:/root/> ; + patch:subject <ingen:/graph/> ; patch:body [ a ingen:Arc ; - ingen:tail <ingen:/root/node1/right_out> ; - ingen:head <ingen:/root/node2/right_in> + ingen:tail <ingen:/graph/node1/right_out> ; + ingen:head <ingen:/graph/node2/right_in> ] . <msg4> a patch:Delete ; - patch:subject <ingen:/root/> ; + patch:subject <ingen:/graph/> ; patch:body [ a ingen:Arc ; - ingen:incidentTo <ingen:/root/node1> + ingen:incidentTo <ingen:/graph/node1> ] . diff --git a/tests/enable_graph.ttl b/tests/enable_graph.ttl index 7d34db68..b16a0332 100644 --- a/tests/enable_graph.ttl +++ b/tests/enable_graph.ttl @@ -4,14 +4,14 @@ <msg0> a patch:Put ; - patch:subject <ingen:/root> ; + patch:subject <ingen:/graph> ; patch:body [ ingen:enabled true ] . <msg1> a patch:Put ; - patch:subject <ingen:/root> ; + patch:subject <ingen:/graph> ; patch:body [ ingen:enabled false ] . diff --git a/tests/get_node.ttl b/tests/get_node.ttl index f024c7d4..23b35e9a 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:/graph/node> ; patch:body [ a ingen:Block ; lv2:prototype <http://drobilla.net/plugins/mda/Shepard> @@ -12,4 +12,4 @@ <msg1> a patch:Get ; - patch:subject <ingen:/root/node> . + patch:subject <ingen:/graph/node> . diff --git a/tests/get_patch.ttl b/tests/get_patch.ttl index 26718173..56389803 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:/graph/sub> ; patch:body [ a ingen:Graph ] . <msg1> a patch:Put ; - patch:subject <ingen:/root/sub/node1> ; + patch:subject <ingen:/graph/sub/node1> ; patch:body [ a ingen:Block ; lv2:prototype <http://drobilla.net/plugins/mda/Shepard> @@ -19,7 +19,7 @@ <msg2> a patch:Put ; - patch:subject <ingen:/root/sub/node2> ; + patch:subject <ingen:/graph/sub/node2> ; patch:body [ a ingen:Block ; lv2:prototype <http://drobilla.net/plugins/mda/Combo> @@ -27,13 +27,13 @@ <msg3> a patch:Put ; - patch:subject <ingen:/root/> ; + patch:subject <ingen:/graph/> ; patch:body [ a ingen:Arc ; - ingen:tail <ingen:/root/sub/node1/left_out> ; - ingen:head <ingen:/root/sub/node2/left_in> + ingen:tail <ingen:/graph/sub/node1/left_out> ; + ingen:head <ingen:/graph/sub/node2/left_in> ] . <msg4> a patch:Get ; - patch:subject <ingen:/root/> . + patch:subject <ingen:/graph/> . diff --git a/tests/get_port.ttl b/tests/get_port.ttl index 079000f6..b2b0a319 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:/graph/in> ; patch:body [ a lv2:InputPort , lv2:AudioPort @@ -12,4 +12,4 @@ <msg1> a patch:Get ; - patch:subject <ingen:/root/in> . + patch:subject <ingen:/graph/in> . diff --git a/tests/move_node.ttl b/tests/move_node.ttl index 23ee0ebd..337eac33 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:/graph/node> ; patch:body [ a ingen:Block ; lv2: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:/graph/node> ; + patch:destination <ingen:/graph/tone> . diff --git a/tests/move_port.ttl b/tests/move_port.ttl index bf0636cb..cb458c77 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:/graph/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:/graph/in> ; + patch:destination <ingen:/graph/input> . diff --git a/tests/move_root_port.ttl b/tests/move_root_port.ttl index b9e6bd86..b9c1b6f9 100644 --- a/tests/move_root_port.ttl +++ b/tests/move_root_port.ttl @@ -4,7 +4,7 @@ <msg0> a patch:Put ; - patch:subject <ingen:/root/in> ; + patch:subject <ingen:/graph/in> ; patch:body [ a lv2:InputPort , lv2:AudioPort @@ -12,9 +12,9 @@ <msg1> a patch:Move ; - patch:subject <ingen:/root/in> ; - patch:destination <ingen:/root/input> . + patch:subject <ingen:/graph/in> ; + patch:destination <ingen:/graph/input> . <msg2> a patch:Delete ; - patch:subject <ingen:/root/input> . + patch:subject <ingen:/graph/input> . diff --git a/tests/poly.ttl b/tests/poly.ttl index e81eeda6..5a70f349 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:/graph/node> ; patch:body [ a ingen:Block ; lv2:prototype <http://drobilla.net/plugins/mda/Shepard> @@ -12,12 +12,12 @@ <msg1> a patch:Set ; - patch:subject <ingen:/root/> ; + patch:subject <ingen:/graph/> ; patch:property ingen:polyphony ; patch:value 4 . <msg2> a patch:Set ; - patch:subject <ingen:/root/node> ; + patch:subject <ingen:/graph/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 fb0cd7d6..f021ee2b 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:/graph/in> ; patch:body [ a lv2:InputPort , lv2:AudioPort diff --git a/tests/set_graph_poly.ttl b/tests/set_graph_poly.ttl index 27114d90..0e830c4a 100644 --- a/tests/set_graph_poly.ttl +++ b/tests/set_graph_poly.ttl @@ -4,14 +4,14 @@ <msg0> a patch:Put ; - patch:subject <ingen:/root/> ; + patch:subject <ingen:/graph/> ; patch:body [ ingen:polyphony 4 ] . <msg1> a patch:Put ; - patch:subject <ingen:/root/> ; + patch:subject <ingen:/graph/> ; patch:body [ ingen:polyphony 1 ] . diff --git a/tests/set_patch_port_value.ttl b/tests/set_patch_port_value.ttl index 507f72d4..a9621d83 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:/graph/in> ; patch:body [ a lv2:InputPort , lv2:ControlPort @@ -12,6 +12,6 @@ <msg1> a patch:Set ; - patch:subject <ingen:/root/in> ; + patch:subject <ingen:/graph/in> ; patch:property ingen:value ; patch:value 0.5 .
\ No newline at end of file |