1. 20 Dec, 2018 1 commit
    • Abseil Team's avatar
      Googletest export · e26a3fa1
      Abseil Team authored
      Unifdef c++11-related macros from googletest now that it requires C++11.
      
      PiperOrigin-RevId: 225905601
      e26a3fa1
  2. 16 Oct, 2018 3 commits
  3. 14 Aug, 2018 1 commit
    • Gennadiy Civil's avatar
      · a3c0dd0f
      Gennadiy Civil authored
      Comments changes, no functionality changes
      a3c0dd0f
  4. 12 Apr, 2018 2 commits
    • Gennadiy Civil's avatar
      · a79851f2
      Gennadiy Civil authored
      merging 
      a79851f2
    • 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
  5. 21 Aug, 2017 1 commit
  6. 20 Aug, 2017 2 commits
  7. 18 Aug, 2017 4 commits
  8. 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
  9. 25 Aug, 2015 1 commit
  10. 01 Mar, 2013 2 commits
  11. 15 Nov, 2012 1 commit
    • jgm's avatar
      Unfortunately, the svn repo is a bit out of date. This commit contains 8 · 38513a8b
      jgm authored
      changes that haven't made it to svn. The descriptions of each change are listed
      below.
      
      - Fixes some python shebang lines.
      
      - Add ElementsAreArray overloads to gmock. ElementsAreArray now makes a copy of
        its input elements before the conversion to a Matcher. ElementsAreArray can
        now take a vector as input. ElementsAreArray can now take an iterator pair as
        input.
      
      - Templatize MatchAndExplain to allow independent string types for the matcher
        and matchee. I also templatized the ConstCharPointer version of
        MatchAndExplain to avoid calls with "char*" from using the new templated
        MatchAndExplain.
      
      - Fixes the bug where the constructor of the return type of ElementsAre() saves
        a reference instead of a copy of the arguments.
      
      - Extends ElementsAre() to accept arrays whose sizes aren't known.
      
      - Switches gTest's internal FilePath class from testing::internal::String to
        std::string. testing::internal::String was introduced when gTest couldn't
        depend on std::string.  It's now deprecated.
      
      - Switches gTest & gMock from using testing::internal::String objects to
        std::string. Some static methods of String are still in use.  We may be able
        to remove some but not all of them.  In particular, String::Format() should
        eventually be removed as it truncates the result at 4096 characters, often
        causing problems.
      38513a8b
  12. 14 Sep, 2010 1 commit
  13. 31 Aug, 2010 1 commit
  14. 05 May, 2010 1 commit
  15. 02 Feb, 2010 1 commit
  16. 23 Dec, 2009 1 commit
  17. 21 Oct, 2009 1 commit
  18. 17 Sep, 2009 1 commit
  19. 16 Sep, 2009 1 commit
  20. 10 Dec, 2008 1 commit