diff options
author | Abseil Team <absl-team@google.com> | 2020-12-11 19:20:17 (GMT) |
---|---|---|
committer | Andy Getz <durandal@google.com> | 2020-12-12 03:11:39 (GMT) |
commit | 18f8200e3079b0e54fa00cb7ac55d4c39dcf6da6 (patch) | |
tree | c3e7cca278f9b4ad1182471b9ffcacbc59de3384 /googlemock/include/gmock/gmock-spec-builders.h | |
parent | 5a509dbd2e5a6c694116e329c5a20dc190653724 (diff) | |
download | googletest-18f8200e3079b0e54fa00cb7ac55d4c39dcf6da6.zip googletest-18f8200e3079b0e54fa00cb7ac55d4c39dcf6da6.tar.gz googletest-18f8200e3079b0e54fa00cb7ac55d4c39dcf6da6.tar.bz2 |
Googletest export
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
Diffstat (limited to 'googlemock/include/gmock/gmock-spec-builders.h')
0 files changed, 0 insertions, 0 deletions