X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FTest%2FValgrind%2FTool.pm;h=7560d52217e64663a11af909a9102c1ac70ae934;hb=08860dad1f820cce06758ec4add9353a4dbc8175;hp=8a0675fa8b6d2084ed5281354d2a1a029e12f854;hpb=732d824a6020c1bc4db54f069e64a112b616dff3;p=perl%2Fmodules%2FTest-Valgrind.git diff --git a/lib/Test/Valgrind/Tool.pm b/lib/Test/Valgrind/Tool.pm index 8a0675f..7560d52 100644 --- a/lib/Test/Valgrind/Tool.pm +++ b/lib/Test/Valgrind/Tool.pm @@ -9,11 +9,11 @@ Test::Valgrind::Tool - Base class for Test::Valgrind tools. =head1 VERSION -Version 1.02 +Version 1.10 =cut -our $VERSION = '1.02'; +our $VERSION = '1.10'; =head1 DESCRIPTION @@ -118,6 +118,17 @@ Called when the C<$session> starts. Defaults to set L. +=head2 C + +The <$session> calls this method after receiving a report from the parser and before letting the command filter it. +You can either return a mangled C<$report> (which does not need to be a clone of the original) or C if you want the action to ignore it completely. + +Defaults to the identity function. + +=cut + +sub filter { $_[2] } + =head2 C Called when the C<$session> finishes.