Roll src/third_party/googletest/src/ af29db7ec..76bb2afb8 (375 commits)

This roll includes several fixes needed to unblock the automated roll.
In particular, the biggest change is disabling Abseil support in
GoogleTest: GoogleTest has switched to using Abseil flags when
GTEST_HAS_ABSL is set, which is incompatible with Chrome. For Chrome,
the main impact of disabling Abseil support is losing the pretty printer
for absl::variant; however, Chrome plans to switch to std::variant once
the codegen issues are fixed.

Unfortunately, this also requires suppressing GN check for GoogleTest
to prevent errors from false positives, since GN does not understand
conditional includes and does not realize that the Abseil flags headers
are not actually included.

https://chromium.googlesource.com/external/github.com/google/googletest.git/+log/af29db7ec28d..76bb2afb8b52

$ git log af29db7ec..76bb2afb8 --date=short --no-merges --format='%ad %ae %s'
2023-11-27 absl-team Implement `testing::Rethrow` to throw exceptions more easily via `std::exception_ptr`
2023-10-26 absl-team Export gmock-spec-builders.
2023-10-25 theorbuehler Add missing include for raise(3)
2023-10-23 dinor StartsWith: Explicitly construct matcher-typed strings from matchee parameter
2023-10-19 absl-team Improve error message for invalid parameterized test names.
2023-10-17 absl-team s/::testing::/testing::/ in test documentation outside of using statements to align with best practice
2023-10-17 dinor gtest-death-test-internal: Delete obsolete string constants
2023-10-05 absl-team Fix RE::Init for Android and NetBSD.
2023-10-03 dinor gmock_cook_book: Document `DoAll`'s return type requirement
2023-09-29 dzimitriy cmake: Fix comments in cmake files
2023-09-25 absl-team Resolve `-Wundef` triggering on `GTEST_CREATE_SHARED_LIBRARY` and `GTEST_LINKED_AS_SHARED_LIBRARY` with shared libraries in GoogleTest
2023-09-22 absl-team Update C++ feature detection in `gtest-port.h` to rely on feature test macros where possible.
2023-09-21 absl-team Use `absl::HasAbslStringify`, instead of the internal version.
2023-09-21 dinor googletest: Update absl to version with HasAbslStringify
2023-09-21 mitja Fix compile warnings in gmock-function-mocker.h
2023-09-18 absl-team Update code with IWYU annotations.
2023-09-18 absl-team Use the `empty()` method to check for emptiness instead of `length()`
2023-09-14 hirshleifer GoogleTest FAQ: minor punctuation fixes
2023-09-14 hirshleifer Remove Googletest FAQ entry for obsolete `ProtocolMessageEquals` and `ProtocolMessageEquiv`
2023-09-03 tanzinul.islam Count threads after thread-creation while still holding mutex lock
2023-08-26 tanzinul.islam Reuse TempDir() function
2023-08-25 dinor googletest: Add universal printer for `std::span`
2023-08-22 sch changed http to https
2023-08-22 dinor googletest: Replace http with https in links to docs
2023-08-21 dmauro CI: Update the Linux hybrid-latest docker container used for testing
2023-08-21 absl-team Clean up typos: Exhaused => Exhausted
2023-08-20 elior.s Update advanced.md
2023-08-18 tanzinul.islam Prefer $TMPDIR to /data/local/tmp on Android
2023-08-17 absl-team Improve error message for invalid parameterized test names.
2023-07-26 patryk googletest: ansi color fix
2023-08-15 dinor gtest_help_test: Make method names `snake_case`, conforming with [the style guide](https://google.github.io/styleguide/pyguide#316-naming)
2023-08-15 dinor gtest_help_test: Inline test helper functions
2023-08-15 dinor gtest_help_test: Delete obsolete helper `TestUnknownFlagWithAbseil`
2023-08-11 sch Changed 2 public links from http to https
2023-08-11 sch Changed 3 public links from http to https
2023-08-11 sch Changed 2 public links from http to https
2023-08-11 sch Changed 3 public links from http to https
2023-08-10 absl-team Specify SetUpTestSuite is required to be public.
2023-08-07 yaneurabeya Fix RETest/1.ImplicitConstructorWorks on non-ABSL platforms
2023-08-07 yaneurabeya Fix GTestHelpTest.TestHelpFlag on FreeBSD
2023-08-07 dinor Make references to `#include`s consistent across docs
2023-08-03 elliotgoodrich Remove public includes of `<iomanip>`
2023-08-02 robert.shade Avoid unreachable code warning
2023-08-02 dmauro Update documentation to refer to v1.14
2023-08-02 dmauro Bump version to v1.14 in preparation for release
2023-08-02 dmauro Remove the GTEST_HAS_DOWNCAST_ customization point.
2023-08-02 dmauro Add googletest-message-test to the Bazel tests It appears to have been unintentionally left out
2023-08-01 phoebeliang Make testing::Message support streamed AbslStringify values
2023-08-01 dmauro Update GoogleTest dependencies
2023-07-27 julien.combattelli Use #if and not #ifdef to check filesystem support
(...)
2022-06-16 dmauro Disable warning C4251 around refactored code
2022-06-13 absl-team gmock_cook_book.md: Delete superfluous statement from 2014.
2022-06-11 gpetit Move declaration of kStdOutFileNo and kStdErrFileno
2022-06-09 absl-team Update googletest docs to indicate that RE2 is now used for regexp implementation when building with Bazel and using Abseil.
2022-06-09 absl-team Remove undefined internal function. Fixes #3856
2022-06-01 dmauro Work around a maybe-uninitialized warning under GCC 12
2022-05-31 gpetit Fix for undefined symbol: testing::internal::Random::kMaxRange
2022-05-31 absl-team Fix internal files
2022-05-30 jacobsa gmock-spec-builders: remove the name for an unused parameter.
2022-05-30 gpetit Simplify ColoredPrintf to rely on ShouldUseColor
2022-05-30 gpetit Fix "unused variable" warning
2022-05-27 jacobsa gmock-spec-builders: add support for non-moveable types.
2022-05-27 elixir Clarify that `this->` is needed to access members of type-parameterized tests.
2022-05-27 jacobsa gmock-actions: properly support non-moveable results in `is_callable_r`.
2022-05-26 jacobsa gmock-spec-builders: move a method to the header.
2022-05-25 absl-team Update GoogleTest documentation's spelling of "GoogleTest".
2022-05-24 absl-team Clarify the pitfalls of EXPECT_THAT and highlight it's best practices
2022-05-18 akohlmey set -utf-8 flag only for real MSVC compilers. E.g. not Intel's icx.exe
2022-05-17 dinor gmock-internal-utils.cc: Avoid implicit conversion from int to char Fixes #3832
2022-05-12 jacobsa gmock-actions: add support for move-only values to Return.
2022-05-12 absl-team Add clarifying comments about when to use EXPECT_NONFATAL_FAILURE vs. EXPECT_FATAL_FAILURE.
2022-05-11 jacobsa gmock-actions: provide a const reference when converting in ReturnAction.
2022-05-10 absl-team Do a consistent way of searching for a temporary directory.
2022-05-10 jacobsa gmock-actions: simplify Return and add better documentation.
2022-05-10 jacobsa gmock-actions: make OnceAction public.
2022-05-10 absl-team Fixup some missing overrides in googletest.
2022-05-03 absl-team Fix example of DescribeMatcher to properly support negation.
2022-05-02 absl-team Use TEST_TMPDIR on MacOS as well if available.
2022-05-02 jacobsa gmock-actions: remove a no-longer-necessary friend declaration.
2022-05-02 jacobsa gmock-actions: support ByMove in a specialization of ReturnAction.
2022-04-30 ayush854032 Fix typo in the test name of `NormalizeTest`
2022-04-28 absl-team Rewrite "Testing a Certain Property of an Object" as "Defining a Custom Matcher Class", and fix the code examples.
2022-04-27 jacobsa gmock-actions: improve comments and tests for the implicit cast in Return.
2022-04-26 jacobsa Support move-only and &&-qualified actions in WithArgs.
2022-04-26 dmauro Use RE2 for the regex implementation when building with Bazel and using Abseil
2022-04-26 absl-team Generalize gmock-matchers_test to handle is_gtest_matcher-style matchers, too.
2022-04-26 jacobsa Support move-only and &&-qualified actions in DoAll.
2022-04-22 dmauro Remove the legacy internal GTEST_DISALLOW_* macros
2022-04-21 dmauro Eliminate the legacy GTEST_COMPILE_ASSERT_ macro
2022-04-20 mhommey Always initialize fields in MatcherBase constructors
2022-04-13 jacobsa Document two surprises in `DoAllAction::NonFinalType`.
2022-04-13 absl-team Replace infinite recursion call (intentionally invoking undefined behavior to indicate unreachability) with explicit unreachability marker.
2022-04-08 absl-team Add support for move-only and &&-qualified actions in WillOnce.
2022-04-06 52797899+MR-A0101 Removing commas.
2022-04-06 dmauro Clarify what live-at-head actually means
2022-04-04 absl-team Trying to make it more clear: this is probably not about mock classes, but about mocked classes
2022-04-04 absl-team gmock: improve SFINAE for actions involving arguments.
2022-04-04 absl-team Use ResultOf()'s result_description when explaining match result.
2022-04-04 dmauro Use the Abseil flags library when Abseil is present
2022-03-26 perez.cs Fix quickstart-cmake documentation

Created with:
  roll-dep src/third_party/googletest/src

Bug: 1409870
Bug: 326607005
Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:linux_chromium_cfi_rel_ng;luci.chrome.try:win-chrome
Change-Id: I8e65086201d69102f09661fb0897005074220c8e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5081576
Reviewed-by: Austin Sullivan <asully@chromium.org>
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Reviewed-by: Peter Kasting <pkasting@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1264879}
NOKEYCHECK=True
GitOrigin-RevId: 7f4b01bd3e8e61957bd6a85ee913b924061f5978
2 files changed
tree: 1449b2c2704d0d00403f336399684620d4eae2c6
  1. custom/
  2. .gitignore
  3. BUILD.gn
  4. DEPS
  5. DIR_METADATA
  6. OWNERS
  7. README.chromium