mirror of
https://github.com/google/googletest.git
synced 2024-12-27 10:11:03 +08:00
ca4b7c9ff4
Give each of Naggy/Nice/StrictMock a base class whose constructor runs before the mocked class's constructor, and a destructor that runs after the mocked class's destructor, so that any mock methods run in either the constructor or destructor use the same strictness as other calls. PiperOrigin-RevId: 348511612