commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Carman" <ja...@carmanconsulting.com>
Subject [proxy] SerializingInterceptor...
Date Fri, 19 Oct 2007 15:42:11 GMT
When unit testing classes that are going to be remotified (it's a
word), it's important to test that the parameters and return types can
be serialized/deserialized properly.  What if commons-proxy included a
neat little helper class that makes a serialized copy of the
parameters of an invocation before passing them to the target object
and then makes a serialized copy of the return value before returning
it?  Does that sound too obscure?  I came up with the idea today when
a co-worker was having trouble getting their unit tests to exhibit a
serialization issue.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message