1. 07 Feb, 2020 2 commits
    • Abseil Team's avatar
      Googletest export · 41b5f149
      Abseil Team authored
      Get rid of gmock-generated-matchers.h and gmock-generated-matchers.h.pump.
      
      Stop using pump for MATCHER* macroses generation.
      
      PiperOrigin-RevId: 293878808
      41b5f149
    • Abseil Team's avatar
      Googletest export · 4f660912
      Abseil Team authored
      Fix std::move to std::forward where appropriate to support reference types.
      
      PiperOrigin-RevId: 292923058
      4f660912
  2. 22 Nov, 2019 1 commit
  3. 23 Sep, 2019 1 commit
    • Krystian Kuzniarek's avatar
      remove GTEST_ARRAY_SIZE_ · e0d16aa3
      Krystian Kuzniarek authored
      This macro didn't work when an array was passed to a function by pointer,
      in which case the information about its size was lost.
      Better alternatives are:
      * std::extent<T>::value (compile-time)
      * std::array<T, N>::size() (compile-time)
      * std::distance(std::begin(array), std::end(array)) (run-time)
      e0d16aa3
  4. 13 Feb, 2019 1 commit
  5. 01 Feb, 2019 1 commit
    • Abseil Team's avatar
      Googletest export · 0ea2d8f8
      Abseil Team authored
      Fix stack overflow in AnyOfArray tests.
      
      PiperOrigin-RevId: 231881125
      0ea2d8f8
  6. 23 Jan, 2019 1 commit
    • Abseil Team's avatar
      Googletest export · fdc59ffd
      Abseil Team authored
      Add AllOfArray matcher that verifies a value matches all member of some array/container/list/set/..., e.g:
      EXPECT_THAT(1, AnyOfArray({1, 2, 3}))
      In the simplest form this is identical to AnyOf(1, 2, 3). But unlike that one it works on containers.
      
      Add AnyOfArray matcher that verifies a value matches any member of some
      array/container/list/set/...
      
      PiperOrigin-RevId: 230403653
      fdc59ffd
  7. 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
  8. 03 Dec, 2018 2 commits
    • 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
    • Abseil Team's avatar
      Googletest export · a42cdf2a
      Abseil Team authored
      Replace pump'd Args() matcher with variadic templates.
      
      PiperOrigin-RevId: 223794430
      a42cdf2a
  9. 09 Oct, 2018 1 commit
  10. 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
  11. 16 Apr, 2018 5 commits
  12. 11 Dec, 2017 1 commit
  13. 27 Oct, 2017 1 commit
  14. 25 Oct, 2017 1 commit
  15. 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
  16. 25 Aug, 2015 1 commit
  17. 02 Apr, 2014 1 commit
  18. 04 Dec, 2013 1 commit
  19. 03 Dec, 2013 1 commit
  20. 08 Aug, 2013 1 commit
  21. 28 Jul, 2013 1 commit
  22. 01 Mar, 2013 1 commit
  23. 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
  24. 10 Apr, 2012 1 commit
  25. 16 Mar, 2011 1 commit
  26. 24 Feb, 2011 1 commit
  27. 14 Sep, 2010 1 commit
  28. 21 Jul, 2010 1 commit
  29. 08 Jun, 2010 1 commit
  30. 17 May, 2010 1 commit
  31. 24 Mar, 2010 1 commit
  32. 16 Mar, 2010 1 commit
  33. 28 Jan, 2010 1 commit
  34. 08 Jan, 2010 1 commit