#include <gmock-cardinalities.h>
Definition at line 83 of file gmock-cardinalities.h.
◆ Cardinality() [1/2]
testing::Cardinality::Cardinality |
( |
| ) |
|
|
inline |
◆ Cardinality() [2/2]
◆ ConservativeLowerBound()
int testing::Cardinality::ConservativeLowerBound |
( |
| ) |
const |
|
inline |
◆ ConservativeUpperBound()
int testing::Cardinality::ConservativeUpperBound |
( |
| ) |
const |
|
inline |
◆ DescribeActualCallCountTo()
void testing::Cardinality::DescribeActualCallCountTo |
( |
int | actual_call_count, |
|
|
::std::ostream * | os ) |
|
static |
Definition at line 130 of file gmock-cardinalities.cc.
131 {
132 if (actual_call_count > 0) {
133 *
os <<
"called " << FormatTimes(actual_call_count);
134 } else {
135 *
os <<
"never called";
136 }
137}
◆ DescribeTo()
void testing::Cardinality::DescribeTo |
( |
::std::ostream * | os | ) |
const |
|
inline |
◆ IsOverSaturatedByCallCount()
bool testing::Cardinality::IsOverSaturatedByCallCount |
( |
int | call_count | ) |
const |
|
inline |
Definition at line 109 of file gmock-cardinalities.h.
109 {
110 return impl_->IsSaturatedByCallCount(call_count) &&
111 !impl_->IsSatisfiedByCallCount(call_count);
112 }
◆ IsSatisfiedByCallCount()
bool testing::Cardinality::IsSatisfiedByCallCount |
( |
int | call_count | ) |
const |
|
inline |
Definition at line 98 of file gmock-cardinalities.h.
98 {
99 return impl_->IsSatisfiedByCallCount(call_count);
100 }
◆ IsSaturatedByCallCount()
bool testing::Cardinality::IsSaturatedByCallCount |
( |
int | call_count | ) |
const |
|
inline |
The documentation for this class was generated from the following files: