#include <gmock-nice-strict.h>
|
| NiceMock () |
|
template<typename A > |
| NiceMock (A &&arg) |
|
template<typename TArg1 , typename TArg2 , typename... An> |
| NiceMock (TArg1 &&arg1, TArg2 &&arg2, An &&... args) |
|
template<class MockClass>
class testing::NiceMock< MockClass >
Definition at line 136 of file gmock-nice-strict.h.
◆ NiceMock() [1/3]
template<class MockClass >
Definition at line 145 of file gmock-nice-strict.h.
145 : MockClass() {
146 static_assert(sizeof(*this) == sizeof(MockClass),
147 "The impl subclass shouldn't introduce any padding");
148 }
◆ NiceMock() [2/3]
template<class MockClass >
template<typename A >
Definition at line 158 of file gmock-nice-strict.h.
158 : MockClass(std::forward<A>(arg)) {
159 static_assert(sizeof(*this) == sizeof(MockClass),
160 "The impl subclass shouldn't introduce any padding");
161 }
◆ NiceMock() [3/3]
template<class MockClass >
template<typename TArg1 , typename TArg2 , typename... An>
testing::NiceMock< MockClass >::NiceMock |
( |
TArg1 && |
arg1, |
|
|
TArg2 && |
arg2, |
|
|
An &&... |
args |
|
) |
| |
|
inline |
Definition at line 164 of file gmock-nice-strict.h.
165 : MockClass(std::forward<TArg1>(arg1), std::forward<TArg2>(arg2),
166 std::forward<An>(args)...) {
167 static_assert(sizeof(*this) == sizeof(MockClass),
168 "The impl subclass shouldn't introduce any padding");
169 }
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