You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Benson Margulies <bi...@basistech.com> on 2007/12/04 01:38:10 UTC
I don't understand EasyMock
I want to add an explicit test for an invalid charsrt to
JettyHttpDestinationTest, but I don't get this mock thing. Can you give
me a leg up?
RE: I don't understand EasyMock
Posted by Benson Margulies <bi...@basistech.com>.
I think the doc is what I need. I am hopelessly confused about what is actually happening and what is being 'mocked'.
> -----Original Message-----
> From: Liu, Jervis [mailto:jliu@iona.com]
> Sent: Monday, December 03, 2007 9:22 PM
> To: cxf-dev@incubator.apache.org
> Subject: RE: I don't understand EasyMock
>
> Instead of reading EasyMock documentation [1], another way to
> start up is to find a sample then just copy&paste, which is
> usually what I do :-). I did some EasyMock stuff in
> SOAPHandlerInterceptorTest, take a look and let me know if
> you have any specific questions regarding the EasyMock usage.
>
> [1] http://www.easymock.org/EasyMock2_2_Documentation.html
>
> Cheers,
> Jervis
>
>
>
> > -----Original Message-----
> > From: Benson Margulies [mailto:bim2007@basistech.com]
> > Sent: 2007年12月4日 8:38
> > To: Daniel Kulp
> > Cc: cxf-dev@incubator.apache.org
> > Subject: I don't understand EasyMock
> >
> > I want to add an explicit test for an invalid charsrt to
> > JettyHttpDestinationTest, but I don't get this mock thing. Can you
> > give me a leg up?
>
> ----------------------------
> IONA Technologies PLC (registered in Ireland) Registered
> Number: 171387 Registered Address: The IONA Building,
> Shelbourne Road, Dublin 4, Ireland
>
RE: I don't understand EasyMock
Posted by "Liu, Jervis" <jl...@iona.com>.
Instead of reading EasyMock documentation [1], another way to start up is to find a sample then just copy&paste, which is usually what I do :-). I did some EasyMock stuff in SOAPHandlerInterceptorTest, take a look and let me know if you have any specific questions regarding the EasyMock usage.
[1] http://www.easymock.org/EasyMock2_2_Documentation.html
Cheers,
Jervis
> -----Original Message-----
> From: Benson Margulies [mailto:bim2007@basistech.com]
> Sent: 2007年12月4日 8:38
> To: Daniel Kulp
> Cc: cxf-dev@incubator.apache.org
> Subject: I don't understand EasyMock
>
> I want to add an explicit test for an invalid charsrt to
> JettyHttpDestinationTest, but I don't get this mock thing. Can you give
> me a leg up?
----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland