1. 25 Jan, 2022 1 commit
    • 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
  2. 24 Jan, 2022 2 commits
  3. 21 Jan, 2022 1 commit
  4. 19 Jan, 2022 1 commit
  5. 18 Jan, 2022 1 commit
  6. 17 Jan, 2022 1 commit
  7. 14 Jan, 2022 2 commits
  8. 13 Jan, 2022 1 commit
  9. 12 Jan, 2022 1 commit
    • Abseil Team's avatar
      Fix run-on sentence · 2d07f12b
      Abseil Team authored
          dispatch. It will use the definition from the class the constructor of which
      
      PiperOrigin-RevId: 421291241
      Change-Id: If81e3d6d3774edfbbb4baaec8a3cd96566b3b09c
      2d07f12b
  10. 11 Jan, 2022 1 commit
  11. 10 Jan, 2022 1 commit
  12. 06 Jan, 2022 10 commits
  13. 04 Jan, 2022 1 commit
  14. 01 Jan, 2022 1 commit
  15. 27 Dec, 2021 1 commit
  16. 23 Dec, 2021 1 commit
  17. 22 Dec, 2021 1 commit
  18. 21 Dec, 2021 2 commits
  19. 20 Dec, 2021 1 commit
  20. 15 Dec, 2021 1 commit
  21. 08 Dec, 2021 1 commit
  22. 07 Dec, 2021 1 commit
    • Abseil Team's avatar
      Add NOLINT to address modernize-use-trailing-return-type in TEST_F uses · 4c5650f6
      Abseil Team authored
      Example command:
      
      ```
      clang_tidy '--config={Checks: "modernize-use-trailing-return-type"}' googletest-death-test-test.cc
      ```
      
      Example error:
      
      ```
      warning: use a trailing return type for this function [modernize-use-trailing-return-type]
      TEST(NotADeathTest, Test) {
      ^
      ```
      PiperOrigin-RevId: 414836261
      Change-Id: I5f758423667559abfbf313190543666bc4ce0e6e
      4c5650f6
  23. 04 Dec, 2021 1 commit
  24. 03 Dec, 2021 1 commit
  25. 02 Dec, 2021 1 commit
  26. 30 Nov, 2021 1 commit
    • Abseil Team's avatar
      Work around Android KitKat tzset bug · bb921608
      Abseil Team authored
      On KitKat, calling tzset with UTC+nn doesn't initialize all the
      timezone state. If the previous timezone was something like
      America/Chicago, then changing it to UTC+nn might have no effect.
      Setting the timezone to an intermediate value like "UTC" avoids the
      problem.
      
      Works around https://github.com/android/ndk/issues/1604.
      
      PiperOrigin-RevId: 413050236
      Change-Id: I99b2d3330ae68f1d58cd2ca278d3eaae30bd1e83
      bb921608
  27. 25 Nov, 2021 1 commit
  28. 24 Nov, 2021 1 commit