1. 20 Apr, 2023 1 commit
  2. 06 Mar, 2023 1 commit
  3. 03 Mar, 2023 1 commit
    • Abseil Team's avatar
      Internal Code Change · cead3d57
      Abseil Team authored
      PiperOrigin-RevId: 513770561
      Change-Id: I82fbed177c6ba4e2e5b776ae3e0255c868e32e25
      cead3d57
  4. 16 Feb, 2023 1 commit
  5. 06 Feb, 2023 1 commit
  6. 30 Jan, 2023 1 commit
  7. 12 Dec, 2022 1 commit
  8. 21 Oct, 2022 1 commit
  9. 20 Oct, 2022 1 commit
  10. 26 Sep, 2022 1 commit
  11. 01 Jul, 2022 1 commit
  12. 27 Jun, 2022 2 commits
  13. 26 Jun, 2022 1 commit
  14. 01 Jun, 2022 1 commit
    • Derek Mauro's avatar
      Work around a maybe-uninitialized warning under GCC 12 · 0320f517
      Derek Mauro authored
      Some Mock constructors insert the pointer to the Mock itself into a
      global registry. Since GCC cannot see how the pointer is used (only as
      an identifier), it cannot tell that the object doesn't need to be
      initialized at that point at all. Work around this by using uintptr_t
      instead.
      
      PiperOrigin-RevId: 452380347
      Change-Id: Ia5a493057ed90719de1d0efab71de9a8a08ddf8b
      0320f517
  15. 26 May, 2022 1 commit
    • Aaron Jacobs's avatar
      gmock-spec-builders: move a method to the header. · 56246cdb
      Aaron Jacobs authored
      In order to make the diff more readable in an upcoming commit that requires the
      method to be templated on the action's result type.
      
      PiperOrigin-RevId: 451157029
      Change-Id: I57beb7544efccd0459efb3a1f039ea45cd7c7602
      56246cdb
  16. 17 May, 2022 1 commit
  17. 22 Apr, 2022 1 commit
  18. 15 Mar, 2022 1 commit
    • Abseil Team's avatar
      Running clang-format over all of GoogleTest · b007c54f
      Abseil Team authored
      A few tests are examining code locations and looking af the resulting line
      numbers to verify that GoogleTest shows those to users correctly. Some of those
      locations change when clang-format is run. For those locations, I've wrapped
      portions in:
      // clang-format off
      ...
      // clang-format on
      
      There may be other locations that are currently not tickled by running
      clang-format.
      
      PiperOrigin-RevId: 434844712
      Change-Id: I3a9f0a6f39eff741c576b6de389bef9b1d11139d
      b007c54f
  19. 27 Dec, 2021 1 commit
  20. 16 Nov, 2021 1 commit
  21. 15 Nov, 2021 1 commit
    • Taylor Cramer's avatar
      Clarify "Times() after X" error message · 1a3e2a26
      Taylor Cramer authored
      The previous error message could be misinterpreted to mean that `Times` could not be
      used in combination with `WillRepeatedly`, when in fact the call to `Times` just needs to happen *first*.
      
      PiperOrigin-RevId: 410070405
      Change-Id: I747d34a4334cf2e56d589dcad3a08a8f322d77c8
      1a3e2a26
  22. 15 Sep, 2021 2 commits
    • Abseil Team's avatar
      Googletest export · 314adcd4
      Abseil Team authored
      gmock-internal-utils.cc: Use `static_cast` instead of implicit conversion between signed and unsigned types
      Fixes #3550
      
      PiperOrigin-RevId: 396826071
      314adcd4
    • Abseil Team's avatar
      Googletest export · 6202251f
      Abseil Team authored
      Introduce GMOCK_FLAG_GET and GMOCK_FLAG_SET macros.
      
      PiperOrigin-RevId: 396649214
      6202251f
  23. 06 Aug, 2021 1 commit
  24. 04 Aug, 2021 1 commit
    • Abseil Team's avatar
      Googletest export · 652ec31f
      Abseil Team authored
      Introduce a new matcher for unescaping Base-64 strings to gmock.
      
      PiperOrigin-RevId: 388471904
      652ec31f
  25. 18 Feb, 2021 1 commit
    • Abseil Team's avatar
      Googletest export · 58937787
      Abseil Team authored
      Update stale links to `gmock_cook_book.md`.
      
      I'm a new googletest user and found these links broken when reading the documentation.
      
      PiperOrigin-RevId: 357786392
      58937787
  26. 07 Aug, 2020 1 commit
    • Abseil Team's avatar
      Googletest export · d0de618a
      Abseil Team authored
      Fixing exception-safety bug in googletest. Previously, if an exception was
      thrown during a call to a mock that would have triggered an error, the error
      was discarded.
      
      Fixes #2890
      
      PiperOrigin-RevId: 325017806
      d0de618a
  27. 09 Jul, 2020 2 commits
    • Abseil Team's avatar
      Googletest export · 9aaaaf3f
      Abseil Team authored
      Cleanup: Error message grammar fix.
      PiperOrigin-RevId: 319992912
      9aaaaf3f
    • Abseil Team's avatar
      Googletest export · b9a8afcf
      Abseil Team authored
      Fix mismatch between `int` and `int32_t` in the parse function.
      On some platforms, those are different types.
      
      PiperOrigin-RevId: 319991862
      b9a8afcf
  28. 24 Apr, 2020 1 commit
    • Arthur O'Dwyer's avatar
      Remove all uses of GTEST_DISALLOW_{MOVE_,}ASSIGN_. · 766ac2e1
      Arthur O'Dwyer authored
      None of these are strictly needed for correctness.
      A large number of them (maybe all of them?) trigger `-Wdeprecated`
      warnings on Clang trunk as soon as you try to use the implicitly
      defaulted (but deprecated) copy constructor of a class that has
      deleted its copy assignment operator.
      
      By declaring a deleted copy assignment operator, the old code
      also caused the move constructor and move assignment operator
      to be non-declared. This means that the old code never got move
      semantics -- "move-construction" would simply call the defaulted
      (but deprecated) copy constructor instead. With the new code,
      "move-construction" calls the defaulted move constructor, which
      I believe is what we want to happen. So this is a runtime
      performance optimization.
      
      Unfortunately we can't yet physically remove the definitions
      of these macros from gtest-port.h, because they are being used
      by other code internally at Google (according to zhangxy988).
      But no new uses should be added going forward.
      766ac2e1
  29. 07 Feb, 2020 1 commit
    • 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
  30. 27 Nov, 2019 2 commits
  31. 22 Nov, 2019 2 commits
  32. 11 Oct, 2019 2 commits
  33. 07 Oct, 2019 1 commit
  34. 20 Aug, 2019 1 commit