Orxonox  0.0.5 Codename: Arcturus
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Friends | List of all members
testing::internal::ExpectationBase Class Referenceabstract

#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/external/gmock/include/gmock/gmock-spec-builders.h>

Inheritance diagram for testing::internal::ExpectationBase:
testing::internal::TypedExpectation< F >

Public Member Functions

 ExpectationBase (const char *file, int line, const string &source_text)
 
virtual ~ExpectationBase ()
 
const Cardinalitycardinality () const
 
void DescribeCallCountTo (::std::ostream *os) const
 
void DescribeLocationTo (::std::ostream *os) const
 
const char * file () const
 
int line () const
 
virtual void MaybeDescribeExtraMatcherTo (::std::ostream *os)=0
 
const char * source_text () const
 

Protected Types

enum  Clause {
  kNone, kWith, kTimes, kInSequence,
  kAfter, kWillOnce, kWillRepeatedly, kRetiresOnSaturation
}
 
typedef std::vector< const void * > UntypedActions
 

Protected Member Functions

bool AllPrerequisitesAreSatisfied () const
 
void AssertSpecProperty (bool property, const string &failure_message) const
 
int call_count () const
 
bool cardinality_specified () const
 
void CheckActionCountIfNotDone () const
 
void ExpectSpecProperty (bool property, const string &failure_message) const
 
void FindUnsatisfiedPrerequisites (ExpectationSet *result) const
 
virtual Expectation GetHandle ()=0
 
 GTEST_DISALLOW_ASSIGN_ (ExpectationBase)
 
void IncrementCallCount ()
 
bool is_retired () const
 
bool IsOverSaturated () const
 
bool IsSatisfied () const
 
bool IsSaturated () const
 
void Retire ()
 
void RetireAllPreRequisites ()
 
void set_cardinality (const Cardinality &a_cardinality)
 
void SpecifyCardinality (const Cardinality &cardinality)
 
void UntypedTimes (const Cardinality &a_cardinality)
 

Protected Attributes

bool action_count_checked_
 
int call_count_
 
Cardinality cardinality_
 
bool cardinality_specified_
 
bool extra_matcher_specified_
 
const char * file_
 
ExpectationSet immediate_prerequisites_
 
Clause last_clause_
 
int line_
 
Mutex mutex_
 
bool repeated_action_specified_
 
bool retired_
 
bool retires_on_saturation_
 
const string source_text_
 
UntypedActions untyped_actions_
 

Friends

class ::testing::Expectation
 
class ::testing::internal::ExpectationTester
 
class ::testing::Sequence
 
template<typename Function >
class TypedExpectation
 
class UntypedFunctionMockerBase
 

Member Typedef Documentation

typedef std::vector<const void*> testing::internal::ExpectationBase::UntypedActions
protected

Member Enumeration Documentation

Enumerator
kNone 
kWith 
kTimes 
kInSequence 
kAfter 
kWillOnce 
kWillRepeatedly 
kRetiresOnSaturation 

Constructor & Destructor Documentation

testing::internal::ExpectationBase::ExpectationBase ( const char *  file,
int  line,
const string source_text 
)
testing::internal::ExpectationBase::~ExpectationBase ( )
virtual

Member Function Documentation

bool testing::internal::ExpectationBase::AllPrerequisitesAreSatisfied ( ) const
protected
void testing::internal::ExpectationBase::AssertSpecProperty ( bool  property,
const string failure_message 
) const
inlineprotected
int testing::internal::ExpectationBase::call_count ( ) const
inlineprotected
const Cardinality& testing::internal::ExpectationBase::cardinality ( ) const
inline
bool testing::internal::ExpectationBase::cardinality_specified ( ) const
inlineprotected
void testing::internal::ExpectationBase::CheckActionCountIfNotDone ( ) const
protected
void testing::internal::ExpectationBase::DescribeCallCountTo ( ::std::ostream *  os) const
void testing::internal::ExpectationBase::DescribeLocationTo ( ::std::ostream *  os) const
inline
void testing::internal::ExpectationBase::ExpectSpecProperty ( bool  property,
const string failure_message 
) const
inlineprotected
const char* testing::internal::ExpectationBase::file ( ) const
inline
void testing::internal::ExpectationBase::FindUnsatisfiedPrerequisites ( ExpectationSet result) const
protected
virtual Expectation testing::internal::ExpectationBase::GetHandle ( )
protectedpure virtual
testing::internal::ExpectationBase::GTEST_DISALLOW_ASSIGN_ ( ExpectationBase  )
protected
void testing::internal::ExpectationBase::IncrementCallCount ( )
inlineprotected
bool testing::internal::ExpectationBase::is_retired ( ) const
inlineprotected
bool testing::internal::ExpectationBase::IsOverSaturated ( ) const
inlineprotected
bool testing::internal::ExpectationBase::IsSatisfied ( ) const
inlineprotected
bool testing::internal::ExpectationBase::IsSaturated ( ) const
inlineprotected
int testing::internal::ExpectationBase::line ( ) const
inline
virtual void testing::internal::ExpectationBase::MaybeDescribeExtraMatcherTo ( ::std::ostream *  os)
pure virtual
void testing::internal::ExpectationBase::Retire ( )
inlineprotected
void testing::internal::ExpectationBase::RetireAllPreRequisites ( )
protected
void testing::internal::ExpectationBase::set_cardinality ( const Cardinality a_cardinality)
inlineprotected
const char* testing::internal::ExpectationBase::source_text ( ) const
inline
void testing::internal::ExpectationBase::SpecifyCardinality ( const Cardinality cardinality)
protected
void testing::internal::ExpectationBase::UntypedTimes ( const Cardinality a_cardinality)
protected

Friends And Related Function Documentation

friend class ::testing::Expectation
friend
friend class ::testing::internal::ExpectationTester
friend
friend class ::testing::Sequence
friend
template<typename Function >
friend class TypedExpectation
friend
friend class UntypedFunctionMockerBase
friend

Member Data Documentation

bool testing::internal::ExpectationBase::action_count_checked_
mutableprotected
int testing::internal::ExpectationBase::call_count_
protected
Cardinality testing::internal::ExpectationBase::cardinality_
protected
bool testing::internal::ExpectationBase::cardinality_specified_
protected
bool testing::internal::ExpectationBase::extra_matcher_specified_
protected
const char* testing::internal::ExpectationBase::file_
protected
ExpectationSet testing::internal::ExpectationBase::immediate_prerequisites_
protected
Clause testing::internal::ExpectationBase::last_clause_
protected
int testing::internal::ExpectationBase::line_
protected
Mutex testing::internal::ExpectationBase::mutex_
mutableprotected
bool testing::internal::ExpectationBase::repeated_action_specified_
protected
bool testing::internal::ExpectationBase::retired_
protected
bool testing::internal::ExpectationBase::retires_on_saturation_
protected
const string testing::internal::ExpectationBase::source_text_
protected
UntypedActions testing::internal::ExpectationBase::untyped_actions_
protected

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