Xmipp  v3.23.11-Nereus
Public Member Functions | List of all members
testing::NaggyMock< MockClass > Class Template Reference

#include <gmock-nice-strict.h>

Inheritance diagram for testing::NaggyMock< MockClass >:
Inheritance graph
[legend]
Collaboration diagram for testing::NaggyMock< MockClass >:
Collaboration graph
[legend]

Public Member Functions

 NaggyMock ()
 
template<typename A >
 NaggyMock (A &&arg)
 
template<typename TArg1 , typename TArg2 , typename... An>
 NaggyMock (TArg1 &&arg1, TArg2 &&arg2, An &&... args)
 

Detailed Description

template<class MockClass>
class testing::NaggyMock< MockClass >

Definition at line 76 of file gmock-nice-strict.h.

Constructor & Destructor Documentation

◆ NaggyMock() [1/3]

template<class MockClass >
testing::NaggyMock< MockClass >::NaggyMock ( )
inline

Definition at line 200 of file gmock-nice-strict.h.

200  : MockClass() {
201  static_assert(sizeof(*this) == sizeof(MockClass),
202  "The impl subclass shouldn't introduce any padding");
203  }

◆ NaggyMock() [2/3]

template<class MockClass >
template<typename A >
testing::NaggyMock< MockClass >::NaggyMock ( A &&  arg)
inlineexplicit

Definition at line 213 of file gmock-nice-strict.h.

213  : MockClass(std::forward<A>(arg)) {
214  static_assert(sizeof(*this) == sizeof(MockClass),
215  "The impl subclass shouldn't introduce any padding");
216  }

◆ NaggyMock() [3/3]

template<class MockClass >
template<typename TArg1 , typename TArg2 , typename... An>
testing::NaggyMock< MockClass >::NaggyMock ( TArg1 &&  arg1,
TArg2 &&  arg2,
An &&...  args 
)
inline

Definition at line 219 of file gmock-nice-strict.h.

220  : MockClass(std::forward<TArg1>(arg1), std::forward<TArg2>(arg2),
221  std::forward<An>(args)...) {
222  static_assert(sizeof(*this) == sizeof(MockClass),
223  "The impl subclass shouldn't introduce any padding");
224  }

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