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

Reply via email to