59 #ifndef GMOCK_INCLUDE_GMOCK_GMOCK_GENERATED_NICE_STRICT_H_ 60 #define GMOCK_INCLUDE_GMOCK_GMOCK_GENERATED_NICE_STRICT_H_ 67 template <
class MockClass>
74 internal::ImplicitCast_<MockClass*>(
this));
79 template <
typename A1>
80 explicit NiceMock(
const A1& a1) : MockClass(a1) {
82 internal::ImplicitCast_<MockClass*>(
this));
84 template <
typename A1,
typename A2>
85 NiceMock(
const A1& a1,
const A2& a2) : MockClass(a1, a2) {
87 internal::ImplicitCast_<MockClass*>(
this));
90 template <
typename A1,
typename A2,
typename A3>
91 NiceMock(
const A1& a1,
const A2& a2,
const A3& a3) : MockClass(a1, a2, a3) {
93 internal::ImplicitCast_<MockClass*>(
this));
96 template <
typename A1,
typename A2,
typename A3,
typename A4>
97 NiceMock(
const A1& a1,
const A2& a2,
const A3& a3,
98 const A4& a4) : MockClass(a1, a2, a3, a4) {
100 internal::ImplicitCast_<MockClass*>(
this));
103 template <
typename A1,
typename A2,
typename A3,
typename A4,
typename A5>
104 NiceMock(
const A1& a1,
const A2& a2,
const A3& a3,
const A4& a4,
105 const A5& a5) : MockClass(a1, a2, a3, a4, a5) {
107 internal::ImplicitCast_<MockClass*>(
this));
110 template <
typename A1,
typename A2,
typename A3,
typename A4,
typename A5,
112 NiceMock(
const A1& a1,
const A2& a2,
const A3& a3,
const A4& a4,
113 const A5& a5,
const A6& a6) : MockClass(a1, a2, a3, a4, a5, a6) {
115 internal::ImplicitCast_<MockClass*>(
this));
118 template <
typename A1,
typename A2,
typename A3,
typename A4,
typename A5,
119 typename A6,
typename A7>
120 NiceMock(
const A1& a1,
const A2& a2,
const A3& a3,
const A4& a4,
121 const A5& a5,
const A6& a6,
const A7& a7) : MockClass(a1, a2, a3, a4, a5,
124 internal::ImplicitCast_<MockClass*>(
this));
127 template <
typename A1,
typename A2,
typename A3,
typename A4,
typename A5,
128 typename A6,
typename A7,
typename A8>
129 NiceMock(
const A1& a1,
const A2& a2,
const A3& a3,
const A4& a4,
130 const A5& a5,
const A6& a6,
const A7& a7,
const A8& a8) : MockClass(a1,
131 a2, a3, a4, a5, a6, a7, a8) {
133 internal::ImplicitCast_<MockClass*>(
this));
136 template <
typename A1,
typename A2,
typename A3,
typename A4,
typename A5,
137 typename A6,
typename A7,
typename A8,
typename A9>
138 NiceMock(
const A1& a1,
const A2& a2,
const A3& a3,
const A4& a4,
139 const A5& a5,
const A6& a6,
const A7& a7,
const A8& a8,
140 const A9& a9) : MockClass(a1, a2, a3, a4, a5, a6, a7, a8, a9) {
142 internal::ImplicitCast_<MockClass*>(
this));
145 template <
typename A1,
typename A2,
typename A3,
typename A4,
typename A5,
146 typename A6,
typename A7,
typename A8,
typename A9,
typename A10>
147 NiceMock(
const A1& a1,
const A2& a2,
const A3& a3,
const A4& a4,
148 const A5& a5,
const A6& a6,
const A7& a7,
const A8& a8,
const A9& a9,
149 const A10& a10) : MockClass(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
151 internal::ImplicitCast_<MockClass*>(
this));
156 internal::ImplicitCast_<MockClass*>(
this));
163 template <
class MockClass>
170 internal::ImplicitCast_<MockClass*>(
this));
173 template <
typename A1>
176 internal::ImplicitCast_<MockClass*>(
this));
178 template <
typename A1,
typename A2>
181 internal::ImplicitCast_<MockClass*>(
this));
184 template <
typename A1,
typename A2,
typename A3>
185 StrictMock(
const A1& a1,
const A2& a2,
const A3& a3) : MockClass(a1, a2, a3) {
187 internal::ImplicitCast_<MockClass*>(
this));
190 template <
typename A1,
typename A2,
typename A3,
typename A4>
192 const A4& a4) : MockClass(a1, a2, a3, a4) {
194 internal::ImplicitCast_<MockClass*>(
this));
197 template <
typename A1,
typename A2,
typename A3,
typename A4,
typename A5>
198 StrictMock(
const A1& a1,
const A2& a2,
const A3& a3,
const A4& a4,
199 const A5& a5) : MockClass(a1, a2, a3, a4, a5) {
201 internal::ImplicitCast_<MockClass*>(
this));
204 template <
typename A1,
typename A2,
typename A3,
typename A4,
typename A5,
206 StrictMock(
const A1& a1,
const A2& a2,
const A3& a3,
const A4& a4,
207 const A5& a5,
const A6& a6) : MockClass(a1, a2, a3, a4, a5, a6) {
209 internal::ImplicitCast_<MockClass*>(
this));
212 template <
typename A1,
typename A2,
typename A3,
typename A4,
typename A5,
213 typename A6,
typename A7>
214 StrictMock(
const A1& a1,
const A2& a2,
const A3& a3,
const A4& a4,
215 const A5& a5,
const A6& a6,
const A7& a7) : MockClass(a1, a2, a3, a4, a5,
218 internal::ImplicitCast_<MockClass*>(
this));
221 template <
typename A1,
typename A2,
typename A3,
typename A4,
typename A5,
222 typename A6,
typename A7,
typename A8>
223 StrictMock(
const A1& a1,
const A2& a2,
const A3& a3,
const A4& a4,
224 const A5& a5,
const A6& a6,
const A7& a7,
const A8& a8) : MockClass(a1,
225 a2, a3, a4, a5, a6, a7, a8) {
227 internal::ImplicitCast_<MockClass*>(
this));
230 template <
typename A1,
typename A2,
typename A3,
typename A4,
typename A5,
231 typename A6,
typename A7,
typename A8,
typename A9>
232 StrictMock(
const A1& a1,
const A2& a2,
const A3& a3,
const A4& a4,
233 const A5& a5,
const A6& a6,
const A7& a7,
const A8& a8,
234 const A9& a9) : MockClass(a1, a2, a3, a4, a5, a6, a7, a8, a9) {
236 internal::ImplicitCast_<MockClass*>(
this));
239 template <
typename A1,
typename A2,
typename A3,
typename A4,
typename A5,
240 typename A6,
typename A7,
typename A8,
typename A9,
typename A10>
241 StrictMock(
const A1& a1,
const A2& a2,
const A3& a3,
const A4& a4,
242 const A5& a5,
const A6& a6,
const A7& a7,
const A8& a8,
const A9& a9,
243 const A10& a10) : MockClass(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {
245 internal::ImplicitCast_<MockClass*>(
this));
250 internal::ImplicitCast_<MockClass*>(
this));
263 template <
typename MockClass>
264 class NiceMock<NiceMock<MockClass> >;
265 template <
typename MockClass>
266 class NiceMock<StrictMock<MockClass> >;
267 template <
typename MockClass>
268 class StrictMock<NiceMock<MockClass> >;
269 template <
typename MockClass>
270 class StrictMock<StrictMock<MockClass> >;
274 #endif // GMOCK_INCLUDE_GMOCK_GMOCK_GENERATED_NICE_STRICT_H_ NiceMock(const A1 &a1)
Definition: gmock-generated-nice-strict.h:80
Definition: gmock-actions.h:49
StrictMock(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8)
Definition: gmock-generated-nice-strict.h:223
StrictMock(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10)
Definition: gmock-generated-nice-strict.h:241
Definition: gmock-generated-nice-strict.h:164
GTEST_DISALLOW_COPY_AND_ASSIGN_(NiceMock)
NiceMock(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5)
Definition: gmock-generated-nice-strict.h:104
StrictMock(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9)
Definition: gmock-generated-nice-strict.h:232
virtual ~NiceMock()
Definition: gmock-generated-nice-strict.h:154
NiceMock(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9)
Definition: gmock-generated-nice-strict.h:138
StrictMock(const A1 &a1)
Definition: gmock-generated-nice-strict.h:174
NiceMock(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7)
Definition: gmock-generated-nice-strict.h:120
NiceMock(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6)
Definition: gmock-generated-nice-strict.h:112
NiceMock(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8)
Definition: gmock-generated-nice-strict.h:129
NiceMock(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4)
Definition: gmock-generated-nice-strict.h:97
Definition: gmock-generated-nice-strict.h:68
NiceMock(const A1 &a1, const A2 &a2)
Definition: gmock-generated-nice-strict.h:85
NiceMock()
Definition: gmock-generated-nice-strict.h:72
StrictMock(const A1 &a1, const A2 &a2)
Definition: gmock-generated-nice-strict.h:179
StrictMock(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7)
Definition: gmock-generated-nice-strict.h:214
static void AllowUninterestingCalls(const void *mock_obj)
Definition: gmock-spec-builders.cc:593
StrictMock()
Definition: gmock-generated-nice-strict.h:168
StrictMock(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5)
Definition: gmock-generated-nice-strict.h:198
StrictMock(const A1 &a1, const A2 &a2, const A3 &a3)
Definition: gmock-generated-nice-strict.h:185
StrictMock(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6)
Definition: gmock-generated-nice-strict.h:206
static void FailUninterestingCalls(const void *mock_obj)
Definition: gmock-spec-builders.cc:607
static void UnregisterCallReaction(const void *mock_obj)
Definition: gmock-spec-builders.cc:614
NiceMock(const A1 &a1, const A2 &a2, const A3 &a3)
Definition: gmock-generated-nice-strict.h:91
virtual ~StrictMock()
Definition: gmock-generated-nice-strict.h:248
NiceMock(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10)
Definition: gmock-generated-nice-strict.h:147
StrictMock(const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4)
Definition: gmock-generated-nice-strict.h:191