logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

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

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

Bugs

       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.

Description

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

Methods

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

       Basic constructor.

   "started"
           $tvc->started($bool);

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

   "start"
           $tvc->start;

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

   "finish"
           $tvc->finish;

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

Name

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

See Also

       Test::Valgrind.

Support

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

           perldoc Test::Valgrind::Component

Version

       Version 1.19

See Also