~ubuntu-branches/ubuntu/edgy/libapache2-mod-perl2/edgy

« back to all changes in this revision

Viewing changes to t/response/TestAPR/status.pm

  • Committer: Bazaar Package Importer
  • Author(s): Andres Salomon
  • Date: 2005-08-12 01:40:38 UTC
  • mfrom: (1.1.2 upstream) (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050812014038-gjigefs55pqx4qc8
Tags: 2.0.1-3
Grr.  Really include perl.conf file; it got lost due to diff not
wanting to add an empty file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package TestAPR::status;
 
2
 
 
3
# Testing APR::Status
 
4
 
 
5
use strict;
 
6
use warnings FATAL => 'all';
 
7
 
 
8
use Apache::Test;
 
9
 
 
10
use Apache2::Const -compile => 'OK';
 
11
 
 
12
use TestAPRlib::status;
 
13
 
 
14
sub handler {
 
15
    my $r = shift;
 
16
 
 
17
    my $num_of_tests = TestAPRlib::status::num_of_tests();
 
18
    plan $r, tests => $num_of_tests;
 
19
 
 
20
    TestAPRlib::status::test();
 
21
 
 
22
    Apache2::Const::OK;
 
23
}
 
24
 
 
25
 
 
26
 
 
27
1;