summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-05-22 15:33:57 +0000
committerDavid Robillard <d@drobilla.net>2012-05-22 15:33:57 +0000
commit81884522025e2147e309b8042bbbc6ebcd927cc7 (patch)
tree39bc63bd84c647a8d889d939bde659639bb4f95e /tests
parentb1d4027b58465d9cc31d6cb1be05a7ff4f202711 (diff)
downloadingen-81884522025e2147e309b8042bbbc6ebcd927cc7.tar.gz
ingen-81884522025e2147e309b8042bbbc6ebcd927cc7.tar.bz2
ingen-81884522025e2147e309b8042bbbc6ebcd927cc7.zip
Fix crash when setting nodes polyphonic.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4433 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'tests')
-rw-r--r--tests/poly.ttl25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/poly.ttl b/tests/poly.ttl
new file mode 100644
index 00000000..e5b43c43
--- /dev/null
+++ b/tests/poly.ttl
@@ -0,0 +1,25 @@
+@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 <path:/node> ;
+ patch:body [
+ a ingen:Node ;
+ ingen:prototype <http://drobilla.net/plugins/mda/Shepard>
+ ] .
+
+<msg1>
+ a patch:Set ;
+ patch:subject <path:/> ;
+ patch:body [
+ ingen:polyphony 4
+ ] .
+
+<msg2>
+ a patch:Set ;
+ patch:subject <path:/node> ;
+ patch:body [
+ ingen:polyphonic true
+ ] .