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] How to test serialization? (was: [classlib] Tests for serialization – which package, name?)
Date Tue, 02 May 2006 10:39:53 GMT
Anton, thank you for pointing out to awt/swing classes - I've looked through
a number of randomly selected classes and I've realized that many of them
haven't specified serial form.

I'll try to estimate percentage of such classes.


On 5/2/06, Anton Avtamonov wrote:
> Stepan.
> Let me answer you shortly: yes, my main concern is about an assetion step.
> Just because I saw too many classes without specified serialization
> form, without equals() and so on. Actually, I suppose that is the
> entire graphical framework (awt + Swing) which is definitely more then
> 5% :-). I didn't deep investigations of course, but suppose that the
> simple assertion approach would not work there. Just because it will
> require to compare specific fields rather than call assertEquals().
> About third scenario with IOException.
> If IOException is the only possible reaction for incorrect form then
> you are right: we don't need any specific checks.
> --
> Anton Avtamonov,
> Intel Middleware Products Division
> <SNIP>

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

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