Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
testing::internal::OnCallSpec< F > Class Template Reference

#include <JETSCAPE/blob/main/external_packages/googletest/googlemock/include/gmock/gmock-spec-builders.h>

+ Inheritance diagram for testing::internal::OnCallSpec< F >:
+ Collaboration diagram for testing::internal::OnCallSpec< F >:

Public Types

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

Public Member Functions

 OnCallSpec (const char *a_file, int a_line, const ArgumentMatcherTuple &matchers)
 
OnCallSpecWith (const Matcher< const ArgumentTuple & > &m)
 
OnCallSpecWillByDefault (const Action< F > &action)
 
bool Matches (const ArgumentTuple &args) const
 
const Action< F > & GetAction () const
 
- Public Member Functions inherited from testing::internal::UntypedOnCallSpecBase
 UntypedOnCallSpecBase (const char *a_file, int a_line)
 
const char * file () const
 
int line () const
 

Private Attributes

ArgumentMatcherTuple matchers_
 
Matcher< const ArgumentTuple & > extra_matcher_
 
Action< Faction_
 

Additional Inherited Members

- Protected Types inherited from testing::internal::UntypedOnCallSpecBase
enum  Clause { kNone, kWith, kWillByDefault }
 
- Protected Member Functions inherited from testing::internal::UntypedOnCallSpecBase
void AssertSpecProperty (bool property, const string &failure_message) const
 
void ExpectSpecProperty (bool property, const string &failure_message) const
 
- Protected Attributes inherited from testing::internal::UntypedOnCallSpecBase
const char * file_
 
int line_
 
Clause last_clause_
 

Detailed Description

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

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

View newest version in sPHENIX GitHub at line 285 of file gmock-spec-builders.h

Member Typedef Documentation

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

View newest version in sPHENIX GitHub at line 288 of file gmock-spec-builders.h

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

View newest version in sPHENIX GitHub at line 287 of file gmock-spec-builders.h

Constructor & Destructor Documentation

template<typename F>
testing::internal::OnCallSpec< F >::OnCallSpec ( const char *  a_file,
int  a_line,
const ArgumentMatcherTuple matchers 
)
inline

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

View newest version in sPHENIX GitHub at line 292 of file gmock-spec-builders.h

Member Function Documentation

template<typename F>
const Action<F>& testing::internal::OnCallSpec< F >::GetAction ( ) const
inline

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

View newest version in sPHENIX GitHub at line 334 of file gmock-spec-builders.h

References testing::internal::OnCallSpec< F >::action_, testing::internal::UntypedOnCallSpecBase::AssertSpecProperty(), testing::internal::UntypedOnCallSpecBase::kWillByDefault, and testing::internal::UntypedOnCallSpecBase::last_clause_.

Referenced by testing::internal::FunctionMockerBase< R(A1, A2)>::PerformDefaultAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<typename F>
bool testing::internal::OnCallSpec< F >::Matches ( const ArgumentTuple args) const
inline

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

View newest version in sPHENIX GitHub at line 329 of file gmock-spec-builders.h

References testing::internal::OnCallSpec< F >::extra_matcher_, testing::internal::OnCallSpec< F >::matchers_, testing::internal::MatcherBase< T >::Matches(), and testing::internal::TupleMatches().

Referenced by testing::internal::FunctionMockerBase< R(A1, A2)>::FindOnCallSpec().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<typename F>
OnCallSpec& testing::internal::OnCallSpec< F >::WillByDefault ( const Action< F > &  action)
inline

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

View newest version in sPHENIX GitHub at line 316 of file gmock-spec-builders.h

References parse_cmake_options::action, testing::internal::OnCallSpec< F >::action_, testing::internal::UntypedOnCallSpecBase::ExpectSpecProperty(), testing::Action< F >::IsDoDefault(), testing::internal::UntypedOnCallSpecBase::kWillByDefault, and testing::internal::UntypedOnCallSpecBase::last_clause_.

+ Here is the call graph for this function:

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

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

View newest version in sPHENIX GitHub at line 304 of file gmock-spec-builders.h

References testing::internal::UntypedOnCallSpecBase::ExpectSpecProperty(), testing::internal::OnCallSpec< F >::extra_matcher_, testing::internal::UntypedOnCallSpecBase::kWith, testing::internal::UntypedOnCallSpecBase::last_clause_, and Acts::UnitConstants::m.

+ Here is the call graph for this function:

Member Data Documentation

template<typename F>
Action<F> testing::internal::OnCallSpec< F >::action_
private

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

View newest version in sPHENIX GitHub at line 357 of file gmock-spec-builders.h

Referenced by testing::internal::OnCallSpec< F >::GetAction(), and testing::internal::OnCallSpec< F >::WillByDefault().

template<typename F>
Matcher<const ArgumentTuple&> testing::internal::OnCallSpec< F >::extra_matcher_
private

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

View newest version in sPHENIX GitHub at line 356 of file gmock-spec-builders.h

Referenced by testing::internal::OnCallSpec< F >::Matches(), and testing::internal::OnCallSpec< F >::With().

template<typename F>
ArgumentMatcherTuple testing::internal::OnCallSpec< F >::matchers_
private

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

View newest version in sPHENIX GitHub at line 355 of file gmock-spec-builders.h

Referenced by testing::internal::OnCallSpec< F >::Matches().


The documentation for this class was generated from the following file: