]> git.vpit.fr Git - perl/modules/Test-Valgrind.git/blobdiff - lib/Test/Valgrind/Tool.pm
Remove support for report_class_{suppressions,analysis} in tools
[perl/modules/Test-Valgrind.git] / lib / Test / Valgrind / Tool.pm
index a82b95d676632a0f65c0e6d632375908b6ab3105..147ee1109b00dc25851b6b8492f1d9d4c3ab50dd 100644 (file)
@@ -73,39 +73,13 @@ sub new_trainer { }
 
 =head2 C<report_class $session>
 
-Wraps around either L</report_class_suppressions> or L</report_class_analysis> depending on the running mode of the C<$session>.
-
-=cut
-
-sub report_class {
- my ($self, $sess) = @_;
-
- if ($sess->do_suppressions) {
-  $self->report_class_suppressions($sess);
- } else {
-  $self->report_class_analysis($sess);
- }
-}
-
-=head2 C<report_class_suppressions $session>
-
 Returns the class in which suppression reports generated by this tool will be blessed.
 
 This method must be implemented when subclassing.
 
 =cut
 
-sub report_class_suppression;
-
-=head2 C<report_class_analysis $session>
-
-Returns the class in which error reports generated by this tool will be blessed.
-
-This method must be implemented when subclassing.
-
-=cut
-
-sub report_class_analysis;
+sub report_class;
 
 =head2 C<args $session>