Re: loggerstore release

Peter Donald <peter-4lf8KW9E9MLMqX/[email protected]> Sat, 8 Nov 2003 16:00:27 +1100
Newsgroups gmane.comp.java.spice.devel
Message-ID <[email protected]>
Hi,

On Sat, 8 Nov 2003 07:00 am, Mauro Talevi wrote:
> I've been trying to complete the clover coverage on loggerstore
> (see http://spice.sourceforge.net/loggerstore/clover/index.html)
> but there is a test case that seems to be difficult to test,
> ie when the context classloader is null for the LogKitLoggerStoreFactory.
> This is because by the setting the context classloader to null
> the jaxp classes are not found anymore.
> I haven't been able to find a way around this.
>
> Any ideas are gratefully appreciated.  But if we can't find a
> solution soon, and given the clover coverage is > 99% I would
> propose to release loggerstore-1.0.

What I would do is make the getClassLoader() method package access and then 
test that method in isolation from testcase - possible as that is also in 
same package.


-- 
Cheers,

Peter Donald
---------------------------------------------------------
Clarke's Third Law: "Any technology distinguishable from 
magic is insufficiently advanced".
---------------------------------------------------------



-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/