Home
last modified time | relevance | path

Searched refs:action_count (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/googletest/googlemock/src/
H A Dgmock-spec-builders.cc230 const int action_count = static_cast<int>(untyped_actions_.size()); in CheckActionCountIfNotDone() local
235 if (action_count > upper_bound || in CheckActionCountIfNotDone()
236 (action_count == upper_bound && repeated_action_specified_)) { in CheckActionCountIfNotDone()
238 } else if (0 < action_count && action_count < lower_bound && in CheckActionCountIfNotDone()
251 ss << ", but has " << (too_many ? "" : "only ") << action_count in CheckActionCountIfNotDone()
252 << " WillOnce()" << (action_count == 1 ? "" : "s"); in CheckActionCountIfNotDone()
/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-spec-builders.h1190 const int action_count = static_cast<int>(untyped_actions_.size()); in GetCurrentAction() local
1191 if (action_count > 0 && !repeated_action_specified_ && in GetCurrentAction()
1192 count > action_count) { in GetCurrentAction()
1198 << "Called " << count << " times, but only " << action_count in GetCurrentAction()
1199 << " WillOnce()" << (action_count == 1 ? " is" : "s are") in GetCurrentAction()
1205 return count <= action_count in GetCurrentAction()