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

#include <gmock-nice-strict.h>

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

Public Member Functions

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

Detailed Description

template<class MockClass>
class testing::StrictMock< MockClass >

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

Constructor & Destructor Documentation

◆ StrictMock() [1/3]

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

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

242  : MockClass() {
243  static_assert(sizeof(*this) == sizeof(MockClass),
244  "The impl subclass shouldn't introduce any padding");
245  }

◆ StrictMock() [2/3]

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

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

255  : MockClass(std::forward<A>(arg)) {
256  static_assert(sizeof(*this) == sizeof(MockClass),
257  "The impl subclass shouldn't introduce any padding");
258  }

◆ StrictMock() [3/3]

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

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

262  : MockClass(std::forward<TArg1>(arg1), std::forward<TArg2>(arg2),
263  std::forward<An>(args)...) {
264  static_assert(sizeof(*this) == sizeof(MockClass),
265  "The impl subclass shouldn't introduce any padding");
266  }

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