summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add rules_cc dependency, required by Bazel going forwardHEADmainDerek Mauro9 days6-6/+31
| | | | | | | | | This also adds the dependencies of rules_cc to WORKSPACE. bzlmod automatically pulls in dependencies. skylib is removed as it is pulled in by a deps function. PiperOrigin-RevId: 808659470 Change-Id: Idc41cad7b05019793d4a1898bdb80bc4797da5cf
* Use an internal symbol for deprecate-and-inline that allowsDerek Mauro11 days3-15/+13
| | | | | | | the use of a deprecation message PiperOrigin-RevId: 807753856 Change-Id: I34b0c7c6faf34cad11ea2aca5ccd16bca16acdec
* Automated Code ChangeAbseil Team2025-09-131-1/+1
| | | | | PiperOrigin-RevId: 806527439 Change-Id: I2e9aa5de44c011938e0bfc8e86af6c7d10c23ab0
* Update spelling of Mutex::lock and Mutex::unlock for compatibilityDerek Mauro2025-09-125-18/+18
| | | | | | | with the standard and the latest Abseil PiperOrigin-RevId: 806260850 Change-Id: Ie973be4a3aaf7e174cd692ce6df7a82c8f261bf7
* Bump Abseil dependency to 20250814.0Derek Mauro2025-09-022-4/+4
| | | | | PiperOrigin-RevId: 802131359 Change-Id: I96671848148ca51c755c1b3598af32a444ac9739
* Remove unused syslog dependency for Fuchsia.Abseil Team2025-08-241-1/+0
| | | | | PiperOrigin-RevId: 798883577 Change-Id: Id248b44a45c6d3eb173513b1cd2bb8fb564885ed
* Internal header include changes.Abseil Team2025-08-201-2/+1
| | | | | PiperOrigin-RevId: 797151958 Change-Id: I26ce36684e8822cd76723e664782764cf222152c
* Deprecate single-argument DoAll and Invoke.Abseil Team2025-08-174-51/+59
| | | | | PiperOrigin-RevId: 795969677 Change-Id: I56d88ec715475d91fb527a9281bc62574fb4608b
* Update the document in typed tests to use using-declaration instead of typedefAbseil Team2025-08-111-4/+4
| | | | | PiperOrigin-RevId: 793600153 Change-Id: I0c78f180f3b681ef20133af2cc822af66c3344fe
* Provide a better error message when ASSERT and SKIP macros are used in ↵Abseil Team2025-07-281-1/+4
| | | | | | | methods that return values PiperOrigin-RevId: 788083860 Change-Id: I91583f0c0f816144428d56ab07e58fd035c532d1
* Skip the predicate on SIGSEGV in death-test on Android builds with API level ↵Abseil Team2025-07-231-1/+1
| | | | | | | <= 23. PiperOrigin-RevId: 786394374 Change-Id: I5188b55ae8ae6d3188e6492f3865b21ae6d2285e
* Fix the sample usage of `ConvertGenerator` by removing the type-id name.Abseil Team2025-07-181-1/+1
| | | | | PiperOrigin-RevId: 784561837 Change-Id: I6792fdde81762797c64ac24d297d93938932aef4
* Automated Code ChangeAbseil Team2025-07-121-3/+3
| | | | | PiperOrigin-RevId: 782277586 Change-Id: Idd7ffd0a585fa8b307ecafb8b3d53abbf124a774
* Replace internal link in GoogleTest docsAbseil Team2025-07-041-2/+4
| | | | | | | Replace an internal link to AbslStringify's documentation with the equivalent public link. PiperOrigin-RevId: 779085254 Change-Id: I2cbd2b6262a5ced06f166d4fcc7c08796e5a60af
* gtest: Reword fail_if_no_test_selected_message for sharding and filtering.David Pizzuto2025-06-271-1/+5
| | | | | | | | Users have shown some confusion about the interaction between this flag, sharding, and --gtest_filter, so let's provide some more information. PiperOrigin-RevId: 776734799 Change-Id: Icdcf6aa056988095f15588758994604d326c0567
* Merge pull request #4694 from chromy:mainCopybara-Service2025-06-253-0/+5
|\ | | | | | | | | PiperOrigin-RevId: 775667059 Change-Id: I07edd44ae368ae640d7b985800ffee8cc663c07f
| * Default to color output for ghosttyrefs/pull/4694/headHector Dearman2025-01-103-0/+5
| |
* | Add documentation for exception matchers.Abseil Team2025-06-241-0/+27
| | | | | | | | | | PiperOrigin-RevId: 775205267 Change-Id: I3ad59ff4b1fa095cbf7dd04dd97a152cb33c7435
* | Although the following paragraph explains there is a better solution, having ↵Abseil Team2025-06-131-11/+13
| | | | | | | | | | | | | | this technique in the bullet point seems to suggest that this technique is considered as a valid alternative. It would be better to drop it or make it clear that this technique is not recommended. PiperOrigin-RevId: 771116391 Change-Id: I753560115ed65e8858b749473935df57b6a50488
* | Add UnpackStructImpl for structs with 24, 25 and 26 fields.Abseil Team2025-06-121-0/+21
| | | | | | | | | | PiperOrigin-RevId: 770690821 Change-Id: Ic759e29f46a34d0f2c0ef831e0ddc784290a938f
* | Merge pull request #4774 from joel-langlois:FixReadmeCopybara-Service2025-06-121-2/+2
|\ \ | | | | | | | | | | | | PiperOrigin-RevId: 770642738 Change-Id: Ie8e8f12f82737f4eb614862334ff0a89583aeafc
| * | README.md: Fixed broken Markdown link formatting.refs/pull/4774/headJoël Langlois2025-06-111-1/+1
|/ /
* | Automated Code ChangeAbseil Team2025-06-111-1/+1
| | | | | | | | | | PiperOrigin-RevId: 769938700 Change-Id: I3f36d03a5d54f1f2fbeda9fbaa5e205736c3cdbc
* | In MatcherCast, store the input value as its own type rather than as the ↵Abseil Team2025-06-093-18/+72
| | | | | | | | | | | | | | Matcher type, to avoid dangling references PiperOrigin-RevId: 769240838 Change-Id: I7b1ac23a0a88ba90b5d1ae6e20b97f679f381f31
* | googletest: Add a flag to fail if no tests were selected to run.David Pizzuto2025-06-094-5/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are two cases that prompt this behavior: - All test cases in the binary are disabled. - There are more shards defined than test cases, so some shards are empty. The result in each case is the same: the test runner needs to spin up additional processes that do nothing, which is wasteful, especially when tests need expensive resources. PiperOrigin-RevId: 769176856 Change-Id: Ifa399a0b7b68e4add5a94ca148b32b2938a8666d
* | Remove "blindly" from the gmock "uninteresting call" message.Abseil Team2025-06-053-6/+6
| | | | | | | | | | PiperOrigin-RevId: 767766090 Change-Id: I9202c1c24a3af8d73806f68ca93025b26704178e
* | Fix unified diff headers.Abseil Team2025-05-303-15/+15
| | | | | | | | | | | | | | | | The length part (only) of each range is optional when equal to one. See http://www.gnu.org/software/diffutils/manual/html_node/Detailed-Unified.html PiperOrigin-RevId: 765326445 Change-Id: I4aec68e82f889e3b4f01861d3b6a16a8b2785ce6
* | Use the provided length in ConditionalPrintAsTextAbseil Team2025-05-302-1/+17
| | | | | | | | | | | | | | | | | | While ConditionalPrintAsText gets a char pointer and the string length, it used to only pass the pointer to operator<<. That does not work for strings that are not zero terminated, because operator<< has to resort to strlen, which happily overflows the string buffer. This CL wraps the char pointer and the length in a string_view and passes that to operator<< to fix that issue. PiperOrigin-RevId: 765137769 Change-Id: Ie97067ce9d5b23175a512945fee943a8b95a94ff
* | Merge pull request #4765 from qubka:mainCopybara-Service2025-05-271-1/+1
|\ \ | | | | | | | | | | | | PiperOrigin-RevId: 763814429 Change-Id: Id80dc3c910aa955fda6b9ece1aee17032e28130d
| * | Fix extra ';' after member function definitionrefs/pull/4765/headqubka2025-05-251-1/+1
|/ /
* | Updates Google Analytics tracker.Abseil Team2025-05-221-7/+7
| | | | | | | | | | PiperOrigin-RevId: 762080294 Change-Id: Id874316dc6360e889f54fa631b56c8c6c783cc7a
* | Print std::basic_string_view<Char> as a string literalDaniel Cheng2025-05-223-28/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a followup to a previous change switching std::u8string, std::u16string, and std::u32string to print as string literals instead of an array of characters. Also update the PrintCharsAsStringTo<Char>() helper to handle cases where the pointer to the string data is null; unlike std::basic_string<Char>, std::basic_string_view<Char>'s data() is allowed to return nullptr. The new PrintTo overloads complicate the PrintTo(internal::StringView) overload, which needs to be disabled if internal::StringView is an alias for std::string_view to avoid multiple definitions with the same overload. Simply omitting the unconditional PrintTo(std::string_view) overload is a worse option though, as this results in std::string_view not printing nicely if internal::StringView is not an alias for std::string_view. PiperOrigin-RevId: 762020327 Change-Id: I92f5bdbacba89e97bbcc0fef3ca9261ea5a788d3
* | Delete the absl polyfill support for std::any, std::optionalDerek Mauro2025-05-205-166/+27
| | | | | | | | | | | | | | | | and std::variant now that the absl types are aliases of the std types PiperOrigin-RevId: 761136061 Change-Id: I702c3e1e8c58d003b8f4da99e7c84c9e5dbe1863
* | Add UnpackStructImpl specialization for 23 struct members.Abseil Team2025-05-191-0/+8
| | | | | | | | | | PiperOrigin-RevId: 760700889 Change-Id: I52ea2bc83d218f73504c9dfba82ce0c07e59cbb2
* | Use static_cast instead of ImplicitCast_ for character conversionsAbseil Team2025-05-191-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clang has recently added "warnings when mixing different charN_t types" [1]. The rationale is that "charN_t represent code units of different UTF encodings. Therefore the values of 2 different charN_t objects do not represent the same characters." Note that the warning here may be legitimate - from https://github.com/google/googletest/issues/4762: "[...] This is incorrect for values that do not represent valid codepoints." For the time being, silence the warning by being more explicit about the conversion being intentional by using static_cast. Link: https://github.com/llvm/llvm-project/pull/138708 [1] PiperOrigin-RevId: 760644157 Change-Id: I2e6cc1871975455cecac8731b2f93fd5beeaf0e1
* | GoogleTest CI UpdateDerek Mauro2025-05-155-42/+76
| | | | | | | | | | | | | | | | | | | | | | * Use abseil-cpp@20250512.0, which requires C++17 and removes any/optional/variant polyfills * Test C++23 * Support/test GCC15 * Use Bazel vendor mode to reduce reliance on GitHub PiperOrigin-RevId: 759184924 Change-Id: Ifb866cdd7faf1e5be475b44f69870745e21a3104
* | Add [[nodiscard]] to GetParam() to prevent accidental misuse.Mike Kruskal2025-05-142-2/+2
| | | | | | | | | | | | | | This helps avoid a situation where someone sets up a parameterized test but forgets to actually use the parameter. PiperOrigin-RevId: 758455362 Change-Id: Ie4db03e82b6a4e1787be96f154b3fbb25657ae64
* | Clarify that the return value of `InvokeArgument` is not the return value of ↵Abseil Team2025-05-121-2/+2
| | | | | | | | | | | | | | the action. PiperOrigin-RevId: 757918204 Change-Id: I3f3544ca602a3863c3bae67b8fb4c57e692f3373
* | gtest: Remove incorrect documentation of private headers as PIMPL idiomAbseil Team2025-05-011-4/+1
| | | | | | | | | | PiperOrigin-RevId: 753626014 Change-Id: I3ef90e13b08d5a22d3b220a4e8fbb78df92deb0a
* | Update documentation for v1.17.0Derek Mauro2025-04-304-32/+21
| | | | | | | | | | PiperOrigin-RevId: 753214894 Change-Id: I5ec24399301dcc7e70b179db98e175f45374e3c2
* | Update GoogleTest dependencies in preparation for releaseDerek Mauro2025-04-303-12/+12
| | | | | | | | | | PiperOrigin-RevId: 753143607 Change-Id: I3dadd610342d86e3c856327e446e956fab8abf04
* | Use std::memcpy instead of a union to access floating point bits.Laramie Leavitt2025-04-291-21/+13
| | | | | | | | | | PiperOrigin-RevId: 752789717 Change-Id: I20d17677bc75d12fa50328feb2bdc5c25e852cc4
* | Fix GCC15 warning that <ciso646> is deprecated in C++17Derek Mauro2025-04-291-4/+8
| | | | | | | | | | PiperOrigin-RevId: 752706554 Change-Id: I83d35b693efdaabcc63d15169dbf19d63163a563
* | AllOf, AnyOf, Optional: Avoid generating unnecessary match explanationsAbseil Team2025-04-232-0/+91
| | | | | | | | | | | | | | Previously, those matchers always invoked the child matchers with an IsInterested MatchResultListener, resulting in unnecessary work formatting match results that would be discarded. PiperOrigin-RevId: 750704295 Change-Id: I1639a3a15d269459f26b3aebc3a6cbdced6896a3
* | Bump RE2 dependency to 2024-07-02.bcr.1Derek Mauro2025-04-171-1/+1
| | | | | | | | | | | | | | Mirrors the change from https://github.com/bazelbuild/bazel-central-registry/pull/4342 PiperOrigin-RevId: 748665684 Change-Id: I775ff08130046ad7a2dd288e1a58e007e407acd3
* | `gmock-actions`: add a missing conversion operator to `WithArgsAction`.Aaron Jacobs2025-04-102-0/+40
| | | | | | | | | | PiperOrigin-RevId: 745802500 Change-Id: I8cf7b69f89af8615e9c405b1e6552d3e12ebf93d
* | `gmock-actions`: run clang-format.Aaron Jacobs2025-04-091-3/+2
| | | | | | | | | | PiperOrigin-RevId: 745757973 Change-Id: I59ca0098a73eaf8a7e68016ba003fc2447e1c702
* | Remove obsolete references to LinuxThreads.Andy Getzendanner2025-03-261-13/+0
| | | | | | | | | | PiperOrigin-RevId: 740860675 Change-Id: I73bf9fd36e6135eb7577da54254254df7eebdf7b
* | Add UnpackStructImpl for structs with 22 fields.Abseil Team2025-03-211-0/+8
| | | | | | | | | | PiperOrigin-RevId: 739148442 Change-Id: Iae29066daddeea8384f3eb06ff075299156e9579
* | Fix a typoTommy Chiang2025-03-211-1/+1
| | | | | | | | | | | | | | | | I have no idea what DLP here means, but ULP make sense. Assuming DLP is a typo of ULP. PiperOrigin-RevId: 739113596 Change-Id: Ib8c66d54d95e3b015c79af1285b7008c91b8502e