harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stepan Mishura" <stepan.mish...@gmail.com>
Subject Re: [classlib] resource files for testing serialization - location and name?
Date Thu, 18 May 2006 08:33:29 GMT
On 5/18/06, Jimmy, Jing Lv wrote:
>
> > Stepan Mishura wrote:
> <SNIP>
> > 4)Resource file name MUST contain some index.
> > In general, a test may use a set of resource files
> >
> > To summarize: for test org.apache.harmony.tests.java.lang.SomeClassTestwe
> > have the following structure
> > modules/luni/src/test/resources
> >    org/apache/harmony/tests/java/lang
> >        SomeClassTest.golden.0.ser
> >        SomeClassTest.golden.1.ser
> >        SomeClassTest.golden.2.ser
> >        SomeClassTest.harmony.0.ser
> >        SomeClassTest.harmony.1.ser
>
> For they are ser-files of a certain class, why not name it with the
> class's name, e.g. someclass.X.X.ser?


We may wish to create a number of tests for a class with names like
SomeClass1Test, SomeClass2Test .... So it will be clear from ser-file name
which test use it if the ser-file name starts with test's name.

Thanks,
Stepan

------------------------------------------------------
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message