diff options
author | Aaron Jacobs <jacobsa@google.com> | 2022-05-11 03:40:26 (GMT) |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-05-11 03:41:04 (GMT) |
commit | 4224c770a3274e46344c596d59ce9f4e0c62801a (patch) | |
tree | 039f268b7e805f1b8c100616c6d40e10e5e27c74 /googlemock/test/gmock-function-mocker_test.cc | |
parent | 6386897feb0a3f4fbe104fe1fa4570ec8158d9e5 (diff) | |
download | googletest-4224c770a3274e46344c596d59ce9f4e0c62801a.zip googletest-4224c770a3274e46344c596d59ce9f4e0c62801a.tar.gz googletest-4224c770a3274e46344c596d59ce9f4e0c62801a.tar.bz2 |
gmock-actions: simplify Return and add better documentation.
Better document requirements, API decisions, and historical accidents. Make an
implicit conversion easier and in a more appropriate place, and ease the burden
of some assertions in the conversion operator. Stop using the legacy
ActionInterface style for defining the action.
PiperOrigin-RevId: 447894892
Change-Id: I179e23ec2abdd9bf05c204ab18dbb492f1372e8e
Diffstat (limited to 'googlemock/test/gmock-function-mocker_test.cc')
-rw-r--r-- | googlemock/test/gmock-function-mocker_test.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/googlemock/test/gmock-function-mocker_test.cc b/googlemock/test/gmock-function-mocker_test.cc index d336a1e..286115f 100644 --- a/googlemock/test/gmock-function-mocker_test.cc +++ b/googlemock/test/gmock-function-mocker_test.cc @@ -27,6 +27,12 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// Silence C4503 (decorated name length exceeded) for MSVC. +#ifdef _MSC_VER +#pragma warning(push) +#pragma warning(disable : 4503) +#endif + // Google Mock - a framework for writing C++ mock classes. // // This file tests the function mocker classes. |