1. 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
  2. 17 May, 2022 1 commit
  3. 22 Apr, 2022 1 commit
  4. 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
  5. 27 Dec, 2021 1 commit
  6. 16 Nov, 2021 1 commit
  7. 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
  8. 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
  9. 06 Aug, 2021 1 commit
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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
  16. 27 Nov, 2019 2 commits
  17. 22 Nov, 2019 2 commits
  18. 11 Oct, 2019 2 commits
  19. 07 Oct, 2019 1 commit
  20. 20 Aug, 2019 1 commit
  21. 30 Jul, 2019 1 commit
  22. 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
  23. 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
  24. 07 Jan, 2019 1 commit
  25. 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
  26. 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
  27. 13 Dec, 2018 1 commit
  28. 05 Dec, 2018 1 commit
  29. 03 Dec, 2018 1 commit
    • 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
  30. 20 Nov, 2018 2 commits
    • misterg's avatar
      Googletest export · b4926660
      misterg authored
      Internal Change
      
      PiperOrigin-RevId: 222123106
      b4926660
    • durandal's avatar
      Googletest export · 8e86f672
      durandal authored
      Move the Matcher<T> interface to googletest so I can use it to extend death test regex matching in a subsequent change.
      
      PiperOrigin-RevId: 221675910
      8e86f672
  31. 10 Nov, 2018 1 commit