Home
last modified time | relevance | path

Searched refs:PolymorphicAction (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-actions.h868 class PolymorphicAction {
870 explicit PolymorphicAction(const Impl& impl) : impl_(impl) {}
912 inline PolymorphicAction<Impl> MakePolymorphicAction(const Impl& impl) {
913 return PolymorphicAction<Impl>(impl);
1864 inline PolymorphicAction<internal::ReturnNullAction> ReturnNull() {
1869 inline PolymorphicAction<internal::ReturnVoidAction> Return() {
1939 PolymorphicAction<internal::AssignAction<T1, T2>> Assign(T1* ptr, T2 val) {
1947 PolymorphicAction<internal::SetErrnoAndReturnAction<T>> SetErrnoAndReturn(
/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-actions_test.cc630 PolymorphicAction<ReturnSecondArgumentAction> ReturnSecondArgument() { in ReturnSecondArgument()
634 PolymorphicAction<ReturnZeroFromNullaryFunctionAction>
1271 TEST(IgnoreResultTest, PolymorphicAction) { in TEST() argument
/freebsd/contrib/googletest/docs/
H A Dgmock_cook_book.md4249 PolymorphicAction<Impl> MakePolymorphicAction(const Impl& impl);
4282 using ::testing::PolymorphicAction;
4284 PolymorphicAction<ReturnSecondArgumentAction> ReturnSecondArgument() {