-This is a L<Test::Valgrind::Parser> object that can extract suppressions from C<valgrind>'s text output.
+This is a L<Test::Valgrind::Parser::Text> object that can extract suppressions from C<valgrind>'s text output.
=cut
=cut
-use base qw/Test::Valgrind::Parser::Text Test::Valgrind::Carp/;
+use Test::Valgrind::Suppressions;
+
+use base qw<Test::Valgrind::Parser::Text Test::Valgrind::Carp>;
=head1 METHODS
=head1 METHODS
@@ -34,12+36,6 @@ Their C<data> member contains the raw text of the suppression.
sub report_class { 'Test::Valgrind::Report::Suppressions' }
sub report_class { 'Test::Valgrind::Report::Suppressions' }
-=head2 C<parse $session, $fh>
-
-Parses the filehandle C<$fh> fed with the output of F<valgrind --gen-suppressions=all> and sends a report to the session C<$session> for each suppression.