Apache-Test
view release on metacpan or search on metacpan
lib/Apache/TestClient.pm view on Meta::CPAN
# See the License for the specific language governing permissions and
# limitations under the License.
#
package Apache::TestClient;
#this module provides some fallback for when libwww-perl is not installed
#it is by no means an LWP replacement, just enough for very simple requests
#this module does not and will never support certain features such as:
#file upload, http/1.1 (byteranges, keepalive, etc.), following redirects,
#authentication, GET body callbacks, SSL, etc.
use strict;
use warnings FATAL => 'all';
use Apache::TestRequest ();
my $CRLF = "\015\012";
sub request {
my($method, $url, @headers) = @_;
lib/Apache/TestSmoke.pm view on Meta::CPAN
next unless length $log_diffs{$path};
error "\t\t*** $path ***";
$log_diffs{$path} =~ s/^/ /mg;
print STDERR "$log_diffs{$path}\n";
}
}
if (@core_files_msg) {
unless ($self->{verbose}) {
# currently the output of 'run log' already
# includes the information about core files once
# Test::Harness::Straps allows us to run callbacks
# after each test, and we move back to run all
# tests at once, we will log the message here
error "$test_name caused core";
print STDERR join "\n", @core_files_msg, "\n";
}
}
if ($self->{verbose}) {
error sep("-");
}
( run in 0.363 second using v1.01-cache-2.11-cpan-9b1e4054eb1 )