Lines Matching refs:StrictMock
37 // Implements class templates NiceMock and StrictMock.
42 // EXPECT_CALL specs), and StrictMock<MockFoo> is a subclass of
45 // NiceMock and StrictMock "inherits" the constructors of their
52 // StrictMock<MockFoo> only works for mock methods defined using the
56 // particular, nesting NiceMock and StrictMock is NOT supported.
109 class StrictMock : public MockClass {
113 StrictMock() {
119 explicit StrictMock(const A1& a1) : MockClass(a1) {
127 StrictMock($for j, [[const A$j& a$j]]) : MockClass($for j, [[a$j]]) {
134 virtual ~StrictMock() {
140 GTEST_DISALLOW_COPY_AND_ASSIGN_(StrictMock);
148 // StrictMock cannot be nested.
152 class NiceMock<StrictMock<MockClass> >;
154 class StrictMock<NiceMock<MockClass> >;
156 class StrictMock<StrictMock<MockClass> >;