X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=lib%2FZOOM%2FIRSpy%2FTest.pm;h=0055e8286c9071684069d416b3ea87e13a62b38d;hb=5dd9c46e9bd2d6bd99a0d2aa728ed5430aeec3e8;hp=cab2e09e09ab0adf300ee51b912cb92a7ca6f369;hpb=a8ef4e0dce00d9c580d3d7875d48db36f9bdf37f;p=irspy-moved-to-github.git diff --git a/lib/ZOOM/IRSpy/Test.pm b/lib/ZOOM/IRSpy/Test.pm index cab2e09..0055e82 100644 --- a/lib/ZOOM/IRSpy/Test.pm +++ b/lib/ZOOM/IRSpy/Test.pm @@ -1,4 +1,4 @@ -# $Id: Test.pm,v 1.2 2006-07-21 11:30:51 mike Exp $ +# $Id: Test.pm,v 1.7 2006-11-29 18:16:21 mike Exp $ package ZOOM::IRSpy::Test; @@ -20,39 +20,13 @@ I<## To follow> =cut -sub new { - my $class = shift(); - my($irspy) = @_; - - return bless { - irspy => $irspy, - }, $class; -} - - -sub irspy { - my $this = shift(); - return $this->{irspy}; -} +sub subtests { () } +sub start { + my $class = shift(); + my($conn) = @_; -sub run { - my $this = shift(); - die "can't run the base-class test"; -} - -### Could include loop detection -sub run_tests { - my $this = shift(); - my @tname = @_; - - my $res = 0; - foreach my $tname (@tname) { - my $sub = $this->irspy()->_run_test($tname); - $res = $sub if $sub > $res; - } - - return $res; + die "can't start the base-class test"; }