From 295e2b4a735dbc1dc00e4d92f6c54ffe7519eb14 Mon Sep 17 00:00:00 2001 From: JT Smith Date: Sun, 15 Jan 2006 06:09:33 +0000 Subject: [PATCH] working once again --- t/POD.t | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) 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(); -}