http://code.google.com/p/googlemock/wiki/CheatSheet#Matchers_as_Predicates
>
> Thanks,
> Venu
>
--
Zhanyong
You can search for examples in gmock's own tests (under the test/ directory).
>
>
> Thanks,
> Venu
>
> On Aug 3, 1:38 pm, Zhanyong Wan (λx.x x) <w...@google.com> wrote:
>> On Tue, Aug 3, 2010 at 10:33 AM, Venu <dvgo...@gmail.com> wrote:
>>
>> > Hi,
>>
>> > Can we call a Matcher from another matcher? i am trying to validate
>> > the protobuf message passed as a parameter to the mock method. the
>> > protobuf message which contains another proto buf message. i want to
>> > have separate matchers for these two protobuf messages. but like to
>> > call the matcher for second protobuf message from the first protobuf
>> > message matcher.
>>
>> > is it possible to do like that?
>>
>> http://code.google.com/p/googlemock/wiki/CheatSheet#Matchers_as_Predi...
>>
>>
>>
>> > Thanks,
>> > Venu
>>
>> --
>> Zhanyong
>
--
Zhanyong