diff options
author | plobbes <plobbes> | 2007-01-19 05:25:02 +0000 |
---|---|---|
committer | plobbes <plobbes> | 2007-01-19 05:25:02 +0000 |
commit | 29900bbdb208240837822c20ab3bcd72ad8a1a6a (patch) | |
tree | d31b82eddcb44301f4c46cee2a991565d542580b | |
parent | da47837ad2e5a0d32e96393a557ab3a8df32c2bb (diff) |
- 00load.t replaces bop.t and load.t and now uses Test::More::BAIL_OUT
-rw-r--r-- | t/00load.t | 13 | ||||
-rw-r--r-- | t/bop.t | 7 | ||||
-rw-r--r-- | t/load.t | 7 |
3 files changed, 13 insertions, 14 deletions
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"); |