Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

[#21639] Allow stubs and expects to match multiple methods

#12

Date: 2008-08-22 14:18 Opener: James Mead

As per Alain Ravet's request on the mailing list http://groups.google.com/group/m...

Maybe introduce a MethodMatcher class like the ParameterMatcher classes, but there might be some problems when it comes to doing this with partial mocks. In the case Alain describes, we'd need to redefine all the class methods on Factory that matched your regex so that we could intercept calls to any of them.

James.

Reported by James Mead · January 1st, 2009 @ 07:05 PM

State: new
Milestone: none
Assigned to: nobody

Activity

No comments yet.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.