Skip to content
Snippets Groups Projects
  1. Jul 17, 2019
    • Adam Badura's avatar
      Add missing <functional> include · 1f809607
      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.
      1f809607
  2. Jan 23, 2019
  3. Jan 19, 2019
    • Abseil Team's avatar
      Googletest export · 9518a574
      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
      9518a574
  4. Jan 03, 2019
    • misterg's avatar
      Googletest export · 14c2fba7
      misterg authored
      Internal Change
      
      PiperOrigin-RevId: 227575279
      14c2fba7
    • Abseil Team's avatar
      Googletest export · f8b1c1af
      Abseil Team authored
      Remove the #ifs for old, unsupported and buggy compilers:
      * old versions of GCC & MSVC
      * Symbian
      
      PiperOrigin-RevId: 227116941
      f8b1c1af
  5. Dec 04, 2018
    • Abseil Team's avatar
      Googletest export · 26743363
      Abseil Team authored
      Applied fixes for ClangTidy modernize-use-override and modernize-use-using.
      
      PiperOrigin-RevId: 223800219
      26743363
  6. Nov 09, 2018
    • Abseil Team's avatar
      Googletest export · de5be0eb
      Abseil Team authored
      Move FunctionMocker and MockFunction out of the pump file and implement with variadic templates.
      
      PiperOrigin-RevId: 220640265
      de5be0eb
  7. Oct 31, 2018
    • misterg's avatar
      Googletest export · e857f9cd
      misterg authored
      Remove scoped_ptr replace with std::unique_ptr
      
      PiperOrigin-RevId: 219291284
      e857f9cd
  8. Oct 30, 2018
    • misterg's avatar
      Googletest export · 80b43d90
      misterg authored
      Remove linked_ptr and use std::shared_ptr instead
      
      PiperOrigin-RevId: 219129336
      80b43d90
  9. Oct 28, 2018
  10. Oct 27, 2018
    • Abseil Team's avatar
      Googletest export · b57c7039
      Abseil Team authored
      Remove linked_ptr and use std::shared_ptr instead
      
      PiperOrigin-RevId: 218618184
      b57c7039
    • misterg's avatar
      Googletest export · a50e4f05
      misterg authored
      Remove linked_ptr and use std::shared_ptr instead
      
      PiperOrigin-RevId: 218571466
      a50e4f05
  11. Oct 18, 2018
  12. Oct 16, 2018
  13. Oct 13, 2018
  14. Oct 06, 2018
    • Abseil Team's avatar
      Apply clang-tidy modernize-use-nullptr to googletest. · 4bb49ed6
      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
      4bb49ed6
  15. Aug 21, 2018
  16. Aug 15, 2018
    • Gennadiy Civil's avatar
      · 265efde9
      Gennadiy Civil authored
      Comments changes, no functionality changes. 
      265efde9
    • Gennadiy Civil's avatar
      · a3c0dd0f
      Gennadiy Civil authored
      Comments changes, no functionality changes
      a3c0dd0f
  17. Jul 27, 2018
    • Gennadiy Civil's avatar
      · 984cba30
      Gennadiy Civil authored
      Formatting changes for automatic code management
      984cba30
  18. Jul 17, 2018
  19. Apr 26, 2018
  20. Apr 19, 2018
  21. Apr 12, 2018
    • Victor Costan's avatar
      Remove multiple inheritance from "unintesting call" mock classes. · 1324e2d7
      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
      1324e2d7
  22. Apr 06, 2018
  23. Mar 17, 2018
  24. Mar 16, 2018
  25. Jan 27, 2018
  26. Sep 27, 2017
  27. Aug 10, 2017
  28. May 16, 2017
    • Nico Weber's avatar
      Use std::string and ::string explicitly in gtest and gmock code. · 09fd5b3e
      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.
      09fd5b3e
  29. Aug 26, 2015
  30. Nov 17, 2014
  31. Jan 29, 2014
  32. Mar 01, 2013
  33. Jun 01, 2012
    • zhanyong.wan's avatar
      Pulls in gtest r615. · 2fd619ed
      zhanyong.wan authored
      Renames internal enums to the kFoo naming style.
      
      Fixes gmock doctor to work with newer versions of Clang.
      2fd619ed
  34. Apr 11, 2012
Loading