- Jul 17, 2019
-
-
Adam Badura authored
gmock-spec-builders.h uses std::function (in MockFunction) but did not include <functional> to provide it. Apparently, it worked since the header must have been included by something else but better be safe than sorry.
-
- Jan 23, 2019
-
-
Abseil Team authored
Make internal FunctionMocker class final PiperOrigin-RevId: 230332778
-
- Jan 19, 2019
-
-
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
-
- Jan 03, 2019
-
-
misterg authored
Internal Change PiperOrigin-RevId: 227575279
-
Abseil Team authored
Remove the #ifs for old, unsupported and buggy compilers: * old versions of GCC & MSVC * Symbian PiperOrigin-RevId: 227116941
-
- Dec 04, 2018
-
-
Abseil Team authored
Applied fixes for ClangTidy modernize-use-override and modernize-use-using. PiperOrigin-RevId: 223800219
-
- Nov 09, 2018
-
-
Abseil Team authored
Move FunctionMocker and MockFunction out of the pump file and implement with variadic templates. PiperOrigin-RevId: 220640265
-
- Oct 31, 2018
-
-
misterg authored
Remove scoped_ptr replace with std::unique_ptr PiperOrigin-RevId: 219291284
-
- Oct 30, 2018
-
-
misterg authored
Remove linked_ptr and use std::shared_ptr instead PiperOrigin-RevId: 219129336
-
- Oct 28, 2018
-
-
Vadim Barkov authored
-
- Oct 27, 2018
-
-
Abseil Team authored
Remove linked_ptr and use std::shared_ptr instead PiperOrigin-RevId: 218618184
-
misterg authored
Remove linked_ptr and use std::shared_ptr instead PiperOrigin-RevId: 218571466
-
- Oct 18, 2018
-
-
Abseil Team authored
C++11 code cleanup. PiperOrigin-RevId: 217364243
-
- Oct 16, 2018
-
-
Jonathan Wendeborn authored
-
- Oct 13, 2018
-
-
Robert Woldberg authored
-
- Oct 06, 2018
-
-
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
-
- Aug 21, 2018
-
-
misterg authored
- 209457654 Import of OSS PR, https://github.com/google/googletest/pu... by misterg <misterg@google.com> PiperOrigin-RevId: 209457654
-
- Aug 15, 2018
-
-
Gennadiy Civil authored
Comments changes, no functionality changes.
-
Gennadiy Civil authored
Comments changes, no functionality changes
-
- Jul 27, 2018
-
-
Gennadiy Civil authored
Formatting changes for automatic code management
-
- Jul 17, 2018
-
-
duxiuxing authored
Fix warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
-
- Apr 26, 2018
-
-
Gennadiy Civil authored
merging,
-
- Apr 19, 2018
-
-
David Sunderland authored
-
- Apr 12, 2018
-
-
Victor Costan authored
Internal CL 156157936, which was published in commit fe402c27, introduced undefined behavior by casting a base class (internal::{Naggy,Nice,Strict}Base<MockClass>, using the curiously recurring template pattern) pointer to a derived class ({Naggy,Nice,Strict}Mock<MockClass>), in the base class' constructor. At that point, the object isn't guaranteed to have taken on the shape of the derived class, and casting is undefined behavior. The undefined behavior was caught by Chrome's CFI build bot [1], and prevents rolling googletest past that commit / CL. This commit simplifies the {Naggy,Nice,Strict}Mock class hierarchy in a way that removes the undefined behavior. [1] https://www.chromium.org/developers/testing/control-flow-integrity
-
- Apr 06, 2018
-
-
Gennadiy Civil authored
-
- Mar 17, 2018
-
-
Gennadiy Civil authored
-
- Mar 16, 2018
-
-
Gennadiy Civil authored
-
- Jan 27, 2018
-
-
Gennadiy Civil authored
-
- Sep 27, 2017
-
-
Jonathan Wakely authored
-
- Aug 10, 2017
-
-
Alyssa Wilk authored
-
- May 16, 2017
-
-
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.
-
- Aug 26, 2015
-
-
Billy Donahue authored
-
- Nov 17, 2014
- Jan 29, 2014
-
-
kosak authored
-
- Mar 01, 2013
-
-
zhanyong.wan authored
-
zhanyong.wan authored
-
zhanyong.wan authored
method with no default value is invoked (if exceptions are enabled).
-
- Jun 01, 2012
-
-
zhanyong.wan authored
Renames internal enums to the kFoo naming style. Fixes gmock doctor to work with newer versions of Clang.
-
- Apr 11, 2012
-
-
jgm authored
Reduced template instantiation depth for the AllOf and AnyOf matchers. Also some formatting changes.
-