mirror of
https://git.mirrors.martin98.com/https://github.com/google/googletest.git
synced 2025-10-13 17:31:57 +08:00

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