Electroneum
Loading...
Searching...
No Matches
testing::MockSpec< F > Class Template Reference

#include <gmock-spec-builders.h>

Public Types

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

Public Member Functions

 MockSpec (internal::FunctionMockerBase< F > *function_mocker)
internal::OnCallSpec< F > & InternalDefaultActionSetAt (const char *file, int line, const char *obj, const char *call)
internal::TypedExpectation< F > & InternalExpectedAt (const char *file, int line, const char *obj, const char *call)

Friends

template<typename Function>
class internal::FunctionMocker

Detailed Description

template<typename F>
class testing::MockSpec< F >

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

Member Typedef Documentation

◆ ArgumentMatcherTuple

template<typename F>
typedef internal::Function<F>::ArgumentMatcherTuple testing::internal::MockSpec< F >::ArgumentMatcherTuple

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

◆ ArgumentTuple

template<typename F>
typedef internal::Function<F>::ArgumentTuple testing::internal::MockSpec< F >::ArgumentTuple

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

Constructor & Destructor Documentation

◆ MockSpec()

template<typename F>
testing::internal::MockSpec< F >::MockSpec ( internal::FunctionMockerBase< F > * function_mocker)
inlineexplicit

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

Member Function Documentation

◆ InternalDefaultActionSetAt()

template<typename F>
internal::OnCallSpec< F > & testing::internal::MockSpec< F >::InternalDefaultActionSetAt ( const char * file,
int line,
const char * obj,
const char * call )
inline

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

1260 {
1262 string("ON_CALL(") + obj + ", " + call + ") invoked");
1263 return function_mocker_->AddNewOnCallSpec(file, line, matchers_);
1264 }
GTEST_API_ void LogWithLocation(testing::internal::LogSeverity severity, const char *file, int line, const string &message)

◆ InternalExpectedAt()

template<typename F>
internal::TypedExpectation< F > & testing::internal::MockSpec< F >::InternalExpectedAt ( const char * file,
int line,
const char * obj,
const char * call )
inline

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

1269 {
1270 const string source_text(string("EXPECT_CALL(") + obj + ", " + call + ")");
1272 return function_mocker_->AddNewExpectation(
1273 file, line, source_text, matchers_);
1274 }

◆ internal::FunctionMocker

template<typename F>
template<typename Function>
friend class internal::FunctionMocker
friend

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


The documentation for this class was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/external/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-spec-builders.h