File: OverrideNew.pm

package info (click to toggle)
libtest-unit-perl 0.28-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,312 kB
  • sloc: perl: 4,299; makefile: 5
file content (14 lines) | stat: -rw-r--r-- 274 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package InheritedSuite::OverrideNew;

use strict;

use base qw(Test::Unit::TestSuite);

sub new {
  my $class = shift;
  my $self = $class->SUPER::empty_new('Inherited suite overriding new()');
  $self->add_test(Test::Unit::TestSuite->new('Success'));
  return $self;
}

1;