From b63a173b3624bff8a38eacd088aa3dfce3fc4e33 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 26 Dec 2013 00:31:27 +0000 Subject: Add test cases. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5211 a436a847-0d15-0410-975c-d299462d15a1 --- tests/connect_disconnect_node_patch.ttl | 27 ++++++++++++++++++++++++++- tests/get_plugin.ttl | 7 +++++++ tests/move_root_port.ttl | 20 ++++++++++++++++++++ 3 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 tests/get_plugin.ttl create mode 100644 tests/move_root_port.ttl (limited to 'tests') diff --git a/tests/connect_disconnect_node_patch.ttl b/tests/connect_disconnect_node_patch.ttl index 642c71d3..eb8e1d92 100644 --- a/tests/connect_disconnect_node_patch.ttl +++ b/tests/connect_disconnect_node_patch.ttl @@ -19,6 +19,14 @@ ] . + a patch:Put ; + patch:subject ; + patch:body [ + a lv2:InputPort , + lv2:AudioPort + ] . + + a patch:Put ; patch:subject ; patch:body [ @@ -27,10 +35,27 @@ ingen:head ] . - + + a patch:Put ; + patch:subject ; + patch:body [ + a ingen:Arc ; + ingen:tail ; + ingen:head + ] . + + a patch:Delete ; patch:body [ a ingen:Arc ; ingen:tail ; ingen:head ] . + + + a patch:Delete ; + patch:body [ + a ingen:Arc ; + ingen:tail ; + ingen:head + ] . diff --git a/tests/get_plugin.ttl b/tests/get_plugin.ttl new file mode 100644 index 00000000..19a9c93c --- /dev/null +++ b/tests/get_plugin.ttl @@ -0,0 +1,7 @@ +@prefix lv2: . +@prefix patch: . +@prefix ingen: . + + + a patch:Get ; + patch:subject . diff --git a/tests/move_root_port.ttl b/tests/move_root_port.ttl new file mode 100644 index 00000000..b9e6bd86 --- /dev/null +++ b/tests/move_root_port.ttl @@ -0,0 +1,20 @@ +@prefix lv2: . +@prefix patch: . +@prefix ingen: . + + + a patch:Put ; + patch:subject ; + patch:body [ + a lv2:InputPort , + lv2:AudioPort + ] . + + + a patch:Move ; + patch:subject ; + patch:destination . + + + a patch:Delete ; + patch:subject . -- cgit v1.2.1