I created a JIRA issue (https://issues.apache.org/jira/browse/PROXY-4) for it just so I didn't lose my idea! :) I'll see about throwing that code in tonight.
On 10/19/07, simon <[EMAIL PROTECTED]> wrote: > On Fri, 2007-10-19 at 11:42 -0400, James Carman wrote: > > 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. > > Sounds like a good idea to me. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]