From: Steve F. <st...@m3...> - 2003-07-02 03:47:26
|
Added to CVS. S. Francois Beausoleil wrote: > Hi ! >=20 > I need functionnality equivalent to expect(String, Object), but for > match(). Currently, in 0.09, there are matchAndReturn methods, but no > simple match(String). In this specific test instance, it does not matt= er > how many times I call method X as it has been asserted elsewhere that t= he > correct number of calls is made. >=20 > Instead of: > mock.expect("eat", C.ANY_ARGS); >=20 > I would like: > mock.match("eat", C.ANY_ARGS); >=20 > This is something like the nice mock feature I spoke about a few weeks > back. What I want is no exception if I call the method 100 times or 10 > times. >=20 > Thanks ! > Fran=E7ois > -- > Francois Beausoleil > Developer of Java Gui Builder > http://jgb.sourceforge.net/ >=20 >=20 > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/0= 1 > _______________________________________________ > Mockobjects-java-dev mailing list > Moc...@li... > https://lists.sourceforge.net/lists/listinfo/mockobjects-java-dev |