Test::Valgrind::Parser - Base class for Test::Valgrind parsers.


Test-Valgrind documentation Contained in the Test-Valgrind distribution.

Index


Code Index:

NAME

Top

Test::Valgrind::Parser - Base class for Test::Valgrind parsers.

VERSION

Top

Version 1.12

DESCRIPTION

Top

This class is the base for Test::Valgrind parsers.

METHODS

Top

new

The parser constructor, called without arguments.

Defaults to new in Test::Valgrind::Component.

start $session

Called when the $session starts.

Defaults to set started in Test::Valgrind::Component.

args $session, $fh

Returns the list of parser-specific arguments that are to be passed to the valgrind process spawned by the session $session and whose output will be captured by the filehandle $fh.

Defaults to the empty list.

parse $session, $fh

Parse the output of the valgrind process attached to the session $session received through the filehandle $fh.

This method must be implemented when subclassing.

finish $session

Called when the $session finishes.

Defaults to clear started in Test::Valgrind::Component.

SEE ALSO

Top

Test::Valgrind, Test::Valgrind::Component, Test::Valgrind::Session.

AUTHOR

Top

Vincent Pit, <perl at profvince.com>, http://www.profvince.com.

You can contact me by mail or on irc.perl.org (vincent).

BUGS

Top

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

Top

You can find documentation for this module with the perldoc command.

    perldoc Test::Valgrind::Parser

COPYRIGHT & LICENSE

Top


Test-Valgrind documentation Contained in the Test-Valgrind distribution.
package Test::Valgrind::Parser;

use strict;
use warnings;

our $VERSION = '1.12';

use base qw/Test::Valgrind::Component Test::Valgrind::Carp/;

sub args { }

sub parse;

1; # End of Test::Valgrind::Parser