summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-12-25 22:06:42 +0000
committerDavid Robillard <d@drobilla.net>2013-12-25 22:06:42 +0000
commit12949a786324a758c1dbfca5bb68605ca4ca35ea (patch)
tree950c6be94ed12e1944ab4fdbbddec82bd25183ef /tests
parentfb0020e43a0934a110fea7be8f5a2fcf1eb61b6e (diff)
downloadingen-12949a786324a758c1dbfca5bb68605ca4ca35ea.tar.gz
ingen-12949a786324a758c1dbfca5bb68605ca4ca35ea.tar.bz2
ingen-12949a786324a758c1dbfca5bb68605ca4ca35ea.zip
Add test cases.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5209 a436a847-0d15-0410-975c-d299462d15a1
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
+ ] .