1. 18 Mar, 2020 1 commit
  2. 22 Nov, 2019 1 commit
  3. 06 Sep, 2019 1 commit
  4. 20 Aug, 2019 1 commit
  5. 14 Aug, 2019 1 commit
  6. 01 Aug, 2019 1 commit
  7. 30 Jul, 2019 1 commit
  8. 16 Jul, 2019 1 commit
    • 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
  9. 22 Jan, 2019 1 commit
    • Abseil Team's avatar
      Googletest export · 569fba4d
      Abseil Team authored
      Make internal FunctionMocker class final
      
      PiperOrigin-RevId: 230332778
      569fba4d
  10. 18 Jan, 2019 1 commit
    • 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
  11. 02 Jan, 2019 2 commits
    • 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
  12. 03 Dec, 2018 1 commit
    • 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
  13. 08 Nov, 2018 1 commit
    • 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
  14. 31 Oct, 2018 1 commit
    • misterg's avatar
      Googletest export · e857f9cd
      misterg authored
      Remove scoped_ptr replace with std::unique_ptr
      
      PiperOrigin-RevId: 219291284
      e857f9cd
  15. 29 Oct, 2018 1 commit
    • misterg's avatar
      Googletest export · 80b43d90
      misterg authored
      Remove linked_ptr and use std::shared_ptr instead
      
      PiperOrigin-RevId: 219129336
      80b43d90
  16. 28 Oct, 2018 1 commit
  17. 26 Oct, 2018 2 commits
    • 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
  18. 18 Oct, 2018 1 commit
  19. 16 Oct, 2018 1 commit
  20. 12 Oct, 2018 1 commit
  21. 05 Oct, 2018 1 commit
    • 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
  22. 20 Aug, 2018 1 commit
  23. 14 Aug, 2018 2 commits
    • 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
  24. 27 Jul, 2018 1 commit
    • Gennadiy Civil's avatar
      · 984cba30
      Gennadiy Civil authored
      Formatting changes for automatic code management
      984cba30
  25. 17 Jul, 2018 1 commit
  26. 25 Apr, 2018 1 commit
  27. 18 Apr, 2018 1 commit
  28. 12 Apr, 2018 1 commit
    • 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
  29. 05 Apr, 2018 1 commit
  30. 16 Mar, 2018 1 commit
  31. 15 Mar, 2018 1 commit
  32. 26 Jan, 2018 1 commit
  33. 27 Sep, 2017 1 commit
  34. 10 Aug, 2017 1 commit
  35. 15 May, 2017 1 commit
    • 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
  36. 25 Aug, 2015 1 commit
  37. 17 Nov, 2014 1 commit