- 29 Nov, 2022 1 commit
-
-
Abseil Team authored
Disables `-Wunused-member-function` and `-Wused-but-marked-unused` that trigger via `MOCK_METHOD()` and `EXPECT_THAT()` macros. Fixes: #4052, #4055 PiperOrigin-RevId: 491647393 Change-Id: I8e2ad838156fa8c7e9dccd1740af797e694992b6
-
- 11 May, 2022 1 commit
-
-
Aaron Jacobs authored
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
-
- 22 Apr, 2022 1 commit
-
-
Derek Mauro authored
PiperOrigin-RevId: 443715444 Change-Id: I3ffd54b63d2728ae4a668ee7875c8c3c8188087c
-
- 15 Mar, 2022 1 commit
-
-
Abseil Team authored
A few tests are examining code locations and looking af the resulting line numbers to verify that GoogleTest shows those to users correctly. Some of those locations change when clang-format is run. For those locations, I've wrapped portions in: // clang-format off ... // clang-format on There may be other locations that are currently not tickled by running clang-format. PiperOrigin-RevId: 434844712 Change-Id: I3a9f0a6f39eff741c576b6de389bef9b1d11139d
-
- 13 May, 2021 1 commit
-
-
Abseil Team authored
Support templating MockFunction over function objects besides std::function. PiperOrigin-RevId: 373586967
-
- 06 Nov, 2020 1 commit
-
-
Abseil Team authored
Add support for ref qualifiers in MOCK_METHOD. PiperOrigin-RevId: 341047839
-
- 18 Mar, 2020 2 commits
-
-
Adam Badura authored
-
Adam Badura authored
Add tests checking that ::testing::MockFunction template argument can be deduced in a function call context. This is a property raised in the review, however, not checked before by any tests.
-
- 07 Feb, 2020 1 commit
-
-
Abseil Team authored
Get rid of gmock-generated-function-mockers.h and gmock-generated-function-mockers.h.pump. Stop using pump for GMOCK_METHOD* macroses generation. PiperOrigin-RevId: 293454519
-
- 23 Oct, 2019 1 commit
-
-
Joshua Cannon authored
This reverts commit ba513d2c, reversing changes made to a3ca5b9e.
-
- 18 Oct, 2019 1 commit
-
-
Abseil Team authored
Addressing https://github.com/google/googletest/issues/2502 Add MOCK_METHOD support for returning function pointers. PiperOrigin-RevId: 275323671
-
- 11 Oct, 2019 2 commits
-
-
Joshua Cannon authored
-
Joshua Cannon authored
-
- 10 Oct, 2019 1 commit
-
-
Joshua Cannon authored
-
- 07 Oct, 2019 4 commits
-
-
Joshua Cannon authored
-
Joshua Cannon authored
-
Joshua Cannon authored
-
Joshua Cannon authored
-
- 01 Mar, 2019 1 commit
-
-
Abseil Team authored
Build gmock cleanly with clang -Wextra-semi For https://crbug.com/926235. From https://github.com/google/googletest/pull/2139. Fixes https://github.com/google/googletest/issues/2138. PiperOrigin-RevId: 235832527
-
- 18 Jan, 2019 1 commit
-
-
Abseil Team authored
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
-
- 02 Jan, 2019 1 commit
-
-
Abseil Team authored
Remove the #ifs for old, unsupported and buggy compilers: * old versions of GCC & MSVC * Symbian PiperOrigin-RevId: 227116941
-
- 20 Dec, 2018 1 commit
-
-
Abseil Team authored
Unifdef c++11-related macros from googletest now that it requires C++11. PiperOrigin-RevId: 225905601
-
- 15 Nov, 2018 1 commit
-
-
Abseil Team authored
One macro to rule them all. PiperOrigin-RevId: 221462515
-
- 10 Nov, 2018 1 commit
-
-
Robin Lindén authored
-
- 28 Oct, 2018 1 commit
-
-
Vadim Barkov authored
-
- 05 Oct, 2018 1 commit
-
-
Abseil Team authored
Now that googletest has moved to C++11, it should no longer use NULL or 0 for the null pointer. This patch converts all such usages to nullptr using clang-tidy. This prevents LLVM from issuing -Wzero-as-null-pointer-constant warnings. PiperOrigin-RevId: 215814400
-
- 02 Oct, 2018 1 commit
-
-
Marco Bubke authored
Closes #1867 PiperOrigin-RevId: 215392714
-
- 14 Aug, 2018 1 commit
-
-
Gennadiy Civil authored
Comments changes, no functionality changes
-
- 12 Apr, 2018 1 commit
-
-
Gennadiy Civil authored
merging
-
- 15 May, 2017 1 commit
-
-
Nico Weber authored
This merges a Google-internal change (117235625). Original CL description: This CL was created manually in about an hour with sed, a Python script to find all the places unqualified 'string' was mentioned, and some help from Emacs to add the "std::" qualifications, plus a few manual tweaks.
-
- 25 Aug, 2015 1 commit
-
-
Billy Donahue authored
-
- 24 Jul, 2015 1 commit
-
-
kosak authored
works properly where return type is a reference.
-
- 17 Nov, 2014 1 commit
-
-
kosak authored
Distinguish between C++11 language and library support for std::function, std::begin, std::end, and std::move in gtest and gmock. Bring in gtest 694.
-
- 17 Jun, 2014 1 commit
-
-
kosak authored
-
- 13 Jan, 2014 1 commit
-
-
kosak authored
-
- 01 Mar, 2013 1 commit
-
-
zhanyong.wan authored
-
- 10 Apr, 2012 1 commit
-
-
jgm authored
Reduced template instantiation depth for the AllOf and AnyOf matchers. Also some formatting changes.
-
- 24 Feb, 2011 1 commit
-
-
zhanyong.wan authored
-
- 14 Sep, 2010 1 commit
-
-
zhanyong.wan authored
-
- 23 Dec, 2009 1 commit
-
-
zhanyong.wan authored
-