logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Bushman <...@traxel.com>
Subject Re: Test Classes
Date Sat, 22 Dec 2001 15:21:19 GMT
<preface>I'm not a contributor yet, so devalue
my opinion accordingly :)</preface>

I concur, my typical directory structure would have
something like:

ClassTest is then in the same package as Class,
giving it access to package and protected methods,
but does not contaminate the source directory

On Sat, 22 Dec 2001, Incze Lajos wrote:

> On Fri, Dec 21, 2001 at 02:51:16PM -0800, Fox Stephen wrote:
> > It is my opinion that the test classes and example
> > classes in the log4j distribution should live in a
> > separate directory tree from the production level
> > distribution.
> >
> I'd like to second this. In the jakarta commons project there are
> "java" and "test" source trees. The eclipse dev. environment
> complained, too that some classes under org/jakarta/log4j/test
> belong to package org.jakarta.log4j. They need to belong to there
> (as use package private methods) but eclipse complaining is
> also understandable: if you can put the source files wherever you want
> and just use the package directive the refactoring features become
> really complicated. With separating the java, test or e.g. examples
> source trees the directory structure and the package directives
> can be in synchron what makes things cleaner - and not only
> for the IDE.
> incze
> --
> To unsubscribe, e-mail:   <mailto:log4j-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:log4j-dev-help@jakarta.apache.org>

  "I need some water" "How much?" "Enough to put a fire out"
  "Where do you want it?" "On the flames"

To unsubscribe, e-mail:   <mailto:log4j-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-dev-help@jakarta.apache.org>

View raw message