harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: Framework for Testing Serialization
Date Thu, 19 Aug 2010 02:22:54 GMT
On 18/Aug/2010 12:20, Matthias Wessendorf wrote:
> for Apache MyFaces I am looking for some serialization testing and
> came accross this document:
> 
> http://harmony.apache.org/subcomponents/classlibrary/ser_testing.html
> 
> I am wonder what's the state there?

We have a number of serialization tests in Harmony.  You might want to
follow through a few examples and see how they use the framework defined
in [1].

Briefly, our JUnit tests are grouped by implementation classes, and
contain calls to:

    SerializationTest.verifySelf(<an instance>);
and
    SerializationTest.verifyGolden(this, <an instance>);


[1]
https://svn.apache.org/repos/asf/harmony/enhanced/java/trunk/classlib/support/src/test/java/tests/util/SerializationTester.java

Regards,
Tim

Mime
View raw message