1. 01 Jul, 2022 1 commit
  2. 27 Jun, 2022 2 commits
  3. 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
  4. 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
  5. 17 May, 2022 1 commit
  6. 22 Apr, 2022 1 commit
  7. 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
  8. 27 Dec, 2021 1 commit
  9. 16 Nov, 2021 1 commit
  10. 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
  11. 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
  12. 06 Aug, 2021 1 commit
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. 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
  19. 27 Nov, 2019 2 commits
  20. 22 Nov, 2019 2 commits
  21. 11 Oct, 2019 2 commits
  22. 07 Oct, 2019 1 commit
  23. 20 Aug, 2019 1 commit
  24. 30 Jul, 2019 1 commit
  25. 16 Jul, 2019 2 commits
    • misterg's avatar
      Googletest export · 3d9cdd58
      misterg authored
      Fix documentation links
      
      PiperOrigin-RevId: 258389329
      3d9cdd58
    • Abseil Team's avatar
      Googletest export · e4f097b5
      Abseil Team authored
      Update a broken link in a comment.
      
      PiperOrigin-RevId: 257493975
      e4f097b5
  26. 19 Jun, 2019 1 commit
    • Gennadiy Civil's avatar
      · 5ed950c9
      Gennadiy Civil authored
      Renaming doc files to make the file names more palatable and in preparation for including documentation in sync process
      5ed950c9
  27. 07 Jan, 2019 1 commit
  28. 03 Jan, 2019 2 commits
    • misterg's avatar
      Googletest export · 3a460a26
      misterg authored
      TestCase->TestSuite refactoring
      
      PiperOrigin-RevId: 227702164
      3a460a26
    • Chris's avatar
      fix: Remove Arduino entry points · 4d62b5b9
      Chris authored
      Improved flexibility by removing the Arduino entry points in favor of manual calls to setup/loop that the user can call from their entry point.  This is the more common use case for Arudino.
      
      Also added the gtest/gmock_main files to the PlatformIO ignore list since we are not supporting that feature.
      4d62b5b9
  29. 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
  30. 13 Dec, 2018 1 commit
  31. 05 Dec, 2018 1 commit