Home
last modified time | relevance | path

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

/third_party/googletest/googlemock/include/gmock/
H A Dgmock-actions.h842 // The PolymorphicAction class template makes it easy to implement a
864 class PolymorphicAction { class
866 explicit PolymorphicAction(const Impl& impl) : impl_(impl) {} in PolymorphicAction() function in testing::PolymorphicAction
901 // easier to use than the PolymorphicAction<Impl> constructor as it
906 // PolymorphicAction<TypeOfFoo>(foo);
908 inline PolymorphicAction<Impl> MakePolymorphicAction(const Impl& impl) { in MakePolymorphicAction()
909 return PolymorphicAction<Impl>(impl); in MakePolymorphicAction()
1853 inline PolymorphicAction<internal::ReturnNullAction> ReturnNull() {
1858 inline PolymorphicAction<internal::ReturnVoidAction> Return() {
1928 PolymorphicAction<interna
[all...]
/third_party/googletest/googlemock/test/
H A Dgmock-actions_test.cc627 // PolymorphicAction<T> where T is the argument's type.
629 PolymorphicAction<ReturnSecondArgumentAction> ReturnSecondArgument() { in ReturnSecondArgument()
633 PolymorphicAction<ReturnZeroFromNullaryFunctionAction>
1270 TEST(IgnoreResultTest, PolymorphicAction) { in TEST()

Completed in 7 milliseconds