X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FTest-Valgrind.git;a=blobdiff_plain;f=lib%2FTest%2FValgrind%2FCommand.pm;h=158d4a3ecec275e4fba394a15700179213c14c1a;hp=eb5a3476a2e83cc3cbc345dc1fc659b9ef89bc10;hb=93bdd32c84466f212aded61d70219e82cb538620;hpb=0e79c45af8d5eabe900280cc0e5467936467dee9 diff --git a/lib/Test/Valgrind/Command.pm b/lib/Test/Valgrind/Command.pm index eb5a347..158d4a3 100644 --- a/lib/Test/Valgrind/Command.pm +++ b/lib/Test/Valgrind/Command.pm @@ -9,11 +9,11 @@ Test::Valgrind::Command - Base class for Test::Valgrind commands. =head1 VERSION -Version 1.01 +Version 1.10 =cut -our $VERSION = '1.01'; +our $VERSION = '1.10'; =head1 DESCRIPTION @@ -98,6 +98,17 @@ This method must be implemented when subclassing. sub suppressions_tag; +=head2 C + +The C<$session> calls this method after receiving a report from the tool and before forwarding it to the action. +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] } + =head1 SEE ALSO L, L.