DOKK / manpages / debian 12 / libtest-valgrind-perl / Test::Valgrind::Component.3pm.en
Test::Valgrind::Component(3pm) User Contributed Perl Documentation Test::Valgrind::Component(3pm)

Test::Valgrind::Component - Base class for Test::Valgrind components.

Version 1.19

This class is the base for all others that act as components that can be started and stopped.

    my $tvc = Test::Valgrind::Component->new;

Basic constructor.

    $tvc->started($bool);

Specifies whether the component is running (1), stopped (0) or was never started ("undef").

    $tvc->start;

Marks the component as started, and throws an exception if it was already. Returns its self object.

    $tvc->finish;

Marks the component as stopped, and throws an exception if it wasn't started. Returns its self object.

Test::Valgrind.

Vincent Pit, "<perl at profvince.com>", <http://www.profvince.com>.

You can contact me by mail or on "irc.perl.org" (vincent).

Please report any bugs or feature requests to "bug-test-valgrind at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Valgrind>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

You can find documentation for this module with the perldoc command.

    perldoc Test::Valgrind::Component

Copyright 2009,2010,2011,2013,2015,2016 Vincent Pit, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2022-12-06 perl v5.36.0