On Sun, Aug 1, 2010 at 5:11 AM, Kent Tong <k...@cpttm.org.mo> wrote
> I would like very much to disable serialization in wicket tester. I
> am using pages with mockito mocks that are not serializable (and why
> should they in a unit test). I am using workarounds now.

You can take a look at http://wicketpagetest.sourceforge.net which
> allows you to inject non-serializable mocks into your pages.


I have already solve the problem myself now using a SerializableProxyFactory
which creates serializable proxies for a mock:

http://utils.wamblee.org/support/general/apidocs/org/wamblee/general/SerializableProxyFactory.html

Will also have a look at the library you are suggesting.





>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to