1. 02 May, 2022 1 commit
    • Aaron Jacobs's avatar
      gmock-actions: support ByMove in a specialization of ReturnAction. · 51767261
      Aaron Jacobs authored
      Rather than branching on whether the return type is ByMoveWrapper within
      ReturnAction itself, hoist the distinction to outside. This allows the main
      class template to be modified without worrying about this special case, which
      means we can stop using a shared pointer to the value (introduced as a
      linked_ptr in commit 3d1c78b2 to support ByMove) in this commit and simplify
      the class template further in a future commit with the eventual aim of directly
      supporting move-only result types.
      
      PiperOrigin-RevId: 445938943
      Change-Id: I7bc71ea301d5e493ac6ecbe57d62738a48a2721a
      51767261
  2. 28 Apr, 2022 1 commit
  3. 27 Apr, 2022 1 commit
  4. 26 Apr, 2022 5 commits
  5. 22 Apr, 2022 1 commit
  6. 21 Apr, 2022 1 commit
  7. 20 Apr, 2022 1 commit
  8. 18 Apr, 2022 1 commit
  9. 13 Apr, 2022 2 commits
  10. 09 Apr, 2022 1 commit
    • Abseil Team's avatar
      Add support for move-only and &&-qualified actions in WillOnce. · a1cc8c55
      Abseil Team authored
      This provides a type-safe way for an action to express that it wants to be
      called only once, or to capture move-only objects. It is a generalization of
      the type system-evading hack in ByMove, with the improvement that it works for
      _any_ action (including user-defined ones), and correctly expresses that the
      action can only be used with WillOnce. I'll make existing actions benefit in a
      future commit.
      
      PiperOrigin-RevId: 440496139
      Change-Id: I4145d191cca5655995ef41360bb126c123cb41d3
      a1cc8c55
  11. 06 Apr, 2022 2 commits
  12. 04 Apr, 2022 4 commits
  13. 23 Mar, 2022 2 commits
  14. 22 Mar, 2022 2 commits
  15. 21 Mar, 2022 1 commit
  16. 18 Mar, 2022 2 commits
  17. 15 Mar, 2022 2 commits
    • 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
    • Copybara-Service's avatar
      Merge pull request #3774 from sobczyk:main · 8a422b83
      Copybara-Service authored
      PiperOrigin-RevId: 434738675
      Change-Id: I7c8de4004bac6b750674d19e3e79c0695a42652e
      8a422b83
  18. 14 Mar, 2022 1 commit
  19. 08 Mar, 2022 6 commits
  20. 17 Feb, 2022 1 commit
  21. 14 Feb, 2022 1 commit
  22. 10 Feb, 2022 1 commit