Test::Valgrind::Tool::SuppressionsParser.3pm

Langue: en

Version: 2009-05-02 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

Test::Valgrind::Tool::SuppressionsParser - Mock Test::Valgrind::Tool for parsing valgrind suppressions.

VERSION

Version 1.02

DESCRIPTION

This class provides a default "parse_suppressions" method, so that real tools for which suppressions are meaningful can exploit it by inheriting.

It's not meant to be used directly as a tool.

METHODS

new

Just a croaking stub to remind you not to use this class as a real tool.

If your tool both inherit from this class and from "Test::Valgrind::Tool", and that you want to dispatch the call to your "new" to its ancestors', be careful with "SUPER" which may end up calling this dieing version of "new". The solution is to either put "Test::Valgrind::Tool" first in the @ISA list or to explicitely call "Test::Valgrind::Tool::new" instead of "SUPER::new".

report_class_suppressions $session

Generated reports are "Test::Valgrind::Report::Suppressions" objects. Their "data" member contains the raw text of the suppression.

parse_suppressions $session, $fh

Parses the filehandle $fh fed with the output of valgrind --gen-suppressions=all and sends a report to the session $session for each suppression.

SEE ALSO

Test::Valgrind, Test::Valgrind::Tool.

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::Tool::SuppressionsParser
 
 
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.