Public Member Functions | |
| ExpectationBase (const char *file, int line, const string &source_text) | |
| 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 } |
| typedef std::vector< const void * > | UntypedActions |
Protected Member Functions | |
| virtual Expectation | GetHandle ()=0 |
| void | AssertSpecProperty (bool property, const string &failure_message) const |
| void | ExpectSpecProperty (bool property, const string &failure_message) const |
| void | SpecifyCardinality (const Cardinality &cardinality) |
| bool | cardinality_specified () const |
| void | set_cardinality (const Cardinality &a_cardinality) |
| void | RetireAllPreRequisites () GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex) |
| bool | is_retired () const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex) |
| void | Retire () 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 | IsOverSaturated () const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex) |
| bool | AllPrerequisitesAreSatisfied () const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex) |
| void | FindUnsatisfiedPrerequisites (ExpectationSet *result) const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex) |
| int | call_count () const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex) |
| void | IncrementCallCount () GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex) |
| void | CheckActionCountIfNotDone () const GTEST_LOCK_EXCLUDED_(mutex_) |
| void | UntypedTimes (const Cardinality &a_cardinality) |
| GTEST_DISALLOW_ASSIGN_ (ExpectationBase) | |
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 |
| class | TypedExpectation |
1.6.1