Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Friends
testing::internal::ExpectationBase Class Reference

#include <gmock.h>

Inheritance diagram for testing::internal::ExpectationBase:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Protected Types

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

Protected Member Functions

bool AllPrerequisitesAreSatisfied () const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
bool AllPrerequisitesAreSatisfied () const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
void AssertSpecProperty (bool property, const string &failure_message) const
void AssertSpecProperty (bool property, const string &failure_message) const
int call_count () const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
int call_count () const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
bool cardinality_specified () const
bool cardinality_specified () const
void CheckActionCountIfNotDone () const GTEST_LOCK_EXCLUDED_(mutex_)
void CheckActionCountIfNotDone () const GTEST_LOCK_EXCLUDED_(mutex_)
void ExpectSpecProperty (bool property, const string &failure_message) const
void ExpectSpecProperty (bool property, const string &failure_message) const
void FindUnsatisfiedPrerequisites (ExpectationSet *result) const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
void FindUnsatisfiedPrerequisites (ExpectationSet *result) const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
virtual Expectation GetHandle ()=0
virtual Expectation GetHandle ()=0
 GTEST_DISALLOW_ASSIGN_ (ExpectationBase)
 GTEST_DISALLOW_ASSIGN_ (ExpectationBase)
void IncrementCallCount () GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
void IncrementCallCount () GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
bool is_retired () const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
bool is_retired () const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
bool IsOverSaturated () const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
bool IsOverSaturated () const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
bool IsSatisfied () const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
bool IsSatisfied () const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
bool IsSaturated () const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
bool IsSaturated () const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
void Retire () GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
void Retire () GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
void RetireAllPreRequisites () GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
void RetireAllPreRequisites () GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
void set_cardinality (const Cardinality &a_cardinality)
void set_cardinality (const Cardinality &a_cardinality)
void SpecifyCardinality (const Cardinality &cardinality)
void SpecifyCardinality (const Cardinality &cardinality)
void UntypedTimes (const Cardinality &a_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
class TypedExpectation
class UntypedFunctionMockerBase

Detailed Description

Definition at line 9250 of file fused-src/gmock/gmock.h.


Member Typedef Documentation

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

Definition at line 734 of file gmock-spec-builders.h.

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

Definition at line 9294 of file fused-src/gmock/gmock.h.


Member Enumeration Documentation

Enumerator:
kNone 
kWith 
kTimes 
kInSequence 
kAfter 
kWillOnce 
kWillRepeatedly 
kRetiresOnSaturation 
kNone 
kWith 
kTimes 
kInSequence 
kAfter 
kWillOnce 
kWillRepeatedly 
kRetiresOnSaturation 

Definition at line 722 of file gmock-spec-builders.h.

Enumerator:
kNone 
kWith 
kTimes 
kInSequence 
kAfter 
kWillOnce 
kWillRepeatedly 
kRetiresOnSaturation 
kNone 
kWith 
kTimes 
kInSequence 
kAfter 
kWillOnce 
kWillRepeatedly 
kRetiresOnSaturation 

Definition at line 9282 of file fused-src/gmock/gmock.h.


Constructor & Destructor Documentation

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

Definition at line 10518 of file gmock-gtest-all.cc.

Definition at line 10535 of file gmock-gtest-all.cc.

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

Member Function Documentation

Definition at line 10565 of file gmock-gtest-all.cc.

void testing::internal::ExpectationBase::AssertSpecProperty ( bool  property,
const string failure_message 
) const [inline, protected]

Definition at line 741 of file gmock-spec-builders.h.

void testing::internal::ExpectationBase::AssertSpecProperty ( bool  property,
const string failure_message 
) const [inline, protected]

Definition at line 9301 of file fused-src/gmock/gmock.h.

int testing::internal::ExpectationBase::call_count ( ) const [inline, protected]

Definition at line 815 of file gmock-spec-builders.h.

int testing::internal::ExpectationBase::call_count ( ) const [inline, protected]

Definition at line 9375 of file fused-src/gmock/gmock.h.

Definition at line 702 of file gmock-spec-builders.h.

Definition at line 9262 of file fused-src/gmock/gmock.h.

Definition at line 756 of file gmock-spec-builders.h.

Definition at line 9316 of file fused-src/gmock/gmock.h.

Definition at line 10623 of file gmock-gtest-all.cc.

void testing::internal::ExpectationBase::DescribeCallCountTo ( ::std::ostream *  os) const
void testing::internal::ExpectationBase::DescribeCallCountTo ( ::std::ostream *  os) const

Definition at line 10600 of file gmock-gtest-all.cc.

void testing::internal::ExpectationBase::DescribeLocationTo ( ::std::ostream *  os) const [inline]

Definition at line 705 of file gmock-spec-builders.h.

void testing::internal::ExpectationBase::DescribeLocationTo ( ::std::ostream *  os) const [inline]

Definition at line 9265 of file fused-src/gmock/gmock.h.

void testing::internal::ExpectationBase::ExpectSpecProperty ( bool  property,
const string failure_message 
) const [inline, protected]

Definition at line 746 of file gmock-spec-builders.h.

void testing::internal::ExpectationBase::ExpectSpecProperty ( bool  property,
const string failure_message 
) const [inline, protected]

Definition at line 9306 of file fused-src/gmock/gmock.h.

const char* testing::internal::ExpectationBase::file ( ) const [inline]

Definition at line 698 of file gmock-spec-builders.h.

const char* testing::internal::ExpectationBase::file ( ) const [inline]

Definition at line 9258 of file fused-src/gmock/gmock.h.

Definition at line 10578 of file gmock-gtest-all.cc.

virtual Expectation testing::internal::ExpectationBase::GetHandle ( ) [protected, pure virtual]
virtual Expectation testing::internal::ExpectationBase::GetHandle ( ) [protected, pure virtual]

Definition at line 822 of file gmock-spec-builders.h.

Definition at line 9382 of file fused-src/gmock/gmock.h.

bool testing::internal::ExpectationBase::is_retired ( ) const [inline, protected]

Definition at line 772 of file gmock-spec-builders.h.

bool testing::internal::ExpectationBase::is_retired ( ) const [inline, protected]

Definition at line 9332 of file fused-src/gmock/gmock.h.

bool testing::internal::ExpectationBase::IsOverSaturated ( ) const [inline, protected]

Definition at line 800 of file gmock-spec-builders.h.

bool testing::internal::ExpectationBase::IsOverSaturated ( ) const [inline, protected]

Definition at line 9360 of file fused-src/gmock/gmock.h.

bool testing::internal::ExpectationBase::IsSatisfied ( ) const [inline, protected]

Definition at line 786 of file gmock-spec-builders.h.

bool testing::internal::ExpectationBase::IsSatisfied ( ) const [inline, protected]

Definition at line 9346 of file fused-src/gmock/gmock.h.

bool testing::internal::ExpectationBase::IsSaturated ( ) const [inline, protected]

Definition at line 793 of file gmock-spec-builders.h.

bool testing::internal::ExpectationBase::IsSaturated ( ) const [inline, protected]

Definition at line 9353 of file fused-src/gmock/gmock.h.

Definition at line 699 of file gmock-spec-builders.h.

Definition at line 9259 of file fused-src/gmock/gmock.h.

virtual void testing::internal::ExpectationBase::MaybeDescribeExtraMatcherTo ( ::std::ostream *  os) [pure virtual]
virtual void testing::internal::ExpectationBase::MaybeDescribeExtraMatcherTo ( ::std::ostream *  os) [pure virtual]
void testing::internal::ExpectationBase::Retire ( ) [inline, protected]

Definition at line 779 of file gmock-spec-builders.h.

void testing::internal::ExpectationBase::Retire ( ) [inline, protected]

Definition at line 9339 of file fused-src/gmock/gmock.h.

Definition at line 10545 of file gmock-gtest-all.cc.

void testing::internal::ExpectationBase::set_cardinality ( const Cardinality a_cardinality) [inline, protected]

Definition at line 759 of file gmock-spec-builders.h.

void testing::internal::ExpectationBase::set_cardinality ( const Cardinality a_cardinality) [inline, protected]

Definition at line 9319 of file fused-src/gmock/gmock.h.

const char* testing::internal::ExpectationBase::source_text ( ) const [inline]

Definition at line 700 of file gmock-spec-builders.h.

const char* testing::internal::ExpectationBase::source_text ( ) const [inline]

Definition at line 9260 of file fused-src/gmock/gmock.h.

void testing::internal::ExpectationBase::SpecifyCardinality ( const Cardinality cardinality) [protected]
void testing::internal::ExpectationBase::SpecifyCardinality ( const Cardinality cardinality) [protected]

Definition at line 10539 of file gmock-gtest-all.cc.

void testing::internal::ExpectationBase::UntypedTimes ( const Cardinality a_cardinality) [protected]
void testing::internal::ExpectationBase::UntypedTimes ( const Cardinality a_cardinality) [protected]

Definition at line 10675 of file gmock-gtest-all.cc.


Friends And Related Function Documentation

friend class ::testing::Expectation [friend]

Definition at line 9279 of file fused-src/gmock/gmock.h.

friend class ::testing::internal::ExpectationTester [friend]

Definition at line 9396 of file fused-src/gmock/gmock.h.

friend class ::testing::Sequence [friend]

Definition at line 9395 of file fused-src/gmock/gmock.h.

TypedExpectation [friend]

Definition at line 9399 of file fused-src/gmock/gmock.h.

Definition at line 9280 of file fused-src/gmock/gmock.h.


Member Data Documentation

Definition at line 9429 of file fused-src/gmock/gmock.h.

Definition at line 9422 of file fused-src/gmock/gmock.h.

Definition at line 9411 of file fused-src/gmock/gmock.h.

Definition at line 9410 of file fused-src/gmock/gmock.h.

Definition at line 9425 of file fused-src/gmock/gmock.h.

Definition at line 9406 of file fused-src/gmock/gmock.h.

Definition at line 9418 of file fused-src/gmock/gmock.h.

Definition at line 9428 of file fused-src/gmock/gmock.h.

Definition at line 9407 of file fused-src/gmock/gmock.h.

Definition at line 9430 of file fused-src/gmock/gmock.h.

Definition at line 9426 of file fused-src/gmock/gmock.h.

Definition at line 9423 of file fused-src/gmock/gmock.h.

Definition at line 9427 of file fused-src/gmock/gmock.h.

Definition at line 9408 of file fused-src/gmock/gmock.h.

Definition at line 9424 of file fused-src/gmock/gmock.h.


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


ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Sat Jun 8 2019 18:25:01