mirror of
https://github.com/google/googletest.git
synced 2024-12-27 10:11:03 +08:00
18f8200e30
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