From: Mike Taylor Date: Wed, 18 Apr 2007 15:24:45 +0000 (+0000) Subject: Add timeout() X-Git-Tag: CPAN-v1.02~54^2~421 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=e17e24783117f0581aa9964004b3b7696b988c5c;p=irspy-moved-to-github.git Add timeout() --- diff --git a/lib/ZOOM/IRSpy/Test.pm b/lib/ZOOM/IRSpy/Test.pm index 0055e82..e73061a 100644 --- a/lib/ZOOM/IRSpy/Test.pm +++ b/lib/ZOOM/IRSpy/Test.pm @@ -1,4 +1,4 @@ -# $Id: Test.pm,v 1.7 2006-11-29 18:16:21 mike Exp $ +# $Id: Test.pm,v 1.8 2007-04-18 15:24:45 mike Exp $ package ZOOM::IRSpy::Test; @@ -22,6 +22,8 @@ I<## To follow> sub subtests { () } +sub timeout { undef } + sub start { my $class = shift(); my($conn) = @_; diff --git a/lib/ZOOM/IRSpy/Test/Main.pm b/lib/ZOOM/IRSpy/Test/Main.pm index f49090a..6814217 100644 --- a/lib/ZOOM/IRSpy/Test/Main.pm +++ b/lib/ZOOM/IRSpy/Test/Main.pm @@ -1,4 +1,4 @@ -# $Id: Main.pm,v 1.13 2006-11-02 11:46:40 sondberg Exp $ +# $Id: Main.pm,v 1.14 2007-04-18 15:24:55 mike Exp $ package ZOOM::IRSpy::Test::Main; @@ -26,6 +26,8 @@ I<## To follow> sub subtests { qw(Ping Search::Main Record::Main ResultSet::Main) } +sub timeout { 90 } + sub start { my $class = shift(); my($conn) = @_; diff --git a/lib/ZOOM/IRSpy/Test/Quick.pm b/lib/ZOOM/IRSpy/Test/Quick.pm index 894efda..8a2f54b 100644 --- a/lib/ZOOM/IRSpy/Test/Quick.pm +++ b/lib/ZOOM/IRSpy/Test/Quick.pm @@ -1,4 +1,4 @@ -# $Id: Quick.pm,v 1.3 2006-10-25 10:48:34 mike Exp $ +# $Id: Quick.pm,v 1.4 2007-04-18 15:25:07 mike Exp $ package ZOOM::IRSpy::Test::Quick; @@ -11,6 +11,8 @@ our @ISA = qw(ZOOM::IRSpy::Test); sub subtests { qw(Ping Record::Fetch) } +sub timeout { 20 } + sub start { my $class = shift(); my($conn) = @_;