38#ifndef GMOCK_INCLUDE_GMOCK_GMOCK_CARDINALITIES_H_
39#define GMOCK_INCLUDE_GMOCK_GMOCK_CARDINALITIES_H_
99 return impl_->IsSatisfiedByCallCount(call_count);
104 return impl_->IsSaturatedByCallCount(call_count);
110 return impl_->IsSaturatedByCallCount(call_count) &&
111 !impl_->IsSatisfiedByCallCount(call_count);
118 static void DescribeActualCallCountTo(
int actual_call_count,
Cardinality(const CardinalityInterface *impl)
void DescribeTo(::std::ostream *os) const
bool IsSaturatedByCallCount(int call_count) const
bool IsSatisfiedByCallCount(int call_count) const
bool IsOverSaturatedByCallCount(int call_count) const
int ConservativeLowerBound() const
int ConservativeUpperBound() const
virtual int ConservativeLowerBound() const
virtual bool IsSaturatedByCallCount(int call_count) const =0
virtual void DescribeTo(::std::ostream *os) const =0
virtual ~CardinalityInterface()
virtual int ConservativeUpperBound() const
virtual bool IsSatisfiedByCallCount(int call_count) const =0
GTEST_API_ Cardinality AtLeast(int n)
GTEST_API_ Cardinality Between(int min, int max)
GTEST_API_ Cardinality AtMost(int n)
GTEST_API_ Cardinality AnyNumber()
GTEST_API_ Cardinality Exactly(int n)
Cardinality MakeCardinality(const CardinalityInterface *c)