Quick test includes Record::OPAC rather than Record::Fetch
[irspy-moved-to-github.git] / lib / ZOOM / IRSpy / Test / Main.pm
index 027da6b..428afd3 100644 (file)
@@ -1,4 +1,3 @@
-# $Id: Main.pm,v 1.1 2006-06-20 16:32:42 mike 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
@@ -17,18 +15,24 @@ ZOOM::IRSpy::Test::Main - a single test for IRSpy
 
 =head1 SYNOPSIS
 
- ### To follow
+ ## To follow
 
 =head1 DESCRIPTION
 
-I<### To follow>
+I<## To follow>
 
 =cut
 
-sub run {
-    my $this = shift();
+sub subtests { qw(Ping Search::Main Record::Main ResultSet::Main) }
 
-    return $this->run_tests("Ping");
+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
 }