Apache-Voodoo
view release on metacpan or search on metacpan
t/Application-ConfigParser.t view on Meta::CPAN
use strict;
use warnings;
use Test::More tests => 55;
use Data::Dumper;
use lib("t");
BEGIN {
# fall back to eq_or_diff if we don't have Test::Differences
if (!eval q{ use Test::Differences; 1 }) {
*eq_or_diff = \&is_deeply;
}
}
use_ok('Apache::Voodoo::Constants') || BAIL_OUT($@);
use_ok('Apache::Voodoo::Application::ConfigParser') || BAIL_OUT($@);
t/Application.t view on Meta::CPAN
use strict;
use warnings;
use lib("t");
use File::Copy;
use Test::More tests => 27;
use Data::Dumper;
BEGIN {
# fall back to eq_or_diff if we don't have Test::Differences
if (!eval q{ use Test::Differences; 1 }) {
*eq_or_diff = \&is_deeply;
t/Constants.t view on Meta::CPAN
use strict;
use warnings;
use lib('t');
use Test::More tests => 18;
use_ok('Apache::Voodoo::Constants') ||
BAIL_OUT("Can't load constants, all other test will fail");
eval { Apache::Voodoo::Constants->new('nosuch::config') };
ok($@ =~ /Can't find nosuch::config/, "no such config file");
eval { Apache::Voodoo::Constants->new('test_data::BrokenConfig') };
t/Loader-Static.t view on Meta::CPAN
use strict;
use warnings;
use lib("t");
use Test::More tests=>3;
use File::Copy;
use_ok('Apache::Voodoo::Loader::Static') || BAIL_OUT($@);
my $path = $INC{'Apache/Voodoo/Loader/Static.pm'};
$path =~ s:(blib/)?lib/Apache/Voodoo/Loader/Static.pm:t:;
#
( run in 0.406 second using v1.01-cache-2.11-cpan-87723dcf8b7 )