commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Carman" <ja...@carmanconsulting.com>
Subject Re: [proxy] SerializingInterceptor...
Date Fri, 19 Oct 2007 17:52:44 GMT
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 <simon.kitching@chello.at> 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: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

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


Mime
View raw message