X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=lib%2FZOOM%2FIRSpy%2FTest.pm;h=0055e8286c9071684069d416b3ea87e13a62b38d;hb=3c4477e7a38ce6badda0cd3a1242c090fa128022;hp=bc5fdce6ea04e6b15b5eb4eac225461fed7fae94;hpb=93ae498c754d95bd05d687220477be2fe4316757;p=irspy-moved-to-github.git diff --git a/lib/ZOOM/IRSpy/Test.pm b/lib/ZOOM/IRSpy/Test.pm index bc5fdce..0055e82 100644 --- a/lib/ZOOM/IRSpy/Test.pm +++ b/lib/ZOOM/IRSpy/Test.pm @@ -1,4 +1,4 @@ -# $Id: Test.pm,v 1.5 2006-10-13 10:07:36 sondberg Exp $ +# $Id: Test.pm,v 1.7 2006-11-29 18:16:21 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 @@ -33,22 +30,6 @@ sub start { } -sub get_handle { - return $_->{'handle'}; -} - - - -# 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