@@ -9,11+9,11 @@ Test::Valgrind::Action - Base class for Test::Valgrind actions.
=head1 VERSION
=head1 VERSION
-Version 1.12
+Version 1.15
=cut
=cut
-our $VERSION = '1.12';
+our $VERSION = '1.15';
=head1 DESCRIPTION
=head1 DESCRIPTION
@@ -27,7+27,9 @@ use base qw<Test::Valgrind::Component Test::Valgrind::Carp>;
=head1 METHODS
=head1 METHODS
-=head2 C<< new action => $action >>
+=head2 C<new>
+
+ my $tva = Test::Valgrind::Action->new(action => $action);
Creates a new action object of type C<$action> by requiring and redispatching the method call to the module named C<$action> if it contains C<'::'> or to C<Test::Valgrind::Action::$action> otherwise.
The class represented by C<$action> must inherit this class.
Creates a new action object of type C<$action> by requiring and redispatching the method call to the module named C<$action> if it contains C<'::'> or to C<Test::Valgrind::Action::$action> otherwise.
The class represented by C<$action> must inherit this class.
@@ -60,13+62,17 @@ Indicates if the action wants C<valgrind> to run in suppression-generating mode
sub do_suppressions { 0 }
sub do_suppressions { 0 }
-=head2 C<start $session>
+=head2 C<start>
+
+ $tva->start($session);
Called when the C<$session> starts.
Defaults to set L<Test::Valgrind::Component/started>.
Called when the C<$session> starts.
Defaults to set L<Test::Valgrind::Component/started>.
-=head2 C<report $session, $report>
+=head2 C<report>
+
+ $tva->report($session, $report);
Invoked each time the C<valgrind> process attached to the C<$session> spots an error.
C<$report> is a L<Test::Valgrind::Report> object describing the error.
Invoked each time the C<valgrind> process attached to the C<$session> spots an error.
C<$report> is a L<Test::Valgrind::Report> object describing the error.