diff --git a/t/POD.t b/t/POD.t index cf7be69a7..a3a331663 100644 --- a/t/POD.t +++ b/t/POD.t @@ -1,5 +1,5 @@ #------------------------------------------------------------------- -# WebGUI is Copyright 2001-2005 Plain Black Corporation. +# WebGUI is Copyright 2001-2006 Plain Black Corporation. #------------------------------------------------------------------- # Please read the legal notices (docs/legal.txt) and the license # (docs/license.txt) that came with this distribution before using @@ -19,7 +19,6 @@ use File::Find; use Test::More; -my $session = initialize(); # this line is required my @modules = (); find(\&countModules, "../lib/WebGUI"); @@ -31,7 +30,6 @@ foreach my $package (sort @modules) { ok($pc->coverage, $package); } -cleanup($session); # this line is required sub countModules { my $filename = $File::Find::dir."/".$_; @@ -46,20 +44,4 @@ sub countModules { -# ---- DO NOT EDIT BELOW THIS LINE ----- - -sub initialize { - $|=1; # disable output buffering - my $configFile; - GetOptions( - 'configFile=s'=>\$configFile - ); - exit 1 unless ($configFile); - my $session = WebGUI::Session->open("..",$configFile); -} - -sub cleanup { - my $session = shift; - $session->close(); -}