Quick test includes Record::OPAC rather than Record::Fetch
[irspy-moved-to-github.git] / lib / ZOOM / IRSpy / Test / Main.pm
index 91a91f5..428afd3 100644 (file)
@@ -1,4 +1,3 @@
-# $Id: Main.pm,v 1.4 2006-09-26 13:12:28 sondberg Exp $
 
 package ZOOM::IRSpy::Test::Main;
 
@@ -7,8 +6,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,11 +23,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::Bib1));
-    return $this->run_tests(qw(Ping Search::Title Search::Bib1));
+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
 }