Lines Matching refs:StrictMock
34 // Implements class templates NiceMock and StrictMock.
39 // EXPECT_CALL specs), and StrictMock<MockFoo> is a subclass of
42 // NiceMock and StrictMock "inherits" the constructors of their
49 // StrictMock<MockFoo> only works for mock methods defined using the
53 // particular, nesting NiceMock and StrictMock is NOT supported.
164 class StrictMock : public MockClass {
168 StrictMock() {
174 explicit StrictMock(const A1& a1) : MockClass(a1) {
179 StrictMock(const A1& a1, const A2& a2) : MockClass(a1, a2) {
185 StrictMock(const A1& a1, const A2& a2, const A3& a3) : MockClass(a1, a2, a3) {
191 StrictMock(const A1& a1, const A2& a2, const A3& a3,
198 StrictMock(const A1& a1, const A2& a2, const A3& a3, const A4& a4,
206 StrictMock(const A1& a1, const A2& a2, const A3& a3, const A4& a4,
214 StrictMock(const A1& a1, const A2& a2, const A3& a3, const A4& a4,
223 StrictMock(const A1& a1, const A2& a2, const A3& a3, const A4& a4,
232 StrictMock(const A1& a1, const A2& a2, const A3& a3, const A4& a4,
241 StrictMock(const A1& a1, const A2& a2, const A3& a3, const A4& a4,
248 virtual ~StrictMock() {
254 GTEST_DISALLOW_COPY_AND_ASSIGN_(StrictMock);
262 // StrictMock cannot be nested.
266 class NiceMock<StrictMock<MockClass> >;
268 class StrictMock<NiceMock<MockClass> >;
270 class StrictMock<StrictMock<MockClass> >;