Home
last modified time | relevance | path

Searched refs:MakePolymorphicAction (Results 1 - 2 of 2) sorted by relevance

/third_party/googletest/googlemock/include/gmock/
H A Dgmock-actions.h107 // or using MakePolymorphicAction() instead, especially if you need to
860 // MakePolymorphicAction(object) where object has type FooAction. See
904 // MakePolymorphicAction(foo);
908 inline PolymorphicAction<Impl> MakePolymorphicAction(const Impl& impl) { in MakePolymorphicAction() function
1854 return MakePolymorphicAction(internal::ReturnNullAction());
1859 return MakePolymorphicAction(internal::ReturnVoidAction());
1929 return MakePolymorphicAction(internal::AssignAction<T1, T2>(ptr, val));
1938 return MakePolymorphicAction(
/third_party/googletest/googlemock/test/
H A Dgmock-actions_test.cc594 // The following two classes are for testing MakePolymorphicAction().
600 // We want to verify that MakePolymorphicAction() can work with a
613 // For testing that MakePolymorphicAction() works when the
617 // We want to verify that MakePolymorphicAction() can work with a
626 // These functions verify that MakePolymorphicAction() returns a
630 return MakePolymorphicAction(ReturnSecondArgumentAction()); in ReturnSecondArgument()
635 return MakePolymorphicAction(ReturnZeroFromNullaryFunctionAction()); in ReturnZeroFromNullaryFunction()
638 // Tests that MakePolymorphicAction() turns a polymorphic action
645 // Tests that MakePolymorphicAction() works when the implementation

Completed in 7 milliseconds