1. 17 Mar, 2020 2 commits
    • dmauro's avatar
      Googletest export · c43f7100
      dmauro authored
      Use a polymorphic matcher instead of the GreaterThan<int> test matcher
      to fix the sign-comparison warning on MSVC.
      
      PiperOrigin-RevId: 301163657
      c43f7100
    • Abseil Team's avatar
      Googletest export · 230afdb2
      Abseil Team authored
      Internal change
      
      PiperOrigin-RevId: 299345492
      230afdb2
  2. 28 Feb, 2020 2 commits
    • Abseil Team's avatar
      Googletest export · 909b1ccf
      Abseil Team authored
      Relax the implementation of MatcherCast to allow conversion of `Matcher<T>` to
      `Matcher<const T&>`. They have the same match signature.
      
      PiperOrigin-RevId: 297115843
      909b1ccf
    • Abseil Team's avatar
      Googletest export · fd538161
      Abseil Team authored
      Allow construction of an Action from a callable of zero args
      
      Action already allows construction from a callable with the same args as the mocked function, without needing to wrap the callable in Invoke. However, if you don't care about the arguments to the mocked function you need to either accept all of them or wrap your callable in InvokeWithoutArgs. This change makes both of those unnecessary, since it allows you to pass a no-args callable to Action directly.
      
      PiperOrigin-RevId: 296117034
      fd538161
  3. 11 Feb, 2020 1 commit
    • Abseil Team's avatar
      Googletest export · 6f5fd0d7
      Abseil Team authored
      Add gmock Matcher<std::string_view> specialization.
      
      PiperOrigin-RevId: 294443240
      6f5fd0d7
  4. 07 Feb, 2020 4 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 · fbf67a70
      Abseil Team authored
      Get rid of gmock-generated-function-mockers.h and
      gmock-generated-function-mockers.h.pump.
      
      Stop using pump for GMOCK_METHOD* macroses generation.
      
      PiperOrigin-RevId: 293454519
      fbf67a70
    • 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
    • Abseil Team's avatar
      Googletest export · 572e261b
      Abseil Team authored
      Fix use of reserved names.
      Minimize code duplication needed for explict-vs-nonexplicit constructor.
      
      PiperOrigin-RevId: 292555014
      572e261b
  5. 13 Jan, 2020 1 commit
  6. 12 Jan, 2020 1 commit
  7. 22 Nov, 2019 3 commits
  8. 25 Oct, 2019 2 commits
  9. 24 Oct, 2019 1 commit
  10. 23 Oct, 2019 3 commits
  11. 22 Oct, 2019 2 commits
  12. 18 Oct, 2019 2 commits
  13. 17 Oct, 2019 1 commit
  14. 11 Oct, 2019 3 commits
  15. 10 Oct, 2019 1 commit
  16. 07 Oct, 2019 4 commits
  17. 27 Sep, 2019 1 commit
    • Abseil Team's avatar
      Googletest export · cb3f7ce1
      Abseil Team authored
      Makes testing::ResultOf() work with non-copyable arguments.
      
      PiperOrigin-RevId: 271222632
      cb3f7ce1
  18. 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
  19. 16 Sep, 2019 2 commits
  20. 12 Sep, 2019 2 commits
  21. 06 Sep, 2019 1 commit