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 Wed, 24 May 2006 02:18:16 GMT
On 5/24/06, Geir Magnusson Jr  wrote:
>
> Do you believe you came to a conclusion?  Do you want to summarize?


Yes, I'm going to put summary on web-site.

Thanks,
Stepan.

geir
>
> Stepan Mishura wrote:
> > Hi,
> >
> > During the last discussion no agreements were made - though it was very
> > useful for me. And I'd like to start new round for serialization
> testing. I
> > want to define rules for locating and naming resource files for
> > serialization. There is only agreement that we put all files for testing
> > serialization to folder:
> > modules/<module name>/src/test/resources/ and I'd like to work out a
> rules
> > where to locate ser files for a test inside that folder and how to name
> > them. I want to propose the following rules:
> >
> > 1)Path to resource files MUST match a test's package
> > I think it will be easier to find all test's resource files.
> >
> > 2)Resource file name MUST starts with a test's name
> > IMHO, it should be clear from resource file name which test use it
> >
> > 3)Resource file name MUST contain keywords pointing out to
> implementation
> > Keyword is intended to signal on which implementation a resource file
> was
> > generated – so we can track Harmony backward compatibility and
> > compatibility
> > with RI. For example, for files generated on RI we may use 'golden'
> keyword
> > and for Harmony – 'harmony'.
> >
> > 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
> >
> > Thanks,
> > Stepan Mishura
> > Intel Middleware Products Division
> >
> > ------------------------------------------------------
> > 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
> >
>
>
> ---------------------------------------------------------------------
> 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
>
>


-- 
Thanks,
Stepan Mishura
Intel Middleware Products Division

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