avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: cvs commit: jakarta-avalon-logkit/src/java/org/apache/log Logger.java
Date Mon, 13 Aug 2001 01:44:25 GMT
On Mon, 13 Aug 2001 08:21, Berin Loritsch wrote:
> --- donaldp@apache.org wrote:
> > donaldp     01/08/12 06:35:49
> >
> >   Modified:    src/java/org/apache/log Logger.java
> >   Log:
> >   Made Logger safe from masquarading again.
>
> Pete, can you please add in some TestCases for LogKit
> that replicate these types of issues.  We should only
> need to add them when it is brought to our attention.
>
> That way we can test if any fixes break known issues
> (i.e. regression testing).

Sure ... the problem is that I am not so sure how to go about doing that. The 
only thing I could do is something like

assert( 0 == logger.getLogTargets().length );

???

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*

---------------------------------------------------------------------
To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: avalon-dev-help@jakarta.apache.org


Mime
View raw message