Re: [Apache-dispatch-devel] Fwd: SF.net SVN: apache-dispatch: [50] trunk
Brought to you by:
geoffrey_young,
phred_moyer
|
From: Geoffrey Y. <ge...@mo...> - 2006-08-07 18:28:14
|
Fred Moyer wrote: > On Tue, 1 Aug 2006, Fred Moyer wrote: > > >>I think that I've got the last bug fixed, it's skipping the tests properly when Apache::Test is not installed. > > > Drats - I found a bug last night. This incarnation skips the tests just > fine, but doesn't run them. It comes down to when I call GET_OK, but I > didn't 'use Apache::TestRequest' in the test script, I used the eval ... > code snippet borrowed from WebService::CaptchaDotNet, so I get the error > "can't call method GET_OK without package name". I called > Apache::TestRequest->import(qw(GET_OK)) in my eval call, but the import > only seems to work if I 'use Apache::TestRequest'. But that makes it hard > to load the package conditionally like WS::CDN does. require Apache::TestRequest; ? > > I could get rid of the GET_OK call for now - I banged my head on this for > a couple hours and have a deeper understanding of Apache::Test but still > no guess as how to require Apache::TestRequest and import GET_OK. I'll > try to wrap up a skeleton snippet which reproduces this issue and submit > it to the Apache::Test list. > > > > >>All tests passing for me on mp1 and mp2. I put a new dist up at http://www.redhotpenguin.com/Apache-Dispatch-0.10.tar.gz I'll try to give that a whirl "soonish" :) --Geoff |