From 791816abb2295bcade40b664d39ecd7eb1016f19 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 1 Oct 2016 17:48:40 -0400 Subject: Improve test coverage --- tests/create_delete_node.ttl | 12 ++++++++++++ tests/disconnect_all_port.ttl | 32 ++++++++++++++++++++++++++++++++ tests/duplicate_node.ttl | 19 +++++++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 tests/disconnect_all_port.ttl create mode 100644 tests/duplicate_node.ttl diff --git a/tests/create_delete_node.ttl b/tests/create_delete_node.ttl index 0fff4d24..81086e69 100644 --- a/tests/create_delete_node.ttl +++ b/tests/create_delete_node.ttl @@ -13,3 +13,15 @@ a patch:Delete ; patch:subject . + + + a patch:Put ; + patch:subject ; + patch:body [ + a ingen:Block ; + ingen:prototype + ] . + + + a patch:Delete ; + patch:subject . diff --git a/tests/disconnect_all_port.ttl b/tests/disconnect_all_port.ttl new file mode 100644 index 00000000..5c2d92f2 --- /dev/null +++ b/tests/disconnect_all_port.ttl @@ -0,0 +1,32 @@ +@prefix lv2: . +@prefix patch: . +@prefix ingen: . + + + a patch:Put ; + patch:subject ; + patch:body [ + a lv2:InputPort , + lv2:AudioPort + ] . + + + a patch:Put ; + patch:subject ; + patch:body [ + a ingen:Block ; + lv2:prototype + ] . + + + a patch:Put ; + patch:subject ; + patch:body [ + a ingen:Arc ; + ingen:tail ; + ingen:head + ] . + + + a patch:Delete ; + patch:subject . diff --git a/tests/duplicate_node.ttl b/tests/duplicate_node.ttl new file mode 100644 index 00000000..47d71dfc --- /dev/null +++ b/tests/duplicate_node.ttl @@ -0,0 +1,19 @@ +@prefix lv2: . +@prefix patch: . +@prefix ingen: . + + + a patch:Put ; + patch:subject ; + patch:body [ + a ingen:Block ; + lv2:prototype + ] . + + + a patch:Put ; + patch:subject ; + patch:body [ + a ingen:Block ; + lv2:prototype + ] . -- cgit v1.2.1