Lines Matching refs:StrictMock
36 // Implements class templates NiceMock, NaggyMock, and StrictMock.
43 // StrictMock<MockFoo> is a subclass of MockFoo that treats all
53 // NiceMock, NaggyMock, and StrictMock "inherit" the constructors of
60 // and StrictMock<MockFoo> only works for mock methods defined using
64 // In particular, nesting NiceMock, NaggyMock, and StrictMock is NOT
272 class StrictMock : public MockClass {
276 StrictMock() {
284 explicit StrictMock(const A1& a1) : MockClass(a1) {
289 StrictMock(const A1& a1, const A2& a2) : MockClass(a1, a2) {
295 StrictMock(const A1& a1, const A2& a2, const A3& a3) : MockClass(a1, a2, a3) {
301 StrictMock(const A1& a1, const A2& a2, const A3& a3,
308 StrictMock(const A1& a1, const A2& a2, const A3& a3, const A4& a4,
316 StrictMock(const A1& a1, const A2& a2, const A3& a3, const A4& a4,
324 StrictMock(const A1& a1, const A2& a2, const A3& a3, const A4& a4,
333 StrictMock(const A1& a1, const A2& a2, const A3& a3, const A4& a4,
342 StrictMock(const A1& a1, const A2& a2, const A3& a3, const A4& a4,
351 StrictMock(const A1& a1, const A2& a2, const A3& a3, const A4& a4,
358 virtual ~StrictMock() {
364 GTEST_DISALLOW_COPY_AND_ASSIGN_(StrictMock);
372 // NaggyMock, and StrictMock cannot be nested.
379 class NiceMock<StrictMock<MockClass> >;
386 class NaggyMock<StrictMock<MockClass> >;
389 class StrictMock<NiceMock<MockClass> >;
391 class StrictMock<NaggyMock<MockClass> >;
393 class StrictMock<StrictMock<MockClass> >;