From 29900bbdb208240837822c20ab3bcd72ad8a1a6a Mon Sep 17 00:00:00 2001 From: plobbes Date: Fri, 19 Jan 2007 05:25:02 +0000 Subject: [PATCH] - 00load.t replaces bop.t and load.t and now uses Test::More::BAIL_OUT --- t/00load.t | 13 +++++++++++++ t/bop.t | 7 ------- t/load.t | 7 ------- 3 files changed, 13 insertions(+), 14 deletions(-) create mode 100644 t/00load.t delete mode 100644 t/bop.t delete mode 100644 t/load.t diff --git a/t/00load.t b/t/00load.t new file mode 100644 index 0000000..0eb8c34 --- /dev/null +++ b/t/00load.t @@ -0,0 +1,13 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use Test::More tests => 2; + +BEGIN { + use_ok("Business::OnlinePayment") + or BAIL_OUT("unable to load Business::OnlinePayment\n"); + + use_ok("Business::OnlinePayment::PayflowPro") + or BAIL_OUT("unable to load Business::OnlinePayment::PayflowPro\n"); +} diff --git a/t/bop.t b/t/bop.t deleted file mode 100644 index 504071e..0000000 --- a/t/bop.t +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/perl - -use strict; -use warnings; -use Test::More tests => 1; - -use_ok("Business::OnlinePayment"); diff --git a/t/load.t b/t/load.t deleted file mode 100644 index a5fed5e..0000000 --- a/t/load.t +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/perl - -use strict; -use warnings; -use Test::More tests => 1; - -use_ok("Business::OnlinePayment::PayflowPro"); -- 2.11.0