Lines Matching refs:Action
307 OnCallSpec& WillByDefault(const Action<F>& action) {
325 const Action<F>& GetAction() const {
348 Action<F> action_;
902 delete static_cast<const Action<F>*>(*it);
999 // converted to a OnceAction, except for Action<F> objects themselves.
1004 return WillOnce(Action<F>(ActionAdaptor{
1009 // Fallback overload: accept Action<F> objects and those actions that define
1010 // `operator Action<F>` but not `operator OnceAction<F>`.
1015 TypedExpectation& WillOnce(Action<F> action) {
1021 untyped_actions_.push_back(new Action<F>(std::move(action)));
1030 TypedExpectation& WillRepeatedly(const Action<F>& action) {
1078 const Action<F>& repeated_action() const { return repeated_action_; }
1095 // Action<F>. Must be called at most once.
1178 const Action<F>& GetCurrentAction(const FunctionMocker<F>* mocker,
1203 ? *static_cast<const Action<F>*>(
1215 const Action<F>* GetActionForArguments(const FunctionMocker<F>* mocker,
1257 Action<F> repeated_action_;
1622 const Action<F>* action = exp->GetActionForArguments(this, args, what, why);
1703 const Action<F> action = *static_cast<const Action<F>*>(untyped_action);