From dd2ad6ffe6a57b4e93c01e447f49fcf8710e622f Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 4 Mar 2013 15:05:04 -0600 Subject: remove the ability to skip and bail out with no reason --- src/main/scala/org/perl8/test/tap/Producer.scala | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'src/main/scala/org/perl8/test/tap/Producer.scala') diff --git a/src/main/scala/org/perl8/test/tap/Producer.scala b/src/main/scala/org/perl8/test/tap/Producer.scala index 2b919af..7f5edaf 100644 --- a/src/main/scala/org/perl8/test/tap/Producer.scala +++ b/src/main/scala/org/perl8/test/tap/Producer.scala @@ -32,19 +32,12 @@ object Producer { def todoResult (cond: Boolean, num: Int, desc: String, todo: String): String = result(cond, num, desc) + " # TODO " + todo - /** Returns a skipped test result. - * - * @example `ok 4 # skip` - */ - def skip (num: Int): String = - "ok " + num + " # skip" - /** Returns a skipped test result with a reason. * * @example `ok 4 # skip this test won't run here` */ def skip (num: Int, reason: String): String = - skip(num) + " " + reason + "ok " + num + " # skip " + reason /** Returns a comment. * @@ -61,13 +54,6 @@ object Producer { def plan (plan: Plan): String = plan.skipAll.map(m => "1..0 # SKIP " + m).getOrElse("1.." + plan.plan) - /** Returns a bail out. - * - * @example `Bail out!` - */ - def bailOut: String = - "Bail out!" - /** Returns a bail out with a reason. * * @example `Bail out! Not supported on this platform.` -- cgit v1.2.3-54-g00ecf