Apache-AuthTicket
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
use ExtUtils::MakeMaker;
use lib qw(t/lib);
use My::Util qw(mod_perl_version);
require 5.6.0;
my @CLEAN_FILES = ();
my $mp_version = mod_perl_version();
test_configure();
my %conf = (
NAME => 'Apache::AuthTicket',
#!perl
use strict;
use warnings FATAL => 'all';
use lib qw(t/blib t/lib);
use Apache::TestRunPerl;
# mod_auth can cause test failures if in the wrong spot in the
# Apache chain, so we just make sure it does not get added. (test case: static
# mod_perl build and everything else as a DSO).
Apache::TestConfig::autoconfig_skip_module_add('mod_auth.c');
Apache::TestRunPerl->new->run(@ARGV);
#!perl
#
# test AuthTicket authentication
use strict;
use warnings FATAL => 'all';
use lib qw(t/lib);
use Apache::Test '-withtestmore';
use Apache::TestRequest qw(GET POST);
if (not have_module('DBD::SQLite')) {
plan skip_all => 'DBD::SQLite is not installed';
}
elsif (not have_module('LWP::UserAgent')) {
plan skip_all => 'LWP::UserAgent is not installed';
}
else {
t/compile.t view on Meta::CPAN
#!perl
use strict;
use lib qw(lib);
use My::Util qw(mod_perl_version);
use Test::More tests => 1;
if (mod_perl_version() == 2) {
use_ok('Apache2::AuthTicket');
}
else {
use_ok('Apache::AuthTicket');
}
t/conf/mp1-startup.pl view on Meta::CPAN
#!perl
use lib qw(../blib/lib blib/lib);
1;
( run in 0.320 second using v1.01-cache-2.11-cpan-87723dcf8b7 )