|
proxygen
|
#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 |
| 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 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 |
| template<typename Function > | |
| class | TypedExpectation |
Definition at line 690 of file gmock-spec-builders.h.
|
protected |
Definition at line 734 of file gmock-spec-builders.h.
|
protected |
Definition at line 734 of file gmock-spec-builders.h.
|
protected |
Definition at line 734 of file gmock-spec-builders.h.
|
protected |
Definition at line 722 of file gmock-spec-builders.h.
|
protected |
Definition at line 722 of file gmock-spec-builders.h.
|
protected |
Definition at line 722 of file gmock-spec-builders.h.
| testing::internal::ExpectationBase::ExpectationBase | ( | const char * | file, |
| int | line, | ||
| const string & | source_text | ||
| ) |
Definition at line 68 of file gmock-spec-builders.cc.
|
virtual |
Definition at line 85 of file gmock-spec-builders.cc.
| testing::internal::ExpectationBase::ExpectationBase | ( | const char * | file, |
| int | line, | ||
| const string & | source_text | ||
| ) |
|
virtual |
| testing::internal::ExpectationBase::ExpectationBase | ( | const char * | file, |
| int | line, | ||
| const string & | source_text | ||
| ) |
|
virtual |
|
protected |
Definition at line 115 of file gmock-spec-builders.cc.
References testing::ExpectationSet::begin(), testing::ExpectationSet::end(), and immediate_prerequisites_.
|
protected |
|
protected |
|
inlineprotected |
Definition at line 741 of file gmock-spec-builders.h.
References testing::internal::Assert().
|
inlineprotected |
Definition at line 741 of file gmock-spec-builders.h.
References testing::internal::Assert().
|
inlineprotected |
Definition at line 741 of file gmock-spec-builders.h.
References testing::internal::Assert().
|
inlineprotected |
Definition at line 815 of file gmock-spec-builders.h.
|
inlineprotected |
|
inlineprotected |
Definition at line 815 of file gmock-spec-builders.h.
|
inline |
Definition at line 702 of file gmock-spec-builders.h.
Referenced by CheckActionCountIfNotDone(), and DescribeCallCountTo().
|
inline |
Definition at line 702 of file gmock-spec-builders.h.
|
inline |
Definition at line 702 of file gmock-spec-builders.h.
|
inlineprotected |
Definition at line 756 of file gmock-spec-builders.h.
|
inlineprotected |
Definition at line 756 of file gmock-spec-builders.h.
|
inlineprotected |
Definition at line 756 of file gmock-spec-builders.h.
|
protected |
|
protected |
Definition at line 173 of file gmock-spec-builders.cc.
References action_count_checked_, cardinality(), cardinality_specified_, testing::Cardinality::ConservativeLowerBound(), testing::Cardinality::ConservativeUpperBound(), DescribeLocationTo(), testing::Cardinality::DescribeTo(), testing::internal::kWarning, testing::internal::Log(), repeated_action_specified_, source_text(), and untyped_actions_.
|
protected |
| void testing::internal::ExpectationBase::DescribeCallCountTo | ( | ::std::ostream * | os | ) | const |
| void testing::internal::ExpectationBase::DescribeCallCountTo | ( | ::std::ostream * | os | ) | const |
Definition at line 150 of file gmock-spec-builders.cc.
References call_count(), cardinality(), testing::Cardinality::DescribeActualCallCountTo(), testing::Cardinality::DescribeTo(), is_retired(), IsOverSaturated(), IsSatisfied(), and IsSaturated().
Referenced by testing::internal::FunctionMockerBase< R(A1, A2)>::PrintTriedExpectationsLocked(), and testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked().
| void testing::internal::ExpectationBase::DescribeCallCountTo | ( | ::std::ostream * | os | ) | const |
|
inline |
Definition at line 705 of file gmock-spec-builders.h.
References testing::internal::FormatFileLocation(), and GTEST_EXCLUSIVE_LOCK_REQUIRED_.
Referenced by CheckActionCountIfNotDone(), testing::internal::FunctionMockerBase< R(A1, A2)>::PrintTriedExpectationsLocked(), and testing::internal::UntypedFunctionMockerBase::UntypedInvokeWith().
|
inline |
Definition at line 705 of file gmock-spec-builders.h.
References testing::internal::FormatFileLocation(), and GTEST_EXCLUSIVE_LOCK_REQUIRED_.
|
inline |
Definition at line 705 of file gmock-spec-builders.h.
References testing::internal::FormatFileLocation(), and GTEST_EXCLUSIVE_LOCK_REQUIRED_.
|
inlineprotected |
Definition at line 746 of file gmock-spec-builders.h.
References testing::internal::Expect().
|
inlineprotected |
Definition at line 746 of file gmock-spec-builders.h.
References testing::internal::Expect().
Referenced by UntypedTimes().
|
inlineprotected |
Definition at line 746 of file gmock-spec-builders.h.
References testing::internal::Expect().
|
inline |
Definition at line 698 of file gmock-spec-builders.h.
Referenced by testing::internal::UntypedFunctionMockerBase::UntypedInvokeWith(), and testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked().
|
inline |
Definition at line 698 of file gmock-spec-builders.h.
|
inline |
Definition at line 698 of file gmock-spec-builders.h.
|
protected |
|
protected |
Definition at line 128 of file gmock-spec-builders.cc.
References testing::ExpectationSet::begin(), testing::ExpectationSet::end(), and immediate_prerequisites_.
|
protected |
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
|
protected |
|
protected |
|
protected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
Definition at line 772 of file gmock-spec-builders.h.
|
inlineprotected |
Definition at line 772 of file gmock-spec-builders.h.
|
inlineprotected |
Definition at line 772 of file gmock-spec-builders.h.
Referenced by DescribeCallCountTo(), and RetireAllPreRequisites().
|
inlineprotected |
Definition at line 800 of file gmock-spec-builders.h.
References GTEST_EXCLUSIVE_LOCK_REQUIRED_, and testing::Cardinality::IsOverSaturatedByCallCount().
|
inlineprotected |
Definition at line 800 of file gmock-spec-builders.h.
References GTEST_EXCLUSIVE_LOCK_REQUIRED_, and testing::Cardinality::IsOverSaturatedByCallCount().
Referenced by DescribeCallCountTo(), and testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked().
|
inlineprotected |
Definition at line 800 of file gmock-spec-builders.h.
References GTEST_EXCLUSIVE_LOCK_REQUIRED_, and testing::Cardinality::IsOverSaturatedByCallCount().
|
inlineprotected |
Definition at line 786 of file gmock-spec-builders.h.
References testing::Cardinality::IsSatisfiedByCallCount().
Referenced by DescribeCallCountTo(), and testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked().
|
inlineprotected |
Definition at line 786 of file gmock-spec-builders.h.
References testing::Cardinality::IsSatisfiedByCallCount().
|
inlineprotected |
Definition at line 786 of file gmock-spec-builders.h.
References testing::Cardinality::IsSatisfiedByCallCount().
|
inlineprotected |
Definition at line 793 of file gmock-spec-builders.h.
References testing::Cardinality::IsSaturatedByCallCount().
|
inlineprotected |
Definition at line 793 of file gmock-spec-builders.h.
References testing::Cardinality::IsSaturatedByCallCount().
Referenced by DescribeCallCountTo(), and testing::internal::FunctionMockerBase< R(A1, A2)>::UntypedFindMatchingExpectation().
|
inlineprotected |
Definition at line 793 of file gmock-spec-builders.h.
References testing::Cardinality::IsSaturatedByCallCount().
|
inline |
Definition at line 699 of file gmock-spec-builders.h.
|
inline |
Definition at line 699 of file gmock-spec-builders.h.
|
inline |
Definition at line 699 of file gmock-spec-builders.h.
Referenced by testing::internal::UntypedFunctionMockerBase::UntypedInvokeWith(), and testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked().
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
inlineprotected |
|
inlineprotected |
Definition at line 779 of file gmock-spec-builders.h.
|
inlineprotected |
Definition at line 779 of file gmock-spec-builders.h.
|
protected |
Definition at line 95 of file gmock-spec-builders.cc.
References testing::ExpectationSet::begin(), testing::ExpectationSet::end(), immediate_prerequisites_, is_retired(), Retire(), and RetireAllPreRequisites().
Referenced by RetireAllPreRequisites().
|
protected |
|
protected |
|
inlineprotected |
Definition at line 759 of file gmock-spec-builders.h.
References GTEST_EXCLUSIVE_LOCK_REQUIRED_.
|
inlineprotected |
Definition at line 759 of file gmock-spec-builders.h.
References GTEST_EXCLUSIVE_LOCK_REQUIRED_.
|
inlineprotected |
Definition at line 759 of file gmock-spec-builders.h.
References GTEST_EXCLUSIVE_LOCK_REQUIRED_.
|
inline |
Definition at line 700 of file gmock-spec-builders.h.
|
inline |
Definition at line 700 of file gmock-spec-builders.h.
Referenced by CheckActionCountIfNotDone(), testing::internal::FunctionMockerBase< R(A1, A2)>::PrintTriedExpectationsLocked(), and testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked().
|
inline |
Definition at line 700 of file gmock-spec-builders.h.
|
protected |
|
protected |
Definition at line 89 of file gmock-spec-builders.cc.
References cardinality_, and cardinality_specified_.
Referenced by UntypedTimes().
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 225 of file gmock-spec-builders.cc.
References ExpectSpecProperty(), kTimes, last_clause_, and SpecifyCardinality().
Referenced by testing::internal::TypedExpectation< F >::Times().
|
friend |
Definition at line 719 of file gmock-spec-builders.h.
|
friend |
Definition at line 836 of file gmock-spec-builders.h.
|
friend |
Definition at line 835 of file gmock-spec-builders.h.
|
friend |
Definition at line 839 of file gmock-spec-builders.h.
|
friend |
Definition at line 839 of file gmock-spec-builders.h.
|
friend |
Definition at line 839 of file gmock-spec-builders.h.
|
friend |
Definition at line 720 of file gmock-spec-builders.h.
|
mutableprotected |
Definition at line 869 of file gmock-spec-builders.h.
Referenced by CheckActionCountIfNotDone().
|
protected |
Definition at line 862 of file gmock-spec-builders.h.
Referenced by testing::internal::ExpectationTester::SetCallCount().
|
protected |
Definition at line 851 of file gmock-spec-builders.h.
Referenced by SpecifyCardinality().
|
protected |
Definition at line 850 of file gmock-spec-builders.h.
Referenced by CheckActionCountIfNotDone(), and SpecifyCardinality().
|
protected |
Definition at line 865 of file gmock-spec-builders.h.
|
protected |
Definition at line 846 of file gmock-spec-builders.h.
|
protected |
Definition at line 858 of file gmock-spec-builders.h.
Referenced by testing::Sequence::AddExpectation(), AllPrerequisitesAreSatisfied(), FindUnsatisfiedPrerequisites(), and RetireAllPreRequisites().
|
protected |
Definition at line 868 of file gmock-spec-builders.h.
Referenced by UntypedTimes().
|
protected |
Definition at line 847 of file gmock-spec-builders.h.
|
mutableprotected |
Definition at line 870 of file gmock-spec-builders.h.
|
protected |
Definition at line 866 of file gmock-spec-builders.h.
Referenced by CheckActionCountIfNotDone().
|
protected |
Definition at line 863 of file gmock-spec-builders.h.
|
protected |
Definition at line 867 of file gmock-spec-builders.h.
|
protected |
Definition at line 848 of file gmock-spec-builders.h.
|
protected |
Definition at line 864 of file gmock-spec-builders.h.
Referenced by CheckActionCountIfNotDone().