NAME
Test::Valgrind::Report - Base class for Test::Valgrind error reports.
VERSION
Version 1.10
new kind => $kind, id => $id, data => $data
Your usual constructor.
All options are mandatory :
kind
is the category of the report.id
is an unique identifier for the report.data
is the content.
new_diag $data
Constructs an object with kind 'Diag'
, an auto-incremented identifier and the given $data
.
kind
Read-only accessor for the kind
option.
id
Read-only accessor for the id
option.
data
Read-only accessor for the data
option.
is_diag
Tells if a report has the 'Diag'
kind, i.e. is a diagnostic.
kinds
Returns the list of valid kinds for this report class.
Defaults to 'Diag'
.
valid_kind $kind
Tells whether $kind
is a valid kind for this report class.
Defaults to true iff $kind eq 'Diag'
.
SEE ALSO
AUTHOR
Vincent Pit, <perl at profvince.com>
, http://www.profvince.com.
You can contact me by mail or on irc.perl.org
(vincent).
BUGS
Please report any bugs or feature requests to bug-test-valgrind at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Valgrind. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Test::Valgrind::Report
COPYRIGHT & LICENSE
Copyright 2009 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.