This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update Test-Harness to CPAN version 3.30
[perl5.git] / cpan / Test-Harness / t / lib / MyResultFactory.pm
CommitLineData
f7c69158
NC
1# subclass for testing customizing & subclassing
2
3package MyResultFactory;
4
5use strict;
befb5359 6use warnings;
f7c69158 7
f7c69158 8use MyResult;
f7c69158 9
406e3fef 10use base qw( TAP::Parser::ResultFactory MyCustom );
f7c69158
NC
11
12sub make_result {
13 my $class = shift;
14
15 # I know, this is not really being initialized, but
16 # for consistency's sake, deal with it :)
17 $main::INIT{$class}++;
18 return MyResult->new(@_);
19}
20
211;