1Test::Valgrind::ComponeUnste(r3)Contributed Perl DocumenTteastti:o:nValgrind::Component(3)
2
3
4
6 Test::Valgrind::Component - Base class for Test::Valgrind components.
7
9 Version 1.19
10
12 This class is the base for all others that act as components that can
13 be started and stopped.
14
16 "new"
17 my $tvc = Test::Valgrind::Component->new;
18
19 Basic constructor.
20
21 "started"
22 $tvc->started($bool);
23
24 Specifies whether the component is running (1), stopped (0) or was
25 never started ("undef").
26
27 "start"
28 $tvc->start;
29
30 Marks the component as started, and throws an exception if it was
31 already. Returns its self object.
32
33 "finish"
34 $tvc->finish;
35
36 Marks the component as stopped, and throws an exception if it wasn't
37 started. Returns its self object.
38
40 Test::Valgrind.
41
43 Vincent Pit, "<perl at profvince.com>", <http://www.profvince.com>.
44
45 You can contact me by mail or on "irc.perl.org" (vincent).
46
48 Please report any bugs or feature requests to "bug-test-valgrind at
49 rt.cpan.org", or through the web interface at
50 <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Valgrind>. I will
51 be notified, and then you'll automatically be notified of progress on
52 your bug as I make changes.
53
55 You can find documentation for this module with the perldoc command.
56
57 perldoc Test::Valgrind::Component
58
60 Copyright 2009,2010,2011,2013,2015,2016 Vincent Pit, all rights
61 reserved.
62
63 This program is free software; you can redistribute it and/or modify it
64 under the same terms as Perl itself.
65
66
67
68perl v5.28.0 2016-08-01 Test::Valgrind::Component(3)