template <typename InitialAction, typename... OtherActions>
class DoAllAction
Defined at line 1563 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-actions.h
Recursive case: support N actions by calling the initial action and then
calling through to the base class containing N-1 actions.
Public Methods
template <typename T, typename... U>
void DoAllAction<InitialAction, OtherActions...> (UserConstructorTag , T && initial_action, U &&... other_actions)
Defined at line 1622 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-actions.h
template <typename R, typename... Args, typename std::enable_if<
conjunction<std::is_convertible<
InitialAction,
OnceAction<void(InitialActionArgType<Args>...)>>,
std::is_convertible<Base, OnceAction<R(Args...)>>>::value,
int>::type = 0>
OnceAction<R (Args...)> operator testing::OnceAction<type-parameter-1-0 (type-parameter-1-1...)> ()
We support conversion to OnceAction whenever both the initial action and
the rest support conversion to OnceAction.
Defined at line 1637 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-actions.h
template <typename R, typename... Args, typename std::enable_if<
conjunction<
negation<std::is_convertible<
InitialAction,
OnceAction<void(InitialActionArgType<Args>...)>>>,
std::is_convertible<InitialAction,
Action<void(InitialActionArgType<Args>...)>>,
std::is_convertible<Base, OnceAction<R(Args...)>>>::value,
int>::type = 0>
OnceAction<R (Args...)> operator testing::OnceAction<type-parameter-1-0 (type-parameter-1-1...)> ()
We also support conversion to OnceAction whenever the initial action
supports conversion to Action (since any Action can also be a OnceAction).
The remaining sub-actions must also be compatible, but we don't need to
special case them because the base class deals with them.
Defined at line 1675 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-actions.h
template <typename R, typename... Args, typename std::enable_if<
conjunction<
std::is_convertible<const InitialAction&,
Action<void(InitialActionArgType<Args>...)>>,
std::is_convertible<const Base&, Action<R(Args...)>>>::value,
int>::type = 0>
Action<R (Args...)> operator testing::Action<type-parameter-1-0 (type-parameter-1-1...)> ()
We support conversion to Action whenever both the initial action and the
rest support conversion to Action.
Defined at line 1691 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-actions.h