blob: 6cca9f2f56d54b0925ee4bafcc192c979034de3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
package TAP::Formatter::File;
use strict;
use TAP::Formatter::Base ();
use TAP::Formatter::File::Session;
use POSIX qw(strftime);
use vars qw($VERSION @ISA);
@ISA = qw(TAP::Formatter::Base);
=head1 NAME
TAP::Formatter::File - Harness output delegate for file output
=head1 VERSION
Version 3.20
=cut
$VERSION = '3.20';
=head1 DESCRIPTION
This provides file orientated output formatting for TAP::Harness.
=head1 SYNOPSIS
use TAP::Formatter::File;
my $harness = TAP::Formatter::File->new( \%args );
=head2 C<< open_test >>
See L<TAP::Formatter::base>
=cut
sub open_test {
my ( $self, $test, $parser ) = @_;
my $session = TAP::Formatter::File::Session->new(
{ name => $test,
formatter => $self,
parser => $parser,
}
);
$session->header;
return $session;
}
sub _should_show_count {
return 0;
}
1;
|