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($@);
my $c = Apache::Voodoo::Constants->new('test_data::MyConfig');
my $loc = $INC{'Apache/Voodoo/Constants.pm'};
t/Application.t view on Meta::CPAN
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;
}
}
use_ok('Apache::Voodoo::Constants') || BAIL_OUT($@);
use_ok('Apache::Voodoo::Application') || BAIL_OUT($@);
my $path = $INC{'Apache/Voodoo/Constants.pm'};
$path =~ s:(blib/)?lib/Apache/Voodoo/Constants.pm:t:;
( run in 0.398 second using v1.01-cache-2.11-cpan-131fc08a04b )