|
GNU Radio's DSD Package
|
#include <gmock-spec-builders.h>
Public Member Functions | |
| ExpectationBase (const char *file, int line, const string &source_text) | |
| virtual | ~ExpectationBase () |
| const char * | file () const |
| int | line () const |
| const char * | source_text () const |
| const Cardinality & | cardinality () const |
| void | DescribeLocationTo (::std::ostream *os) const |
| void | DescribeCallCountTo (::std::ostream *os) const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex) |
| virtual void | MaybeDescribeExtraMatcherTo (::std::ostream *os)=0 |
| ExpectationBase (const char *file, int line, const string &source_text) | |
| virtual | ~ExpectationBase () |
| const char * | file () const |
| int | line () const |
| const char * | source_text () const |
| const Cardinality & | cardinality () const |
| void | DescribeLocationTo (::std::ostream *os) const |
| void | DescribeCallCountTo (::std::ostream *os) const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex) |
| virtual void | MaybeDescribeExtraMatcherTo (::std::ostream *os)=0 |
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 Attributes | |
| const char * | file_ |
| int | line_ |
| const string | source_text_ |
| bool | cardinality_specified_ |
| Cardinality | cardinality_ |
| ExpectationSet | immediate_prerequisites_ |
| int | call_count_ |
| bool | retired_ |
| UntypedActions | untyped_actions_ |
| bool | extra_matcher_specified_ |
| bool | repeated_action_specified_ |
| bool | retires_on_saturation_ |
| Clause | last_clause_ |
| bool | action_count_checked_ |
| Mutex | mutex_ |
Friends | |
| class | ::testing::Expectation |
| class | UntypedFunctionMockerBase |
| class | ::testing::Sequence |
| class | ::testing::internal::ExpectationTester |
| template<typename Function> | |
| class | TypedExpectation |
| template<typename Function> | |
| class | TypedExpectation |
|
protected |
|
protected |
|
protected |
|
protected |
| testing::internal::ExpectationBase::ExpectationBase | ( | const char * | file, |
| int | line, | ||
| const string & | source_text ) |
References file(), line(), and source_text().
Referenced by GTEST_DISALLOW_ASSIGN_(), and testing::internal::TypedExpectation< F >::TypedExpectation().
|
virtual |
| testing::internal::ExpectationBase::ExpectationBase | ( | const char * | file, |
| int | line, | ||
| const string & | source_text ) |
References file(), line(), and source_text().
|
virtual |
|
protected |
References GTEST_EXCLUSIVE_LOCK_REQUIRED_.
|
protected |
References GTEST_EXCLUSIVE_LOCK_REQUIRED_.
|
inlineprotected |
References testing::internal::Assert(), file_, and line_.
|
inlineprotected |
References testing::internal::Assert(), file_, and line_.
|
inlineprotected |
References call_count(), call_count_, and GTEST_EXCLUSIVE_LOCK_REQUIRED_.
Referenced by call_count().
|
inlineprotected |
References call_count(), call_count_, and GTEST_EXCLUSIVE_LOCK_REQUIRED_.
|
inline |
References cardinality_.
Referenced by IsOverSaturated(), IsSatisfied(), IsSaturated(), and SpecifyCardinality().
|
inline |
References cardinality_.
|
inlineprotected |
References cardinality_specified_.
Referenced by testing::internal::TypedExpectation< F >::WillOnce(), and testing::internal::TypedExpectation< F >::WillRepeatedly().
|
inlineprotected |
References cardinality_specified_.
|
protected |
|
protected |
References ::testing::internal::ExpectationTester, ::testing::Sequence, GTEST_LOCK_EXCLUDED_, and mutex_.
| void testing::internal::ExpectationBase::DescribeCallCountTo | ( | ::std::ostream * | os | ) | const |
| void testing::internal::ExpectationBase::DescribeCallCountTo | ( | ::std::ostream * | os | ) | const |
|
inline |
References file(), testing::internal::FormatFileLocation(), and line().
|
inline |
References file(), testing::internal::FormatFileLocation(), and line().
|
inlineprotected |
References testing::internal::Expect(), file_, and line_.
Referenced by testing::internal::TypedExpectation< F >::After(), testing::internal::TypedExpectation< F >::InSequence(), testing::internal::TypedExpectation< F >::RetiresOnSaturation(), testing::internal::TypedExpectation< F >::WillOnce(), testing::internal::TypedExpectation< F >::WillRepeatedly(), and testing::internal::TypedExpectation< F >::With().
|
inlineprotected |
References testing::internal::Expect(), file_, and line_.
|
inline |
References file_.
Referenced by DescribeLocationTo(), and ExpectationBase().
|
inline |
References file_.
|
protected |
References FindUnsatisfiedPrerequisites(), and GTEST_EXCLUSIVE_LOCK_REQUIRED_.
Referenced by FindUnsatisfiedPrerequisites().
|
protected |
References FindUnsatisfiedPrerequisites(), and GTEST_EXCLUSIVE_LOCK_REQUIRED_.
|
protectedpure virtual |
References ::testing::Expectation.
|
protectedpure virtual |
References ::testing::Expectation.
|
protected |
References ExpectationBase(), GTEST_DISALLOW_ASSIGN_(), and TypedExpectation.
Referenced by GTEST_DISALLOW_ASSIGN_().
|
protected |
References ExpectationBase(), and GTEST_DISALLOW_ASSIGN_().
|
inlineprotected |
References call_count_, and GTEST_EXCLUSIVE_LOCK_REQUIRED_.
|
inlineprotected |
References call_count_, and GTEST_EXCLUSIVE_LOCK_REQUIRED_.
|
inlineprotected |
References GTEST_EXCLUSIVE_LOCK_REQUIRED_, is_retired(), and retired_.
Referenced by is_retired().
|
inlineprotected |
References GTEST_EXCLUSIVE_LOCK_REQUIRED_, is_retired(), and retired_.
|
inlineprotected |
References call_count_, cardinality(), and GTEST_EXCLUSIVE_LOCK_REQUIRED_.
|
inlineprotected |
References call_count_, cardinality(), and GTEST_EXCLUSIVE_LOCK_REQUIRED_.
|
inlineprotected |
References call_count_, cardinality(), and GTEST_EXCLUSIVE_LOCK_REQUIRED_.
|
inlineprotected |
References call_count_, cardinality(), and GTEST_EXCLUSIVE_LOCK_REQUIRED_.
|
inlineprotected |
References call_count_, cardinality(), and GTEST_EXCLUSIVE_LOCK_REQUIRED_.
|
inlineprotected |
References call_count_, cardinality(), and GTEST_EXCLUSIVE_LOCK_REQUIRED_.
|
inline |
References line_.
Referenced by DescribeLocationTo(), and ExpectationBase().
|
inline |
References line_.
|
pure virtual |
Implemented in testing::internal::TypedExpectation< F >, and testing::internal::TypedExpectation< F >.
|
pure virtual |
Implemented in testing::internal::TypedExpectation< F >, and testing::internal::TypedExpectation< F >.
References UntypedFunctionMockerBase.
|
inlineprotected |
References GTEST_EXCLUSIVE_LOCK_REQUIRED_, and retired_.
|
inlineprotected |
References GTEST_EXCLUSIVE_LOCK_REQUIRED_, and retired_.
|
protected |
References GTEST_EXCLUSIVE_LOCK_REQUIRED_.
|
protected |
References GTEST_EXCLUSIVE_LOCK_REQUIRED_.
|
inlineprotected |
References cardinality_.
Referenced by testing::internal::TypedExpectation< F >::WillOnce(), and testing::internal::TypedExpectation< F >::WillRepeatedly().
|
inlineprotected |
References cardinality_.
|
inline |
References source_text_.
Referenced by ExpectationBase().
|
inline |
References source_text_.
|
protected |
References cardinality().
|
protected |
References cardinality().
|
protected |
References UntypedTimes().
Referenced by testing::internal::TypedExpectation< F >::Times(), and UntypedTimes().
|
protected |
|
friend |
Referenced by testing::internal::TypedExpectation< F >::FunctionMockerBase, and GetHandle().
|
friend |
References ::testing::internal::ExpectationTester.
Referenced by ::testing::internal::ExpectationTester, and CheckActionCountIfNotDone().
|
friend |
References ::testing::Sequence.
Referenced by ::testing::Sequence, CheckActionCountIfNotDone(), testing::internal::TypedExpectation< F >::InSequence(), testing::internal::TypedExpectation< F >::InSequence(), testing::internal::TypedExpectation< F >::InSequence(), testing::internal::TypedExpectation< F >::InSequence(), and testing::internal::TypedExpectation< F >::InSequence().
|
friend |
References TypedExpectation.
Referenced by GTEST_DISALLOW_ASSIGN_(), and TypedExpectation.
|
friend |
References TypedExpectation.
|
friend |
References UntypedFunctionMockerBase.
Referenced by MaybeDescribeExtraMatcherTo(), and UntypedFunctionMockerBase.
|
mutableprotected |
Referenced by UntypedTimes().
|
protected |
Referenced by call_count(), IncrementCallCount(), IsOverSaturated(), IsSatisfied(), IsSaturated(), and UntypedTimes().
|
protected |
Referenced by cardinality(), set_cardinality(), and UntypedTimes().
|
protected |
Referenced by cardinality_specified(), and UntypedTimes().
|
protected |
|
protected |
Referenced by AssertSpecProperty(), ExpectSpecProperty(), file(), and UntypedTimes().
|
protected |
Referenced by testing::internal::TypedExpectation< F >::After(), and UntypedTimes().
|
protected |
Referenced by testing::internal::TypedExpectation< F >::After(), testing::internal::TypedExpectation< F >::InSequence(), testing::internal::TypedExpectation< F >::RetiresOnSaturation(), UntypedTimes(), testing::internal::TypedExpectation< F >::WillOnce(), testing::internal::TypedExpectation< F >::WillRepeatedly(), and testing::internal::TypedExpectation< F >::With().
|
protected |
Referenced by AssertSpecProperty(), ExpectSpecProperty(), line(), and UntypedTimes().
|
mutableprotected |
Referenced by CheckActionCountIfNotDone(), and UntypedTimes().
|
protected |
Referenced by UntypedTimes(), and testing::internal::TypedExpectation< F >::WillRepeatedly().
|
protected |
Referenced by is_retired(), Retire(), and UntypedTimes().
|
protected |
Referenced by testing::internal::TypedExpectation< F >::RetiresOnSaturation(), and UntypedTimes().
|
protected |
Referenced by source_text(), and UntypedTimes().
|
protected |