1Test::Valgrind::Parser(U3s)er Contributed Perl DocumentatTieosnt::Valgrind::Parser(3)
2
3
4
6 Test::Valgrind::Parser - Base class for Test::Valgrind parsers.
7
9 Version 1.19
10
12 This class is the base for Test::Valgrind parsers.
13
15 "new"
16 my $tvp = Test::Valgrind::Parser->new;
17
18 The parser constructor, called without arguments.
19
20 Defaults to "new" in Test::Valgrind::Component.
21
22 "start"
23 $tvp->start($session);
24
25 Called when the $session starts.
26
27 Defaults to set "started" in Test::Valgrind::Component.
28
29 "args"
30 my @args = $tvp->args($session, $fh);
31
32 Returns the list of parser-specific arguments that are to be passed to
33 the "valgrind" process spawned by the session $session and whose output
34 will be captured by the filehandle $fh.
35
36 Defaults to the empty list.
37
38 "parse"
39 my $aborted = $tvp->parse($session, $fh);
40
41 Parses the output of the "valgrind" process attached to the session
42 $session received through the filehandle $fh. Returns true when the
43 output indicates that "valgrind" has aborted.
44
45 This method must be implemented when subclassing.
46
47 "finish"
48 $tvp->finish($session);
49
50 Called when the $session finishes.
51
52 Defaults to clear "started" in Test::Valgrind::Component.
53
55 Test::Valgrind, Test::Valgrind::Component, Test::Valgrind::Session.
56
58 Vincent Pit, "<perl at profvince.com>", <http://www.profvince.com>.
59
60 You can contact me by mail or on "irc.perl.org" (vincent).
61
63 Please report any bugs or feature requests to "bug-test-valgrind at
64 rt.cpan.org", or through the web interface at
65 <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Valgrind>. I will
66 be notified, and then you'll automatically be notified of progress on
67 your bug as I make changes.
68
70 You can find documentation for this module with the perldoc command.
71
72 perldoc Test::Valgrind::Parser
73
75 Copyright 2009,2010,2011,2013,2015,2016 Vincent Pit, all rights
76 reserved.
77
78 This program is free software; you can redistribute it and/or modify it
79 under the same terms as Perl itself.
80
81
82
83perl v5.38.0 2023-07-30 Test::Valgrind::Parser(3)