From d507ec27e513a8af576e309e9c0bc4cfb6ba5097 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 26 Dec 2013 04:06:54 +0000 Subject: Improve test coverage. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5213 a436a847-0d15-0410-975c-d299462d15a1 --- tests/connect_disconnect_node_patch.ttl | 66 +++++++++++++++++++++++++++------ tests/create_delete_port.ttl | 42 ++++++++++++++++++++- 2 files changed, 95 insertions(+), 13 deletions(-) (limited to 'tests') diff --git a/tests/connect_disconnect_node_patch.ttl b/tests/connect_disconnect_node_patch.ttl index eb8e1d92..1bfec45a 100644 --- a/tests/connect_disconnect_node_patch.ttl +++ b/tests/connect_disconnect_node_patch.ttl @@ -1,16 +1,25 @@ +@prefix atom: . @prefix lv2: . @prefix patch: . @prefix ingen: . a patch:Put ; - patch:subject ; + patch:subject ; patch:body [ a ingen:Block ; - ingen:prototype + ingen:prototype ] . + a patch:Put ; + patch:subject ; + patch:body [ + a ingen:Block ; + ingen:prototype + ] . + + a patch:Put ; patch:subject ; patch:body [ @@ -18,7 +27,7 @@ lv2:AudioPort ] . - + a patch:Put ; patch:subject ; patch:body [ @@ -26,36 +35,71 @@ lv2:AudioPort ] . - + + a patch:Put ; + patch:subject ; + patch:body [ + a lv2:InputPort , + atom:AtomPort ; + atom:bufferType atom:Sequence + ] . + + + a patch:Put ; + patch:subject ; + patch:body [ + a lv2:InputPort , + lv2:ControlPort + ] . + + a patch:Put ; patch:subject ; patch:body [ a ingen:Arc ; - ingen:tail ; + ingen:tail ; ingen:head ] . - + a patch:Put ; patch:subject ; patch:body [ a ingen:Arc ; ingen:tail ; - ingen:head + ingen:head ] . - + + a patch:Put ; + patch:subject ; + patch:body [ + a ingen:Arc ; + ingen:tail ; + 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:tail ; ingen:head ] . - + a patch:Delete ; patch:body [ a ingen:Arc ; ingen:tail ; - ingen:head + ingen:head ] . diff --git a/tests/create_delete_port.ttl b/tests/create_delete_port.ttl index aea4868c..c7aefecb 100644 --- a/tests/create_delete_port.ttl +++ b/tests/create_delete_port.ttl @@ -1,15 +1,53 @@ +@prefix atom: . @prefix lv2: . @prefix patch: . @prefix ingen: . a patch:Put ; - patch:subject ; + patch:subject ; patch:body [ a lv2:InputPort , lv2:AudioPort ] . + a patch:Put ; + patch:subject ; + patch:body [ + a lv2:InputPort , + lv2:ControlPort + ] . + + + a patch:Put ; + patch:subject ; + patch:body [ + a lv2:InputPort , + lv2:CVPort + ] . + + + a patch:Put ; + patch:subject ; + patch:body [ + a lv2:InputPort , + atom:AtomPort ; + atom:bufferType atom:Sequence + ] . + + + a patch:Delete ; + patch:subject . + + + a patch:Delete ; + patch:subject . + + + a patch:Delete ; + patch:subject . + + a patch:Delete ; - patch:subject . + patch:subject . -- cgit v1.2.1