Remove isodate(), which is now in Utils.pm
[irspy-moved-to-github.git] / lib / ZOOM / IRSpy / Test.pm
index d306b29..0055e82 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Test.pm,v 1.1 2006-06-20 16:32:42 mike Exp $
+# $Id: Test.pm,v 1.7 2006-11-29 18:16:21 mike Exp $
 
 package ZOOM::IRSpy::Test;
 
@@ -12,47 +12,21 @@ ZOOM::IRSpy::Test - base class for tests in IRSpy
 
 =head1 SYNOPSIS
 
- ### To follow
+ ## To follow
 
 =head1 DESCRIPTION
 
-I<### To follow>
+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";
 }