X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FTest%2FValgrind%2FReport.pm;h=5139e31f30d19ed8cac67a2ed8695712380c57e8;hb=9314897b9f4c46057ac5147c0fb4c8fc6dd466a9;hp=9331cec30952aa0b0dcb30e3a43a1ff7ad739a26;hpb=08860dad1f820cce06758ec4add9353a4dbc8175;p=perl%2Fmodules%2FTest-Valgrind.git diff --git a/lib/Test/Valgrind/Report.pm b/lib/Test/Valgrind/Report.pm index 9331cec..5139e31 100644 --- a/lib/Test/Valgrind/Report.pm +++ b/lib/Test/Valgrind/Report.pm @@ -9,13 +9,23 @@ Test::Valgrind::Report - Base class for Test::Valgrind error reports. =head1 VERSION -Version 1.10 +Version 1.12 =cut -our $VERSION = '1.10'; +our $VERSION = '1.12'; -use base qw/Test::Valgrind::Carp/; +=head1 DESCRIPTION + +This class provides a generic API for messages (the so-called I) generated by the parser, filtered by the tool and the command, and handled by the action. +The tool has authority for deciding in which subclass of this one reports should be blessed. + +Reports are classified by I. +The C kind is reserved for diagnostics. + +=cut + +use base qw; =head2 C<< new kind => $kind, id => $id, data => $data >> @@ -65,7 +75,7 @@ sub new { =head2 C<< new_diag $data >> -Constructs an object with kind C<'Diag'>, an auto-incremented identifier and the given C<$data>. +Constructs a report with kind C<'Diag'>, an auto-incremented identifier and the given C<$data>. =cut @@ -148,7 +158,7 @@ You can find documentation for this module with the perldoc command. =head1 COPYRIGHT & LICENSE -Copyright 2009 Vincent Pit, all rights reserved. +Copyright 2009,2010,2011 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.