mirror of
https://git.mirrors.martin98.com/https://github.com/google/googletest.git
synced 2025-08-04 03:30:51 +08:00

Add static_asserts that verify that no class hierarchy contains more than one of {NiceMock, NaggyMock, StrictMock}. This sort of nesting has always been disallowed, but this CL adds a compile-time check to prevent it. PiperOrigin-RevId: 347037822