projects
/
Business-OnlinePayment.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
- skip all tests if 'use Business::OnlinePayment::HTTPS' fails
[Business-OnlinePayment.git]
/
t
/
bop_https.t
1
#!/usr/bin/perl
2
3
use strict;
4
use warnings;
5
use Test::More;
6
7
my $package = "Business::OnlinePayment::HTTPS";
8
eval "use $package;";
9
10
# HTTPS support is optional
11
if ($@) {
12
plan( skip_all => "$package: $@\n" );
13
}
14
else {
15
plan( tests => 1 );
16
}
17
18
{
19
can_ok( $package, qw(https_get https_post) );
20
my $obj;
21
}