Lines Matching refs:MockClass
70 template <class MockClass>
71 class NiceMock : public MockClass {
74 // we have to avoid a possible clash with members of MockClass.
77 internal::ImplicitCast_<MockClass*>(this));
83 explicit NiceMock(const A1& a1) : MockClass(a1) {
85 internal::ImplicitCast_<MockClass*>(this));
92 NiceMock($for j, [[const A$j& a$j]]) : MockClass($for j, [[a$j]]) {
94 internal::ImplicitCast_<MockClass*>(this));
101 internal::ImplicitCast_<MockClass*>(this));
108 template <class MockClass>
109 class StrictMock : public MockClass {
112 // we have to avoid a possible clash with members of MockClass.
115 internal::ImplicitCast_<MockClass*>(this));
119 explicit StrictMock(const A1& a1) : MockClass(a1) {
121 internal::ImplicitCast_<MockClass*>(this));
127 StrictMock($for j, [[const A$j& a$j]]) : MockClass($for j, [[a$j]]) {
129 internal::ImplicitCast_<MockClass*>(this));
136 internal::ImplicitCast_<MockClass*>(this));
149 template <typename MockClass>
150 class NiceMock<NiceMock<MockClass> >;
151 template <typename MockClass>
152 class NiceMock<StrictMock<MockClass> >;
153 template <typename MockClass>
154 class StrictMock<NiceMock<MockClass> >;
155 template <typename MockClass>
156 class StrictMock<StrictMock<MockClass> >;