1. 30 Jun, 2022 1 commit
  2. 29 Jun, 2022 1 commit
  3. 27 Jun, 2022 2 commits
  4. 25 Jun, 2022 1 commit
  5. 23 Jun, 2022 1 commit
  6. 22 Jun, 2022 1 commit
  7. 21 Jun, 2022 1 commit
  8. 16 Jun, 2022 1 commit
  9. 14 Jun, 2022 1 commit
  10. 13 Jun, 2022 2 commits
  11. 11 Jun, 2022 1 commit
  12. 09 Jun, 2022 2 commits
  13. 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
  14. 31 May, 2022 3 commits
  15. 30 May, 2022 3 commits
  16. 27 May, 2022 3 commits
  17. 26 May, 2022 2 commits
  18. 24 May, 2022 1 commit
  19. 17 May, 2022 1 commit
  20. 13 May, 2022 1 commit
  21. 12 May, 2022 2 commits
  22. 11 May, 2022 3 commits
    • Abseil Team's avatar
      Do a consistent way of searching for a temporary directory. · 5e6a5336
      Abseil Team authored
      The way temporary directories were discovered from
      environment variables in different operating systems
      was inconsistent.
      
      On Windows, only the system-specific environment variable
      TEMP was considered, but not the bazel-common TEST_TMPDIR.
      On Unix, only TEST_TMPDIR was considered, but not
      the otherwise typical system specific TMPDIR.
      
      Now, always consider TEST_TMPDIR first, followed by the
      system-typical environment variable (TEMP on Windows, TMPDIR on Unix)
      before falling back to a default on that particular system.
      
      Also: the value for the temporary directory coming from the
      environment variable was only checked for a trailing directory
      separator on Windows (and appended if needed), not on the other
      platforms.
      Make this also consistent accross the systems: Now always apply
      the same logic to all of these (to accomodate
      tests that just concatenate TempDir() without directory separator).
      PiperOrigin-RevId: 447909830
      Change-Id: I9ea17acdf5944eb2a965615fd9cf142878c33a58
      5e6a5336
    • Aaron Jacobs's avatar
      gmock-actions: simplify Return and add better documentation. · 4224c770
      Aaron Jacobs authored
      Better document requirements, API decisions, and historical accidents. Make an
      implicit conversion easier and in a more appropriate place, and ease the burden
      of some assertions in the conversion operator. Stop using the legacy
      ActionInterface style for defining the action.
      
      PiperOrigin-RevId: 447894892
      Change-Id: I179e23ec2abdd9bf05c204ab18dbb492f1372e8e
      4224c770
    • Aaron Jacobs's avatar
      gmock-actions: make OnceAction public. · 6386897f
      Aaron Jacobs authored
      So that it can be referenced in conversion operators for actions that need to
      know the concrete return type.
      
      PiperOrigin-RevId: 447889344
      Change-Id: I643d3298bc8effd08741282a956c221f9d67d378
      6386897f
  23. 10 May, 2022 1 commit
    • Abseil Team's avatar
      Fixup some missing overrides in googletest. · bda85449
      Abseil Team authored
      This CL adds a couple missing overrides in the googletest sources.
      These were found downstream when -Wsuggest-override and
      -Wsuggest-destructor-override were enabled.
      
      PiperOrigin-RevId: 447754883
      Change-Id: I7bf35a8757cbc5ae157827037aa3d13f47392406
      bda85449
  24. 06 May, 2022 1 commit
  25. 03 May, 2022 2 commits
    • Abseil Team's avatar
      Fix example of DescribeMatcher to properly support negation. · 2a02723b
      Abseil Team authored
      PiperOrigin-RevId: 446259163
      Change-Id: I3ad5f405f44fc233f5cf5a18a274a9104b5c4ab8
      2a02723b
    • Abseil Team's avatar
      Use TEST_TMPDIR on MacOS as well if available. · 0027cf47
      Abseil Team authored
      Currently MacOS falls back to generic /tmp, but
      for all intents and purposes it should behave like
      other Unixes using the TEST_TMPDIR environment variable
      if available (this environment variable is set in bazel,
      which sets up a unique temp directory for the test
      process).
      
      While at it, remove an incorrect #endif comment, that
      looks like a leftover from some older implementation.
      
      PiperOrigin-RevId: 446108391
      Change-Id: I118eacf6e86a41d26cb81a130f7c54cccc0c5665
      0027cf47
  26. 02 May, 2022 1 commit