v8toolkit  0.0.1
Utility library for embedding V8 Javascript engine in a c++ program
Public Member Functions | Static Public Member Functions | List of all members
testing::Cardinality Class Reference

#include <gmock-cardinalities.h>

Public Member Functions

 Cardinality ()
 
 Cardinality (const CardinalityInterface *impl)
 
int ConservativeLowerBound () const
 
int ConservativeUpperBound () const
 
bool IsSatisfiedByCallCount (int call_count) const
 
bool IsSaturatedByCallCount (int call_count) const
 
bool IsOverSaturatedByCallCount (int call_count) const
 
void DescribeTo (::std::ostream *os) const
 

Static Public Member Functions

static void DescribeActualCallCountTo (int actual_call_count,::std::ostream *os)
 

Detailed Description

Definition at line 83 of file gmock-cardinalities.h.

Constructor & Destructor Documentation

testing::Cardinality::Cardinality ( )
inline

Definition at line 87 of file gmock-cardinalities.h.

testing::Cardinality::Cardinality ( const CardinalityInterface impl)
inlineexplicit

Definition at line 90 of file gmock-cardinalities.h.

Member Function Documentation

int testing::Cardinality::ConservativeLowerBound ( ) const
inline

Definition at line 94 of file gmock-cardinalities.h.

int testing::Cardinality::ConservativeUpperBound ( ) const
inline

Definition at line 95 of file gmock-cardinalities.h.

bool testing::Cardinality::IsSatisfiedByCallCount ( int  call_count) const
inline

Definition at line 98 of file gmock-cardinalities.h.

Referenced by testing::internal::ExpectationBase::IsSatisfied().

Here is the caller graph for this function:

bool testing::Cardinality::IsSaturatedByCallCount ( int  call_count) const
inline

Definition at line 103 of file gmock-cardinalities.h.

Referenced by testing::internal::ExpectationBase::IsSaturated().

Here is the caller graph for this function:

bool testing::Cardinality::IsOverSaturatedByCallCount ( int  call_count) const
inline

Definition at line 109 of file gmock-cardinalities.h.

Referenced by testing::internal::ExpectationBase::IsOverSaturated().

Here is the caller graph for this function:

void testing::Cardinality::DescribeTo ( ::std::ostream *  os) const
inline

Definition at line 115 of file gmock-cardinalities.h.

References testing::AnyNumber(), testing::AtLeast(), testing::AtMost(), testing::Between(), testing::Exactly(), and GTEST_API_.

Here is the call graph for this function:

static void testing::Cardinality::DescribeActualCallCountTo ( int  actual_call_count,
::std::ostream *  os 
)
static

The documentation for this class was generated from the following file: