Lines Matching refs:NiceMock
37 // Implements class templates NiceMock and StrictMock.
40 // NiceMock<MockFoo> is a subclass of MockFoo that allows
45 // NiceMock and StrictMock "inherits" the constructors of their
47 // write NiceMock<MockFoo>(5, "a") to construct a nice mock where
51 // A known limitation is that NiceMock<MockFoo> and
56 // particular, nesting NiceMock and StrictMock is NOT supported.
71 class NiceMock : public MockClass {
75 NiceMock() {
83 explicit NiceMock(const A1& a1) : MockClass(a1) {
92 NiceMock($for j, [[const A$j& a$j]]) : MockClass($for j, [[a$j]]) {
99 virtual ~NiceMock() {
105 GTEST_DISALLOW_COPY_AND_ASSIGN_(NiceMock);
147 // These specializations are declared but not defined, as NiceMock and
150 class NiceMock<NiceMock<MockClass> >;
152 class NiceMock<StrictMock<MockClass> >;
154 class StrictMock<NiceMock<MockClass> >;