Add timeout()
[irspy-moved-to-github.git] / lib / ZOOM / IRSpy / Test / Main.pm
index b4e9d73..6814217 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Main.pm,v 1.6 2006-10-02 13:08:42 sondberg Exp $
+# $Id: Main.pm,v 1.14 2007-04-18 15:24:55 mike Exp $
 
 package ZOOM::IRSpy::Test::Main;
 
@@ -7,8 +7,7 @@ use strict;
 use warnings;
 
 use ZOOM::IRSpy::Test;
-our @ISA;
-@ISA = qw(ZOOM::IRSpy::Test);
+our @ISA = qw(ZOOM::IRSpy::Test);
 
 
 =head1 NAME
@@ -25,10 +24,16 @@ I<## To follow>
 
 =cut
 
-sub run {
-    my $this = shift();
+sub subtests { qw(Ping Search::Main Record::Main ResultSet::Main) }
 
-    return $this->run_tests(qw(Ping Search::Main));
+sub timeout { 90 }
+
+sub start {
+    my $class = shift();
+    my($conn) = @_;
+
+    $conn->log("irspy_test", "Main test no-opping");
+    # Do nothing -- this test is just a subtest container
 }