Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/utils/unittest/googlemock/src/
H A Dgmock-spec-builders.cc224 const int action_count = static_cast<int>(untyped_actions_.size()); in CheckActionCountIfNotDone() local
229 if (action_count > upper_bound || in CheckActionCountIfNotDone()
230 (action_count == upper_bound && repeated_action_specified_)) { in CheckActionCountIfNotDone()
232 } else if (0 < action_count && action_count < lower_bound && in CheckActionCountIfNotDone()
246 << action_count << " WillOnce()" in CheckActionCountIfNotDone()
247 << (action_count == 1 ? "" : "s"); in CheckActionCountIfNotDone()
/llvm-project-15.0.7/llvm/utils/unittest/googlemock/include/gmock/
H A Dgmock-spec-builders.h1171 const int action_count = static_cast<int>(untyped_actions_.size()); in GetCurrentAction() local
1172 if (action_count > 0 && !repeated_action_specified_ && in GetCurrentAction()
1173 count > action_count) { in GetCurrentAction()
1180 << action_count << " WillOnce()" in GetCurrentAction()
1181 << (action_count == 1 ? " is" : "s are") << " specified - "; in GetCurrentAction()
1186 return count <= action_count in GetCurrentAction()