X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=lib%2FZOOM%2FIRSpy%2FTest.pm;h=e73061abb3f0bba2920d8d4337a3e0901ff4cd3b;hp=7cd0a18d1f671b30c8ff540921458aa0f9712633;hb=a33fc154378be5c0b0c3f4fdc1ff4c1d32c379b3;hpb=ead5f12522828badfbf2725cb1885a7b6b8208ff diff --git a/lib/ZOOM/IRSpy/Test.pm b/lib/ZOOM/IRSpy/Test.pm index 7cd0a18..e73061a 100644 --- a/lib/ZOOM/IRSpy/Test.pm +++ b/lib/ZOOM/IRSpy/Test.pm @@ -1,4 +1,4 @@ -# $Id: Test.pm,v 1.6 2006-10-13 10:08:57 sondberg Exp $ +# $Id: Test.pm,v 1.8 2007-04-18 15:24:45 mike Exp $ package ZOOM::IRSpy::Test; @@ -6,9 +6,6 @@ use 5.008; use strict; use warnings; -use Exporter 'import'; -our @EXPORT = qw(isodate); - =head1 NAME ZOOM::IRSpy::Test - base class for tests in IRSpy @@ -25,6 +22,8 @@ I<## To follow> sub subtests { () } +sub timeout { undef } + sub start { my $class = shift(); my($conn) = @_; @@ -33,17 +32,6 @@ sub start { } - -# Utility function, really nothing to do with IRSpy -sub isodate { - my($time) = @_; - - my($sec, $min, $hour, $mday, $mon, $year) = localtime($time); - return sprintf("%04d-%02d-%02dT%02d:%02d:%02d", - $year+1900, $mon+1, $mday, $hour, $min, $sec); -} - - =head1 SEE ALSO ZOOM::IRSpy