Homec4science

Googletest export

Authored by Abseil Team <absl-team@google.com> on Jan 17 2019, 21:56.

Description

Googletest export

Fix mocking method arguments with templated copy constructors.

A previous change removed workarounds for old compilers from googletest and googlemock. Unfortunately, a bit of code that started as a workaround for Symbian's C++ compiler is still needed to avoid copy/move constructor ambiguity when mocking functions with certain argument types.

The test case added by this CL is extracted from Chrome's codebase, and was discovered while attempting to roll googletest.

PiperOrigin-RevId: 229801765

Details

Committed
Gennadiy Civil <misterg@google.com>Jan 18 2019, 20:06
Pushed
trottetDec 4 2019, 13:52
Parents
R9484:0adeadd28302: Googletest export
Branches
Unknown
Tags
Unknown

Event Timeline

Gennadiy Civil <misterg@google.com> committed R9484:9518a57428ae: Googletest export (authored by Abseil Team <absl-team@google.com>).Jan 18 2019, 20:06