Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
testing::internal::TypedExpectation< F > Class Template Reference

#include <gmock.h>

Inheritance diagram for testing::internal::TypedExpectation< F >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef Function< F >
::ArgumentMatcherTuple 
ArgumentMatcherTuple
typedef Function< F >
::ArgumentMatcherTuple 
ArgumentMatcherTuple
typedef Function< F >
::ArgumentTuple 
ArgumentTuple
typedef Function< F >
::ArgumentTuple 
ArgumentTuple
typedef Function< F >::Result Result
typedef Function< F >::Result Result

Public Member Functions

TypedExpectationAfter (const ExpectationSet &s)
TypedExpectationAfter (const ExpectationSet &s1, const ExpectationSet &s2)
TypedExpectationAfter (const ExpectationSet &s1, const ExpectationSet &s2, const ExpectationSet &s3)
TypedExpectationAfter (const ExpectationSet &s1, const ExpectationSet &s2, const ExpectationSet &s3, const ExpectationSet &s4)
TypedExpectationAfter (const ExpectationSet &s1, const ExpectationSet &s2, const ExpectationSet &s3, const ExpectationSet &s4, const ExpectationSet &s5)
TypedExpectationAfter (const ExpectationSet &s)
TypedExpectationAfter (const ExpectationSet &s1, const ExpectationSet &s2)
TypedExpectationAfter (const ExpectationSet &s1, const ExpectationSet &s2, const ExpectationSet &s3)
TypedExpectationAfter (const ExpectationSet &s1, const ExpectationSet &s2, const ExpectationSet &s3, const ExpectationSet &s4)
TypedExpectationAfter (const ExpectationSet &s1, const ExpectationSet &s2, const ExpectationSet &s3, const ExpectationSet &s4, const ExpectationSet &s5)
const Matcher< const
ArgumentTuple & > & 
extra_matcher () const
const Matcher< const
ArgumentTuple & > & 
extra_matcher () const
TypedExpectationInSequence (const Sequence &s)
TypedExpectationInSequence (const Sequence &s1, const Sequence &s2)
TypedExpectationInSequence (const Sequence &s1, const Sequence &s2, const Sequence &s3)
TypedExpectationInSequence (const Sequence &s1, const Sequence &s2, const Sequence &s3, const Sequence &s4)
TypedExpectationInSequence (const Sequence &s1, const Sequence &s2, const Sequence &s3, const Sequence &s4, const Sequence &s5)
TypedExpectationInSequence (const Sequence &s)
TypedExpectationInSequence (const Sequence &s1, const Sequence &s2)
TypedExpectationInSequence (const Sequence &s1, const Sequence &s2, const Sequence &s3)
TypedExpectationInSequence (const Sequence &s1, const Sequence &s2, const Sequence &s3, const Sequence &s4)
TypedExpectationInSequence (const Sequence &s1, const Sequence &s2, const Sequence &s3, const Sequence &s4, const Sequence &s5)
const ArgumentMatcherTuplematchers () const
const ArgumentMatcherTuplematchers () const
virtual void MaybeDescribeExtraMatcherTo (::std::ostream *os)
virtual void MaybeDescribeExtraMatcherTo (::std::ostream *os)
const Action< F > & repeated_action () const
const Action< F > & repeated_action () const
TypedExpectationRetiresOnSaturation ()
TypedExpectationRetiresOnSaturation ()
TypedExpectationTimes (const Cardinality &a_cardinality)
TypedExpectationTimes (int n)
TypedExpectationTimes (const Cardinality &a_cardinality)
TypedExpectationTimes (int n)
 TypedExpectation (FunctionMockerBase< F > *owner, const char *a_file, int a_line, const string &a_source_text, const ArgumentMatcherTuple &m)
 TypedExpectation (FunctionMockerBase< F > *owner, const char *a_file, int a_line, const string &a_source_text, const ArgumentMatcherTuple &m)
TypedExpectationWillOnce (const Action< F > &action)
TypedExpectationWillOnce (const Action< F > &action)
TypedExpectationWillRepeatedly (const Action< F > &action)
TypedExpectationWillRepeatedly (const Action< F > &action)
TypedExpectationWith (const Matcher< const ArgumentTuple & > &m)
TypedExpectationWith (const Matcher< const ArgumentTuple & > &m)
virtual ~TypedExpectation ()
virtual ~TypedExpectation ()

Private Member Functions

void ExplainMatchResultTo (const ArgumentTuple &args,::std::ostream *os) const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
void ExplainMatchResultTo (const ArgumentTuple &args,::std::ostream *os) const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
const Action< F > * GetActionForArguments (const FunctionMockerBase< F > *mocker, const ArgumentTuple &args,::std::ostream *what,::std::ostream *why) GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
const Action< F > * GetActionForArguments (const FunctionMockerBase< F > *mocker, const ArgumentTuple &args,::std::ostream *what,::std::ostream *why) GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
const Action< F > & GetCurrentAction (const FunctionMockerBase< F > *mocker, const ArgumentTuple &args) const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
const Action< F > & GetCurrentAction (const FunctionMockerBase< F > *mocker, const ArgumentTuple &args) const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
virtual Expectation GetHandle ()
virtual Expectation GetHandle ()
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (TypedExpectation)
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (TypedExpectation)
bool Matches (const ArgumentTuple &args) const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
bool Matches (const ArgumentTuple &args) const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
bool ShouldHandleArguments (const ArgumentTuple &args) const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
bool ShouldHandleArguments (const ArgumentTuple &args) const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)

Private Attributes

Matcher< const ArgumentTuple & > extra_matcher_
ArgumentMatcherTuple matchers_
FunctionMockerBase< F > *const owner_
Action< F > repeated_action_

Friends

class FunctionMockerBase

Detailed Description

template<typename F>
class testing::internal::TypedExpectation< F >

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


Member Typedef Documentation

template<typename F>
typedef Function<F>::ArgumentMatcherTuple testing::internal::TypedExpectation< F >::ArgumentMatcherTuple

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

template<typename F>
typedef Function<F>::ArgumentMatcherTuple testing::internal::TypedExpectation< F >::ArgumentMatcherTuple

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

template<typename F>
typedef Function<F>::ArgumentTuple testing::internal::TypedExpectation< F >::ArgumentTuple

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

template<typename F>
typedef Function<F>::ArgumentTuple testing::internal::TypedExpectation< F >::ArgumentTuple

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

template<typename F>
typedef Function<F>::Result testing::internal::TypedExpectation< F >::Result

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

template<typename F>
typedef Function<F>::Result testing::internal::TypedExpectation< F >::Result

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


Constructor & Destructor Documentation

template<typename F>
testing::internal::TypedExpectation< F >::TypedExpectation ( FunctionMockerBase< F > *  owner,
const char *  a_file,
int  a_line,
const string a_source_text,
const ArgumentMatcherTuple m 
) [inline]

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

template<typename F>
virtual testing::internal::TypedExpectation< F >::~TypedExpectation ( ) [inline, virtual]

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

template<typename F>
testing::internal::TypedExpectation< F >::TypedExpectation ( FunctionMockerBase< F > *  owner,
const char *  a_file,
int  a_line,
const string a_source_text,
const ArgumentMatcherTuple m 
) [inline]

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

template<typename F>
virtual testing::internal::TypedExpectation< F >::~TypedExpectation ( ) [inline, virtual]

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


Member Function Documentation

template<typename F>
TypedExpectation& testing::internal::TypedExpectation< F >::After ( const ExpectationSet s) [inline]

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

template<typename F>
TypedExpectation& testing::internal::TypedExpectation< F >::After ( const ExpectationSet s1,
const ExpectationSet s2 
) [inline]

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

template<typename F>
TypedExpectation& testing::internal::TypedExpectation< F >::After ( const ExpectationSet s1,
const ExpectationSet s2,
const ExpectationSet s3 
) [inline]

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

template<typename F>
TypedExpectation& testing::internal::TypedExpectation< F >::After ( const ExpectationSet s1,
const ExpectationSet s2,
const ExpectationSet s3,
const ExpectationSet s4 
) [inline]

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

template<typename F>
TypedExpectation& testing::internal::TypedExpectation< F >::After ( const ExpectationSet s1,
const ExpectationSet s2,
const ExpectationSet s3,
const ExpectationSet s4,
const ExpectationSet s5 
) [inline]

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

template<typename F>
TypedExpectation& testing::internal::TypedExpectation< F >::After ( const ExpectationSet s) [inline]

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

template<typename F>
TypedExpectation& testing::internal::TypedExpectation< F >::After ( const ExpectationSet s1,
const ExpectationSet s2 
) [inline]

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

template<typename F>
TypedExpectation& testing::internal::TypedExpectation< F >::After ( const ExpectationSet s1,
const ExpectationSet s2,
const ExpectationSet s3 
) [inline]

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

template<typename F>
TypedExpectation& testing::internal::TypedExpectation< F >::After ( const ExpectationSet s1,
const ExpectationSet s2,
const ExpectationSet s3,
const ExpectationSet s4 
) [inline]

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

template<typename F>
TypedExpectation& testing::internal::TypedExpectation< F >::After ( const ExpectationSet s1,
const ExpectationSet s2,
const ExpectationSet s3,
const ExpectationSet s4,
const ExpectationSet s5 
) [inline]

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

template<typename F>
void testing::internal::TypedExpectation< F >::ExplainMatchResultTo ( const ArgumentTuple args,
::std::ostream *  os 
) const [inline, private]

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

template<typename F>
void testing::internal::TypedExpectation< F >::ExplainMatchResultTo ( const ArgumentTuple args,
::std::ostream *  os 
) const [inline, private]

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

template<typename F>
const Matcher<const ArgumentTuple&>& testing::internal::TypedExpectation< F >::extra_matcher ( ) const [inline]

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

template<typename F>
const Matcher<const ArgumentTuple&>& testing::internal::TypedExpectation< F >::extra_matcher ( ) const [inline]

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

template<typename F>
const Action<F>* testing::internal::TypedExpectation< F >::GetActionForArguments ( const FunctionMockerBase< F > *  mocker,
const ArgumentTuple args,
::std::ostream *  what,
::std::ostream *  why 
) [inline, private]

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

template<typename F>
const Action<F>* testing::internal::TypedExpectation< F >::GetActionForArguments ( const FunctionMockerBase< F > *  mocker,
const ArgumentTuple args,
::std::ostream *  what,
::std::ostream *  why 
) [inline, private]

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

template<typename F>
const Action<F>& testing::internal::TypedExpectation< F >::GetCurrentAction ( const FunctionMockerBase< F > *  mocker,
const ArgumentTuple args 
) const [inline, private]

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

template<typename F>
const Action<F>& testing::internal::TypedExpectation< F >::GetCurrentAction ( const FunctionMockerBase< F > *  mocker,
const ArgumentTuple args 
) const [inline, private]

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

template<typename F>
virtual Expectation testing::internal::TypedExpectation< F >::GetHandle ( ) [inline, private, virtual]

Implements testing::internal::ExpectationBase.

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

template<typename F>
virtual Expectation testing::internal::TypedExpectation< F >::GetHandle ( ) [inline, private, virtual]

Implements testing::internal::ExpectationBase.

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

template<typename F>
TypedExpectation& testing::internal::TypedExpectation< F >::InSequence ( const Sequence s) [inline]

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

template<typename F>
TypedExpectation& testing::internal::TypedExpectation< F >::InSequence ( const Sequence s1,
const Sequence s2 
) [inline]

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

template<typename F>
TypedExpectation& testing::internal::TypedExpectation< F >::InSequence ( const Sequence s1,
const Sequence s2,
const Sequence s3 
) [inline]

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

template<typename F>
TypedExpectation& testing::internal::TypedExpectation< F >::InSequence ( const Sequence s1,
const Sequence s2,
const Sequence s3,
const Sequence s4 
) [inline]

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

template<typename F>
TypedExpectation& testing::internal::TypedExpectation< F >::InSequence ( const Sequence s1,
const Sequence s2,
const Sequence s3,
const Sequence s4,
const Sequence s5 
) [inline]

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

template<typename F>
TypedExpectation& testing::internal::TypedExpectation< F >::InSequence ( const Sequence s) [inline]

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

template<typename F>
TypedExpectation& testing::internal::TypedExpectation< F >::InSequence ( const Sequence s1,
const Sequence s2 
) [inline]

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

template<typename F>
TypedExpectation& testing::internal::TypedExpectation< F >::InSequence ( const Sequence s1,
const Sequence s2,
const Sequence s3 
) [inline]

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

template<typename F>
TypedExpectation& testing::internal::TypedExpectation< F >::InSequence ( const Sequence s1,
const Sequence s2,
const Sequence s3,
const Sequence s4 
) [inline]

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

template<typename F>
TypedExpectation& testing::internal::TypedExpectation< F >::InSequence ( const Sequence s1,
const Sequence s2,
const Sequence s3,
const Sequence s4,
const Sequence s5 
) [inline]

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

template<typename F>
const ArgumentMatcherTuple& testing::internal::TypedExpectation< F >::matchers ( ) const [inline]

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

template<typename F>
const ArgumentMatcherTuple& testing::internal::TypedExpectation< F >::matchers ( ) const [inline]

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

template<typename F>
bool testing::internal::TypedExpectation< F >::Matches ( const ArgumentTuple args) const [inline, private]

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

template<typename F>
bool testing::internal::TypedExpectation< F >::Matches ( const ArgumentTuple args) const [inline, private]

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

template<typename F>
virtual void testing::internal::TypedExpectation< F >::MaybeDescribeExtraMatcherTo ( ::std::ostream *  os) [inline, virtual]

Implements testing::internal::ExpectationBase.

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

template<typename F>
virtual void testing::internal::TypedExpectation< F >::MaybeDescribeExtraMatcherTo ( ::std::ostream *  os) [inline, virtual]

Implements testing::internal::ExpectationBase.

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

template<typename F>
const Action<F>& testing::internal::TypedExpectation< F >::repeated_action ( ) const [inline]

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

template<typename F>
const Action<F>& testing::internal::TypedExpectation< F >::repeated_action ( ) const [inline]

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

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

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

template<typename F>
bool testing::internal::TypedExpectation< F >::ShouldHandleArguments ( const ArgumentTuple args) const [inline, private]

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

template<typename F>
bool testing::internal::TypedExpectation< F >::ShouldHandleArguments ( const ArgumentTuple args) const [inline, private]

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

template<typename F>
TypedExpectation& testing::internal::TypedExpectation< F >::Times ( const Cardinality a_cardinality) [inline]

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

template<typename F>
TypedExpectation& testing::internal::TypedExpectation< F >::Times ( int  n) [inline]

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

template<typename F>
TypedExpectation& testing::internal::TypedExpectation< F >::Times ( const Cardinality a_cardinality) [inline]

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

template<typename F>
TypedExpectation& testing::internal::TypedExpectation< F >::Times ( int  n) [inline]

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

template<typename F>
TypedExpectation& testing::internal::TypedExpectation< F >::WillOnce ( const Action< F > &  action) [inline]

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

template<typename F>
TypedExpectation& testing::internal::TypedExpectation< F >::WillOnce ( const Action< F > &  action) [inline]

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

template<typename F>
TypedExpectation& testing::internal::TypedExpectation< F >::WillRepeatedly ( const Action< F > &  action) [inline]

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

template<typename F>
TypedExpectation& testing::internal::TypedExpectation< F >::WillRepeatedly ( const Action< F > &  action) [inline]

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

template<typename F>
TypedExpectation& testing::internal::TypedExpectation< F >::With ( const Matcher< const ArgumentTuple & > &  m) [inline]

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

template<typename F>
TypedExpectation& testing::internal::TypedExpectation< F >::With ( const Matcher< const ArgumentTuple & > &  m) [inline]

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


Friends And Related Function Documentation

template<typename F>
FunctionMockerBase [friend]

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


Member Data Documentation

template<typename F>
Matcher< const ArgumentTuple & > testing::internal::TypedExpectation< F >::extra_matcher_ [private]

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

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

template<typename F>
FunctionMockerBase< F > *const testing::internal::TypedExpectation< F >::owner_ [private]

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

template<typename F>
Action< F > testing::internal::TypedExpectation< F >::repeated_action_ [private]

Definition at line 9785 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:02