diff options
author | David Robillard <d@drobilla.net> | 2016-10-01 17:48:40 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-10-01 17:49:09 -0400 |
commit | 17bb541a6925ccae826bbaa7bf386931652afbf4 (patch) | |
tree | d31dc36c18dbafc745b3ee2698b4cddee85d1b6c | |
parent | 1596ee0dc79676baaee49fad1d5502aee4dc5c1f (diff) | |
download | ingen-17bb541a6925ccae826bbaa7bf386931652afbf4.tar.gz ingen-17bb541a6925ccae826bbaa7bf386931652afbf4.tar.bz2 ingen-17bb541a6925ccae826bbaa7bf386931652afbf4.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> + ] . |