summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/create_delete_poly_patch.ttl15
-rw-r--r--tests/enable_graph.ttl17
-rw-r--r--tests/set_graph_poly.ttl17
3 files changed, 49 insertions, 0 deletions
diff --git a/tests/create_delete_poly_patch.ttl b/tests/create_delete_poly_patch.ttl
new file mode 100644
index 00000000..5bc1108a
--- /dev/null
+++ b/tests/create_delete_poly_patch.ttl
@@ -0,0 +1,15 @@
+@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/sub> ;
+ patch:body [
+ a ingen:Graph ;
+ ingen:polyphony 8 ;
+ ] .
+
+<msg1>
+ a patch:Delete ;
+ patch:subject <ingen:/root/sub> .
diff --git a/tests/enable_graph.ttl b/tests/enable_graph.ttl
new file mode 100644
index 00000000..7d34db68
--- /dev/null
+++ b/tests/enable_graph.ttl
@@ -0,0 +1,17 @@
+@prefix ingen: <http://drobilla.net/ns/ingen#> .
+@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
+@prefix patch: <http://lv2plug.in/ns/ext/patch#> .
+
+<msg0>
+ a patch:Put ;
+ patch:subject <ingen:/root> ;
+ patch:body [
+ ingen:enabled true
+ ] .
+
+<msg1>
+ a patch:Put ;
+ patch:subject <ingen:/root> ;
+ patch:body [
+ ingen:enabled false
+ ] .
diff --git a/tests/set_graph_poly.ttl b/tests/set_graph_poly.ttl
new file mode 100644
index 00000000..27114d90
--- /dev/null
+++ b/tests/set_graph_poly.ttl
@@ -0,0 +1,17 @@
+@prefix ingen: <http://drobilla.net/ns/ingen#> .
+@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
+@prefix patch: <http://lv2plug.in/ns/ext/patch#> .
+
+<msg0>
+ a patch:Put ;
+ patch:subject <ingen:/root/> ;
+ patch:body [
+ ingen:polyphony 4
+ ] .
+
+<msg1>
+ a patch:Put ;
+ patch:subject <ingen:/root/> ;
+ patch:body [
+ ingen:polyphony 1
+ ] .