[jdom-commits] CVS update: jdom-test

Jools Enticknap jools at jools.org
Wed Aug 16 13:29:18 PDT 2000

On Wed, 16 Aug 2000, Jason Hunter wrote:

> joolscvs at cvs.jdom.org wrote:
> > 
> > The location of the jdom-contrib test cases are going to be moved 
> > into the org.jdom.test.cases package after the current problems 
> > have been resolved.
> What's wrong with org.jdom.contrib.test.cases?  Seems to me the split
> between core tests and contrib tests should be very clear.  Plus an
> org.jdom.contrib.input test prob shouldn't share dirs with an
> org.jdom.input test.  Is there a problem with this design?

Well I would prefer all the test case classes to reside under the
org.jdom.test.cases package. 

The contrib stuff will reside under org.jdom.test.cases.contrib, which I
think is pretty clear. Plus I won't have to make a special case for the
test case generator so that it puts the test cases into a different

The transformation is thus;

If the package of the class is say org.jdom.input, the test case generator
will place the test cases in org.jdom.test.cases.input.

If say the test cases were being generated for say org.jdom.contrib.xpath
the test cases would be placed in org.jdom.test.cases.contrib.xpath.

This might look a might over the top, but the test case verifier (which
I'm writting at the moment) uses the package of the class to be tested to
locate the test cases for any given class in the org.jdom.* heirachy.


More information about the jdom-commits mailing list