line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
29972
|
use strict; |
|
1
|
|
|
|
|
10
|
|
|
1
|
|
|
|
|
116
|
|
2
|
1
|
50
|
|
1
|
|
11
|
BEGIN{ if (not $] < 5.006) { require warnings; warnings->import } } |
|
1
|
|
|
|
|
9
|
|
|
1
|
|
|
|
|
103
|
|
3
|
|
|
|
|
|
|
package Test::Reporter::Transport::Net::SMTP::TLS; |
4
|
|
|
|
|
|
|
our $VERSION = '1.59'; # VERSION |
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
982
|
use Test::Reporter::Transport::Net::SMTP; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
58
|
|
7
|
|
|
|
|
|
|
our @ISA = qw/Test::Reporter::Transport::Net::SMTP/; |
8
|
|
|
|
|
|
|
|
9
|
1
|
|
|
1
|
|
16
|
use Net::SMTP::TLS; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
62
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
1; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
# ABSTRACT: Authenticated SMTP transport for Test::Reporter |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=pod |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 NAME |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
Test::Reporter::Transport::Net::SMTP::TLS - Authenticated SMTP transport for Test::Reporter |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 VERSION |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
version 1.59 |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 SYNOPSIS |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
my $report = Test::Reporter->new( |
30
|
|
|
|
|
|
|
transport => 'Net::SMTP::TLS', |
31
|
|
|
|
|
|
|
transport_args => [ User => 'Joe', Password => '123' ], |
32
|
|
|
|
|
|
|
); |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 DESCRIPTION |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
This module transmits a Test::Reporter report using Net::SMTP::TLS. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 USAGE |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
See L and L for general usage |
41
|
|
|
|
|
|
|
information. |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head2 Transport Arguments |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
$report->transport_args( @args ); |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
Any transport arguments are passed through to the Net::SMTP::TLS constructer. |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head1 METHODS |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
These methods are only for internal use by Test::Reporter. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head2 new |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
my $sender = Test::Reporter::Transport::Net::SMTP::TLS->new( |
56
|
|
|
|
|
|
|
@args |
57
|
|
|
|
|
|
|
); |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
The C method is the object constructor. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head2 send |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
$sender->send( $report ); |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
The C method transmits the report. |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head1 AUTHORS |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=over 4 |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=item * |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
Adam J. Foxson |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=item * |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
David Golden |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=item * |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
Kirrily "Skud" Robert |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=item * |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
Ricardo Signes |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=item * |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
Richard Soderberg |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=item * |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
Kurt Starsinic |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=back |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
This software is copyright (c) 2011 by Authors and Contributors. |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
102
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
=cut |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
__END__ |