summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/copy_node.ttl16
-rw-r--r--tests/load_graph.ttl8
-rw-r--r--tests/save_graph.ttl8
3 files changed, 32 insertions, 0 deletions
diff --git a/tests/copy_node.ttl b/tests/copy_node.ttl
new file mode 100644
index 00000000..7204f44b
--- /dev/null
+++ b/tests/copy_node.ttl
@@ -0,0 +1,16 @@
+@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:/graph/node> ;
+ patch:body [
+ a ingen:Block ;
+ lv2:prototype <http://drobilla.net/plugins/mda/Shepard>
+ ] .
+
+<msg1>
+ a patch:Copy ;
+ patch:subject <ingen:/graph/node> ;
+ patch:destination <ingen:/graph/copy> .
diff --git a/tests/load_graph.ttl b/tests/load_graph.ttl
new file mode 100644
index 00000000..4d21cae8
--- /dev/null
+++ b/tests/load_graph.ttl
@@ -0,0 +1,8 @@
+@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:Copy ;
+ patch:subject <empty.ingen/> ;
+ patch:destination <ingen:/graph/> .
diff --git a/tests/save_graph.ttl b/tests/save_graph.ttl
new file mode 100644
index 00000000..840c4950
--- /dev/null
+++ b/tests/save_graph.ttl
@@ -0,0 +1,8 @@
+@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:Copy ;
+ patch:subject <ingen:/graph/> ;
+ patch:destination <file:///tmp/savetest.ingen/> .