- Removed req->handle and res->handle
- Added prepare_body_chunk method as a hook for upload progress.
- Fixed bug in uri_for method when base has no path.
+ - Added automated tests for HTTP, CGI, and FastCGI servers.
5.49_01 2005-10-10 10:15:00
- Refactored all internals, should be 99% compatible to previous
skip "Using remote server", 2;
}
- is( $creq->base, 'http://frontend.server.com/', 'Catalyst::Request proxied base' );
+ is( $creq->base->host, 'frontend.server.com', 'Catalyst::Request proxied base' );
is( $creq->address, '1.2.3.4', 'Catalyst::Request proxied address' );
}
plan skip_all => 'set TEST_HTTP to enable this test' unless $ENV{TEST_HTTP};
plan skip_all => 'File::Copy::Recursive required' if $@;
-plan tests => 28;
+plan tests => 1;
# clean up
rmtree "$FindBin::Bin/../../t/var" if -d "$FindBin::Bin/../../t/var";
# run the testsuite against the HTTP server
$ENV{CATALYST_SERVER} = "http://localhost:$port";
-my $output = `prove -r -Ilib/ t/live/`;
-
-foreach my $line ( split /\n/, $output ) {
- if ( $line !~ /skipped|wallclock/ ) {
- like( $line, qr/ok$/, 'test ok' );
- }
-}
+system( 'prove -r -Ilib/ t/live/' );
# shut it down
kill 2, $pid;
# clean up
rmtree "$FindBin::Bin/../../t/var" if -d "$FindBin::Bin/../../t/var";
+ok( 'done' );
+
sub check_port {
my ( $host, $port ) = @_;