#include <gmock-nice-strict.h>
|
| NaggyMock () |
|
template<typename A > |
| NaggyMock (A &&arg) |
|
template<typename TArg1 , typename TArg2 , typename... An> |
| NaggyMock (TArg1 &&arg1, TArg2 &&arg2, An &&... args) |
|
template<class MockClass>
class testing::NaggyMock< MockClass >
Definition at line 176 of file gmock-nice-strict.h.
◆ NaggyMock() [1/3]
template<class MockClass >
Definition at line 186 of file gmock-nice-strict.h.
186 : MockClass() {
187 static_assert(sizeof(*this) == sizeof(MockClass),
188 "The impl subclass shouldn't introduce any padding");
189 }
◆ NaggyMock() [2/3]
template<class MockClass >
template<typename A >
Definition at line 199 of file gmock-nice-strict.h.
199 : MockClass(std::forward<A>(arg)) {
200 static_assert(sizeof(*this) == sizeof(MockClass),
201 "The impl subclass shouldn't introduce any padding");
202 }
◆ 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 205 of file gmock-nice-strict.h.
206 : MockClass(std::forward<TArg1>(arg1), std::forward<TArg2>(arg2),
207 std::forward<An>(args)...) {
208 static_assert(sizeof(*this) == sizeof(MockClass),
209 "The impl subclass shouldn't introduce any padding");
210 }
The documentation for this class was generated from the following file:
- /media/home/debian/src/github/tesseract-ocr/tesseract/unittest/third_party/googletest/googlemock/include/gmock/gmock-nice-strict.h