line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# ABSTRACT: Parser for Selenese |
2
|
|
|
|
|
|
|
package Parse::Selenese; |
3
|
3
|
|
|
3
|
|
212523
|
use Moose; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
use Parse::Selenese::TestCase; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = '0.006'; # VERSION |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub parse { |
9
|
|
|
|
|
|
|
Parse::Selenese::TestCase->new(shift); |
10
|
|
|
|
|
|
|
} |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
1; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=pod |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 NAME |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
Parse::Selenese - Parser for Selenese |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 VERSION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
version 0.006 |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 SYNOPSIS |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
use Parse::Selenese; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 DESCRIPTION |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
Parse::Selenese makes it easy to parse Selenium Test Suites and Test Cases from |
33
|
|
|
|
|
|
|
their HTML format into Perl. |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head2 Functions |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=over |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=item C<Parse::Selenese::parse($file_name|$content|%args)> |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
Return a Parse::Selenese::TestCase, Parse::Selenese::TestSuite or undef if |
42
|
|
|
|
|
|
|
unable to parse the file name or content. |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=back |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 NAME |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
Parse::Selenese - Easy Selenium Test Suite and Test Case parsing. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 AUTHOR |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
Theodore Robert Campbell Jr. E<lt>trcjr@cpan.orgE<gt> |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 SEE ALSO |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head1 LICENSE |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or modify |
59
|
|
|
|
|
|
|
it under the same terms as Perl itself. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=for :stopwords cpan testmatrix url annocpan anno bugtracker rt cpants kwalitee diff irc mailto metadata placeholders |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head1 SUPPORT |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=head2 Bugs / Feature Requests |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
Please report any bugs or feature requests through the issue tracker |
68
|
|
|
|
|
|
|
at L<http://rt.cpan.org/Public/Dist/Display.html?Name=Parse-Selenese>. |
69
|
|
|
|
|
|
|
You will be notified automatically of any progress on your issue. |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head2 Source Code |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
This is open source software. The code repository is available for |
74
|
|
|
|
|
|
|
public review and contribution under the terms of the license. |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
L<http://github.com/trcjr/Parse-Selenese> |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
git clone http://github.com/trcjr/Parse-Selenese |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=head1 AUTHOR |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
Theodore Robert Campbell Jr <trcjr@cpan.org> |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
This software is copyright (c) 2011 by Theodore Robert Campbell Jr. |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
89
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=cut |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
__END__ |
95
|
|
|
|
|
|
|
|