mirror of
https://github.com/google/googletest.git
synced 2025-01-14 00:20:57 +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