]> git-server-git.apps.pok.os.sepia.ceph.com Git - googletest.git/commit
Googletest export
authorAbseil Team <absl-team@google.com>
Fri, 11 Dec 2020 19:20:17 +0000 (14:20 -0500)
committerAndy Getz <durandal@google.com>
Sat, 12 Dec 2020 03:11:39 +0000 (22:11 -0500)
commit18f8200e3079b0e54fa00cb7ac55d4c39dcf6da6
treec3e7cca278f9b4ad1182471b9ffcacbc59de3384
parent5a509dbd2e5a6c694116e329c5a20dc190653724
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
googlemock/include/gmock/gmock-nice-strict.h