harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hindess <mark.hind...@googlemail.com>
Subject Re: [classlib][test] Test input/output files location
Date Mon, 02 Oct 2006 08:08:02 GMT

On 28 September 2006 at 15:44, "Denis Kishenko" <dkishenko@gmail.com> wrote:
> I am going to fix some commented tests from java.awt.geom package. I
> have several organizational questions before start to do.
> 1. Where is the best place to put test resource files (golden files)?
> Testing conventions [1] keep silence about this. There are many such
> files located near the tests, for example
> modules\awt\src\test\api\java\common\java\awt\geom\shapes\*
> modules\awt\src\test\api\java\common\java\awt\shapes\*

As someone else said, these should be in the parallel resources tree.
At build time, they should be copied to modules\awt\bin\test so that
they can be located at run time using the classpath.  (This will allow
them to be packaged as a jar of tests.)

> 2. Where is the best place to put test output files? Now it is
> modules\awt\bin\test\java\awt\shapes\output
> modules\awt\bin\test\java\awt\geom\shapes\output

A temp directory - preferably not $HOME as some tests seem to at the 


Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org

View raw message