Apache-Test
view release on metacpan or search on metacpan
lib/Apache/TestHandler.pm view on Meta::CPAN
# so client can save the created instance id or check the existing
# value
$r->headers_out->set(Apache::TestRequest::INTERP_KEY, $id);
return Apache2::Const::OK;
}
1;
__END__
=encoding utf8
=head1 NAME
Apache::TestHandler - a few response handlers and helpers
=head1 SYNOPSIS
package My::Test;
use Apache::TestHandler ();
sub handler {
lib/Apache/TestUtil.pm view on Meta::CPAN
sub t_catfile_apache {
my $f = File::Spec::Unix->catfile(@_);
return $f unless file_name_is_absolute($f);
return Apache::TestConfig::WIN32 && -e $f ?
Win32::GetLongPathName($f) : $f;
}
1;
__END__
=encoding utf8
=head1 NAME
Apache::TestUtil - Utility functions for writing tests
=head1 SYNOPSIS
use Apache::Test;
use Apache::TestUtil;
( run in 0.762 second using v1.01-cache-2.11-cpan-49f99fa48dc )