summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/connect_disconnect_node_patch.ttl66
-rw-r--r--tests/create_delete_port.ttl42
2 files changed, 95 insertions, 13 deletions
diff --git a/tests/connect_disconnect_node_patch.ttl b/tests/connect_disconnect_node_patch.ttl
index eb8e1d92..1bfec45a 100644
--- a/tests/connect_disconnect_node_patch.ttl
+++ b/tests/connect_disconnect_node_patch.ttl
@@ -1,24 +1,33 @@
+@prefix atom: <http://lv2plug.in/ns/ext/atom#> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix patch: <http://lv2plug.in/ns/ext/patch#> .
@prefix ingen: <http://drobilla.net/ns/ingen#> .
<msg0>
a patch:Put ;
- patch:subject <ingen:/root/node> ;
+ patch:subject <ingen:/root/amp> ;
patch:body [
a ingen:Block ;
- ingen:prototype <http://drobilla.net/plugins/mda/Shepard>
+ ingen:prototype <http://lv2plug.in/plugins/eg-amp>
] .
<msg1>
a patch:Put ;
+ patch:subject <ingen:/root/sampler> ;
+ patch:body [
+ a ingen:Block ;
+ ingen:prototype <http://lv2plug.in/plugins/eg-sampler>
+ ] .
+
+<msg2>
+ a patch:Put ;
patch:subject <ingen:/root/out> ;
patch:body [
a lv2:OutputPort ,
lv2:AudioPort
] .
-<msg2>
+<msg3>
a patch:Put ;
patch:subject <ingen:/root/in> ;
patch:body [
@@ -26,36 +35,71 @@
lv2:AudioPort
] .
-<msg3>
+<msg4>
+ a patch:Put ;
+ patch:subject <ingen:/root/control> ;
+ patch:body [
+ a lv2:InputPort ,
+ atom:AtomPort ;
+ atom:bufferType atom:Sequence
+ ] .
+
+<msg5>
+ a patch:Put ;
+ patch:subject <ingen:/root/gain> ;
+ patch:body [
+ a lv2:InputPort ,
+ lv2:ControlPort
+ ] .
+
+<msg6>
a patch:Put ;
patch:subject <ingen:/root/> ;
patch:body [
a ingen:Arc ;
- ingen:tail <ingen:/root/node/left_out> ;
+ ingen:tail <ingen:/root/amp/out> ;
ingen:head <ingen:/root/out>
] .
-<msg4>
+<msg7>
a patch:Put ;
patch:subject <ingen:/root/> ;
patch:body [
a ingen:Arc ;
ingen:tail <ingen:/root/in> ;
- ingen:head <ingen:/root/node/left_in>
+ ingen:head <ingen:/root/amp/in>
] .
-<msg5>
+<msg8>
+ a patch:Put ;
+ patch:subject <ingen:/root/> ;
+ patch:body [
+ a ingen:Arc ;
+ ingen:tail <ingen:/root/gain> ;
+ ingen:head <ingen:/root/amp/gain>
+ ] .
+
+<msg9>
+ a patch:Put ;
+ patch:subject <ingen:/root/> ;
+ patch:body [
+ a ingen:Arc ;
+ ingen:tail <ingen:/root/control> ;
+ ingen:head <ingen:/root/sampler/control>
+ ] .
+
+<msg10>
a patch:Delete ;
patch:body [
a ingen:Arc ;
- ingen:tail <ingen:/root/node/left_out> ;
+ ingen:tail <ingen:/root/amp/out> ;
ingen:head <ingen:/root/out>
] .
-<msg6>
+<msg11>
a patch:Delete ;
patch:body [
a ingen:Arc ;
ingen:tail <ingen:/root/in> ;
- ingen:head <ingen:/root/node/left_in>
+ ingen:head <ingen:/root/amp/in>
] .
diff --git a/tests/create_delete_port.ttl b/tests/create_delete_port.ttl
index aea4868c..c7aefecb 100644
--- a/tests/create_delete_port.ttl
+++ b/tests/create_delete_port.ttl
@@ -1,15 +1,53 @@
+@prefix atom: <http://lv2plug.in/ns/ext/atom#> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix patch: <http://lv2plug.in/ns/ext/patch#> .
@prefix ingen: <http://drobilla.net/ns/ingen#> .
<msg0>
a patch:Put ;
- patch:subject <ingen:/root/in> ;
+ patch:subject <ingen:/root/audio_in> ;
patch:body [
a lv2:InputPort ,
lv2:AudioPort
] .
<msg1>
+ a patch:Put ;
+ patch:subject <ingen:/root/float_in> ;
+ patch:body [
+ a lv2:InputPort ,
+ lv2:ControlPort
+ ] .
+
+<msg2>
+ a patch:Put ;
+ patch:subject <ingen:/root/cv_in> ;
+ patch:body [
+ a lv2:InputPort ,
+ lv2:CVPort
+ ] .
+
+<msg3>
+ a patch:Put ;
+ patch:subject <ingen:/root/atom_in> ;
+ patch:body [
+ a lv2:InputPort ,
+ atom:AtomPort ;
+ atom:bufferType atom:Sequence
+ ] .
+
+<msg4>
+ a patch:Delete ;
+ patch:subject <ingen:/root/audio_in> .
+
+<msg5>
+ a patch:Delete ;
+ patch:subject <ingen:/root/float_in> .
+
+<msg6>
+ a patch:Delete ;
+ patch:subject <ingen:/root/cv_in> .
+
+<msg7>
a patch:Delete ;
- patch:subject <ingen:/root/in> .
+ patch:subject <ingen:/root/atom_in> .