diff options
author | David Robillard <d@drobilla.net> | 2016-10-01 17:48:40 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-10-02 12:24:57 -0400 |
commit | 791816abb2295bcade40b664d39ecd7eb1016f19 (patch) | |
tree | d828c573bbdb9330b57fdc818dfba1c56fe44a0a | |
parent | 7c8ba22dc59f2b44710c029254ece759ad15368f (diff) | |
download | ingen-791816abb2295bcade40b664d39ecd7eb1016f19.tar.gz ingen-791816abb2295bcade40b664d39ecd7eb1016f19.tar.bz2 ingen-791816abb2295bcade40b664d39ecd7eb1016f19.zip |
Improve test coverage
-rw-r--r-- | tests/create_delete_node.ttl | 12 | ||||
-rw-r--r-- | tests/disconnect_all_port.ttl | 32 | ||||
-rw-r--r-- | tests/duplicate_node.ttl | 19 |
3 files changed, 63 insertions, 0 deletions
diff --git a/tests/create_delete_node.ttl b/tests/create_delete_node.ttl index 0fff4d24..81086e69 100644 --- a/tests/create_delete_node.ttl +++ b/tests/create_delete_node.ttl @@ -13,3 +13,15 @@ <msg1> a patch:Delete ; patch:subject <ingen:/main/node> . + +<msg2> + a patch:Put ; + patch:subject <ingen:/main/deprecatednode> ; + patch:body [ + a ingen:Block ; + ingen:prototype <http://drobilla.net/plugins/mda/Shepard> + ] . + +<msg3> + a patch:Delete ; + patch:subject <ingen:/main/deprecatednode> . diff --git a/tests/disconnect_all_port.ttl b/tests/disconnect_all_port.ttl new file mode 100644 index 00000000..5c2d92f2 --- /dev/null +++ b/tests/disconnect_all_port.ttl @@ -0,0 +1,32 @@ +@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:/main/audio_in> ; + patch:body [ + a lv2:InputPort , + lv2:AudioPort + ] . + +<msg1> + a patch:Put ; + patch:subject <ingen:/main/node> ; + patch:body [ + a ingen:Block ; + lv2:prototype <http://drobilla.net/plugins/mda/Shepard> + ] . + +<msg2> + a patch:Put ; + patch:subject <ingen:/main/> ; + patch:body [ + a ingen:Arc ; + ingen:tail <ingen:/main/audio_in> ; + ingen:head <ingen:/main/node/left_in> + ] . + +<msg3> + a patch:Delete ; + patch:subject <ingen:/main/audio_in> . diff --git a/tests/duplicate_node.ttl b/tests/duplicate_node.ttl new file mode 100644 index 00000000..47d71dfc --- /dev/null +++ b/tests/duplicate_node.ttl @@ -0,0 +1,19 @@ +@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:/main/node> ; + patch:body [ + a ingen:Block ; + lv2:prototype <http://drobilla.net/plugins/mda/Shepard> + ] . + +<msg1> + a patch:Put ; + patch:subject <ingen:/main/deprecatednode> ; + patch:body [ + a ingen:Block ; + lv2:prototype <ingen:/main/node> + ] . |