1. 13 Apr, 2022 1 commit
  2. 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
  3. 06 Apr, 2022 1 commit
  4. 04 Apr, 2022 4 commits
  5. 23 Mar, 2022 2 commits
  6. 22 Mar, 2022 2 commits
  7. 21 Mar, 2022 1 commit
  8. 18 Mar, 2022 2 commits
  9. 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
  10. 14 Mar, 2022 1 commit
  11. 08 Mar, 2022 6 commits
  12. 17 Feb, 2022 1 commit
  13. 14 Feb, 2022 1 commit
  14. 10 Feb, 2022 1 commit
  15. 08 Feb, 2022 2 commits
  16. 07 Feb, 2022 1 commit
  17. 05 Feb, 2022 2 commits
  18. 04 Feb, 2022 1 commit
  19. 01 Feb, 2022 2 commits
  20. 31 Jan, 2022 1 commit
  21. 28 Jan, 2022 1 commit
  22. 26 Jan, 2022 1 commit
  23. 25 Jan, 2022 2 commits
    • Melroy van den Berg's avatar
    • Abseil Team's avatar
      Make recreate_environments_when_repeating=false the default. · f45d5865
      Abseil Team authored
      So that global test environments are by default set up and torn down once,
      regardless of the value of the repeat flag.
      
      The point of global environments is to be set up and torn down once, and shared
      by all tests in the process. There is no obvious reason why multiple runs of the
      same test should be treated distinctly from single runs of different tests.
      
      Having this be false by default means that repeats using a global environment
      run faster. It can still be set to true if it's desired that every repeat get a
      fresh environment, but this seems less important given the nature of a global
      environment. Every test I've seen using a global environment uses it to set up
      some expensive external resource, not something that can/should be set up for
      each test anew. (Again this is unsurprising, since the environment is a global.)
      
      PiperOrigin-RevId: 424003937
      Change-Id: I9e8a825cb8900960dd65b85fe5ffcc0a337e57f3
      f45d5865
  24. 24 Jan, 2022 1 commit