File Coverage

blib/lib/CGI/Test/Page/Text.pm
Criterion Covered Total %
statement 15 15 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod 0 1 0.0
total 20 21 95.2


line stmt bran cond sub pod time code
1             package CGI::Test::Page::Text;
2 8     8   38 use strict;
  8         14  
  8         266  
3 8     8   38 use warnings;
  8         14  
  8         340  
4             ####################################################################
5             # $Id: Text.pm 411 2011-09-26 11:19:30Z nohuhu@nohuhu.org $
6             # $Name: cgi-test_0-104_t1 $
7             ####################################################################
8             #
9             # Copyright (c) 2001, Raphael Manfredi
10             #
11             # You may redistribute only under the terms of the Artistic License,
12             # as specified in the README file that comes with the distribution.
13             #
14              
15 8     8   910 use CGI::Test::Page::Real;
  8         12  
  8         356  
16 8     8   24 use base qw(CGI::Test::Page::Real);
  8         12  
  8         1034  
17              
18             #
19             # ->new
20             #
21             # Creation routine
22             #
23             sub new
24             {
25 12     12 0 31 my $this = bless {}, shift;
26 12         94 $this->_init(@_);
27 12         37 return $this;
28             }
29              
30             #
31             # Attribute access
32             #
33              
34             1;
35              
36             =head1 NAME
37              
38             CGI::Test::Page::Text - A text page reply
39              
40             =head1 SYNOPSIS
41              
42             # Inherits from CGI::Test::Page::Real
43              
44             =head1 DESCRIPTION
45              
46             This class represents an HTTP reply containing C data.
47             Its interface is the same as the one described in L.
48              
49             =head1 AUTHORS
50              
51             The original author is Raphael Manfredi.
52              
53             Steven Hilton was long time maintainer of this module.
54              
55             Current maintainer is Alexander Tokarev Ftokarev@cpan.orgE>.
56              
57             =head1 SEE ALSO
58              
59             CGI::Test::Page::Real(3).
60              
61             =cut
62