X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;ds=sidebyside;f=lib%2FTest%2FValgrind%2FParser.pm;h=3ae3a19605e9791f79c457a8dbb639a53aa549a9;hb=b34179155630f5f4cbea1749af4054a746ded9a4;hp=079f93219a1fc32abd423f1a30438780a5648dac;hpb=77d53e292f2fdac4991d1d6c140f1edd79ff3afa;p=perl%2Fmodules%2FTest-Valgrind.git diff --git a/lib/Test/Valgrind/Parser.pm b/lib/Test/Valgrind/Parser.pm index 079f932..3ae3a19 100644 --- a/lib/Test/Valgrind/Parser.pm +++ b/lib/Test/Valgrind/Parser.pm @@ -9,11 +9,11 @@ Test::Valgrind::Parser - Base class for Test::Valgrind parsers. =head1 VERSION -Version 1.13 +Version 1.17 =cut -our $VERSION = '1.13'; +our $VERSION = '1.17'; =head1 DESCRIPTION @@ -55,9 +55,10 @@ sub args { } =head2 C - $tvp->parse($session, $fh); + my $aborted = $tvp->parse($session, $fh); -Parse the output of the C process attached to the session C<$session> received through the filehandle C<$fh>. +Parses the output of the C process attached to the session C<$session> received through the filehandle C<$fh>. +Returns true when the output indicates that C has aborted. This method must be implemented when subclassing. @@ -96,7 +97,7 @@ You can find documentation for this module with the perldoc command. =head1 COPYRIGHT & LICENSE -Copyright 2009,2010,2011,2013 Vincent Pit, all rights reserved. +Copyright 2009,2010,2011,2013,2015 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.