![]() |
Analysis Software
Documentation for sPHENIX simulation software
|
#include <JETSCAPE/blob/main/external_packages/googletest/googlemock/include/gmock/gmock-spec-builders.h>
Inheritance diagram for testing::internal::ExpectationBase:
Collaboration diagram for testing::internal::ExpectationBase: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 |
Protected Types | |
| enum | Clause { kNone, kWith, kTimes, kInSequence, kAfter, kWillOnce, kWillRepeatedly, kRetiresOnSaturation } |
| 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 |
Definition at line 690 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 690 of file gmock-spec-builders.h
|
protected |
Definition at line 734 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 734 of file gmock-spec-builders.h
|
protected |
Definition at line 722 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub at line 68 of file gmock-spec-builders.cc
|
virtual |
Definition at line 85 of file gmock-spec-builders.cc.
View newest version in sPHENIX GitHub at line 85 of file gmock-spec-builders.cc
|
protected |
Definition at line 115 of file gmock-spec-builders.cc.
View newest version in sPHENIX GitHub at line 115 of file gmock-spec-builders.cc
References testing::ExpectationSet::begin(), testing::ExpectationSet::end(), immediate_prerequisites_, and it.
Here is the call graph for this function:
|
inlineprotected |
Definition at line 741 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 741 of file gmock-spec-builders.h
References testing::internal::Assert().
Here is the call graph for this function:
|
inlineprotected |
Definition at line 815 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 815 of file gmock-spec-builders.h
|
inline |
Definition at line 702 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 702 of file gmock-spec-builders.h
Referenced by CheckActionCountIfNotDone().
Here is the caller graph for this function:
|
inlineprotected |
Definition at line 756 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 756 of file gmock-spec-builders.h
|
protected |
Definition at line 173 of file gmock-spec-builders.cc.
View newest version in sPHENIX GitHub 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_.
Here is the call graph for this function:| void testing::internal::ExpectationBase::DescribeCallCountTo | ( | ::std::ostream * | os | ) | const |
Definition at line 150 of file gmock-spec-builders.cc.
View newest version in sPHENIX GitHub at line 150 of file gmock-spec-builders.cc
References testing::Cardinality::DescribeActualCallCountTo(), and os.
Referenced by testing::internal::FunctionMockerBase< R(A1, A2)>::PrintTriedExpectationsLocked(), and testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 705 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 705 of file gmock-spec-builders.h
References file, testing::internal::FormatFileLocation(), and line.
Referenced by CheckActionCountIfNotDone(), testing::internal::FunctionMockerBase< R(A1, A2)>::PrintTriedExpectationsLocked(), and testing::internal::UntypedFunctionMockerBase::UntypedInvokeWith().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprotected |
Definition at line 746 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 746 of file gmock-spec-builders.h
References testing::internal::Expect().
Referenced by UntypedTimes().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 698 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 698 of file gmock-spec-builders.h
Referenced by conftest.RootHashAssertionError::__init__(), testing::internal::UntypedFunctionMockerBase::UntypedInvokeWith(), and testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked().
Here is the caller graph for this function:
|
protected |
Definition at line 128 of file gmock-spec-builders.cc.
View newest version in sPHENIX GitHub at line 128 of file gmock-spec-builders.cc
References it.
|
protectedpure virtual |
Implemented in testing::internal::TypedExpectation< F >.
|
protected |
|
inlineprotected |
Definition at line 822 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 822 of file gmock-spec-builders.h
|
inlineprotected |
Definition at line 772 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 772 of file gmock-spec-builders.h
Referenced by RetireAllPreRequisites().
Here is the caller graph for this function:
|
inlineprotected |
Definition at line 800 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 800 of file gmock-spec-builders.h
Referenced by testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked().
Here is the caller graph for this function:
|
inlineprotected |
Definition at line 786 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 786 of file gmock-spec-builders.h
Referenced by testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked().
Here is the caller graph for this function:
|
inlineprotected |
Definition at line 793 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 793 of file gmock-spec-builders.h
Referenced by testing::internal::FunctionMockerBase< R(A1, A2)>::UntypedFindMatchingExpectation().
Here is the caller graph for this function:
|
inline |
Definition at line 699 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 699 of file gmock-spec-builders.h
Referenced by item.Item::__eq__(), item.Item::__hash__(), testing::internal::UntypedFunctionMockerBase::UntypedInvokeWith(), and testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked().
Here is the caller graph for this function:
|
pure virtual |
Implemented in testing::internal::TypedExpectation< F >.
Referenced by testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked().
Here is the caller graph for this function:
|
inlineprotected |
Definition at line 779 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 779 of file gmock-spec-builders.h
Referenced by RetireAllPreRequisites().
Here is the caller graph for this function:
|
protected |
Definition at line 95 of file gmock-spec-builders.cc.
View newest version in sPHENIX GitHub at line 95 of file gmock-spec-builders.cc
References testing::ExpectationSet::begin(), testing::ExpectationSet::end(), immediate_prerequisites_, is_retired(), it, Retire(), and RetireAllPreRequisites().
Referenced by RetireAllPreRequisites().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprotected |
Definition at line 759 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 759 of file gmock-spec-builders.h
|
inline |
Definition at line 700 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 700 of file gmock-spec-builders.h
Referenced by CheckActionCountIfNotDone(), testing::internal::FunctionMockerBase< R(A1, A2)>::PrintTriedExpectationsLocked(), and testing::internal::UntypedFunctionMockerBase::VerifyAndClearExpectationsLocked().
Here is the caller graph for this function:
|
protected |
Definition at line 89 of file gmock-spec-builders.cc.
View newest version in sPHENIX GitHub at line 89 of file gmock-spec-builders.cc
References cardinality_, and cardinality_specified_.
Referenced by UntypedTimes().
Here is the caller graph for this function:
|
protected |
Definition at line 225 of file gmock-spec-builders.cc.
View newest version in sPHENIX GitHub at line 225 of file gmock-spec-builders.cc
References ExpectSpecProperty(), kTimes, last_clause_, and SpecifyCardinality().
Referenced by testing::internal::TypedExpectation< F >::Times().
Here is the call graph for this function:
Here is the caller graph for this function:
|
friend |
Definition at line 719 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 719 of file gmock-spec-builders.h
|
friend |
Definition at line 836 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 836 of file gmock-spec-builders.h
|
friend |
Definition at line 835 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 835 of file gmock-spec-builders.h
|
friend |
Definition at line 839 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 839 of file gmock-spec-builders.h
|
friend |
Definition at line 720 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 720 of file gmock-spec-builders.h
|
mutableprotected |
Definition at line 869 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 869 of file gmock-spec-builders.h
Referenced by CheckActionCountIfNotDone().
|
protected |
Definition at line 862 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub at line 851 of file gmock-spec-builders.h
Referenced by SpecifyCardinality().
|
protected |
Definition at line 850 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub at line 865 of file gmock-spec-builders.h
|
protected |
Definition at line 846 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 846 of file gmock-spec-builders.h
|
protected |
Definition at line 858 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 858 of file gmock-spec-builders.h
Referenced by testing::Sequence::AddExpectation(), AllPrerequisitesAreSatisfied(), and RetireAllPreRequisites().
|
protected |
Definition at line 868 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 868 of file gmock-spec-builders.h
Referenced by UntypedTimes().
|
protected |
Definition at line 847 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 847 of file gmock-spec-builders.h
|
mutableprotected |
Definition at line 870 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 870 of file gmock-spec-builders.h
|
protected |
Definition at line 866 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 866 of file gmock-spec-builders.h
Referenced by CheckActionCountIfNotDone().
|
protected |
Definition at line 863 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 863 of file gmock-spec-builders.h
|
protected |
Definition at line 867 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 867 of file gmock-spec-builders.h
|
protected |
Definition at line 848 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 848 of file gmock-spec-builders.h
|
protected |
Definition at line 864 of file gmock-spec-builders.h.
View newest version in sPHENIX GitHub at line 864 of file gmock-spec-builders.h
Referenced by CheckActionCountIfNotDone().