Commit Graph

  • f38004c441 Fix typo in monomorphic matcher documentation. main Abseil Team 2026-03-20 11:41:35 -07:00
  • 94be250af7 Add documentation for two-argument floating point matchers. Krzysztof Kosiński 2026-03-10 11:25:30 -07:00
  • a35bc7693c Make gmock-matchers.h auto-detect the value_type of ranges that don't have a typedef for it based on the ranges' iterators Abseil Team 2026-03-05 10:07:49 -08:00
  • 73a63ea05d Improve str concatenation performance on MatchesTest Abseil Team 2026-02-24 09:26:47 -08:00
  • a407966592 Revert Optimize copying of matchers vector to speed up ElementsAreArray by reserving a std::vector copied via push_back. Abseil Team 2026-02-23 11:30:09 -08:00
  • 73e0fc18eb Optimize copying of matchers vector to speed up ElementsAreArray by reserving a std::vector copied via push_back. Dillon Sharlet 2026-02-23 10:01:31 -08:00
  • e9907112b4 Update doc for Optional. Abseil Team 2026-02-20 07:09:50 -08:00
  • 850cb69efd Add string_view overload to AssertHelper Max Shavrick 2026-02-17 10:26:14 -08:00
  • 77f6bd3e75 Update comment for SizeIs matcher. Abseil Team 2026-02-12 06:24:38 -08:00
  • f68374efa7 Replacing an internal lib name with absl in test case Abseil Team 2026-02-11 11:12:09 -08:00
  • ef6cf65af5 Fix typo in Optional(m) description. Abseil Team 2026-02-11 06:02:22 -08:00
  • 5a9c3f9e8d Upgrade most builds to use Bazel 9.0.0 Keep one build on 8.5.1 to test WORKSPACE Derek Mauro 2026-02-05 08:42:21 -08:00
  • 32c3dce34b Display the actual error code when RE::Init() fails Abseil Team 2026-02-05 06:51:55 -08:00
  • 872d386a87 Upgrade CI to XCode 26.2 Derek Mauro 2026-02-04 10:23:22 -08:00
  • 2151d93c2f Update GoogleTest CI to latest tools Derek Mauro 2026-02-03 18:45:02 -08:00
  • 7c3b4d54e3 Automated Code Change Abseil Team 2026-02-02 20:35:05 -08:00
  • 56efe39831 Allow implicit matcher construction from nullptr. This allows "nullptr" to be used as a valid matcher for smart pointer types. Abseil Team 2026-01-27 09:34:35 -08:00
  • 5fd443cdc3 Automated Code Change Abseil Team 2026-01-26 20:26:50 -08:00
  • 85087857ad Automated Code Change Abseil Team 2026-01-16 21:50:36 -08:00
  • ff6133ab49 cmake: Fix declspec of gtest flag when using BUILD_SHARED_LIBS=ON and absl Corentin Le Molgat 2026-01-09 07:33:40 -08:00
  • cb1bd88191 Bump Abseil version used by GoogleTest Derek Mauro 2026-01-08 11:36:22 -08:00
  • 5554fcaab4 Separate the creation of the Premature Exit File from supporting Death Tests. Abseil Team 2026-01-07 14:33:36 -08:00
  • 7d7e750850 Fix "error: standard attributes in middle of decl-specifiers" Derek Mauro 2026-01-06 10:36:52 -08:00
  • 76cd89bcf1 Point from the "Defining Matchers" section in the reference doc to the cookbook, which is much more detailed. Abseil Team 2026-01-06 00:08:54 -08:00
  • 9156d4caac Automated Code Change Abseil Team 2025-12-15 21:10:52 -08:00
  • 065127f1e4 Add [[nodiscard]] throughput Google Test. Chris Kennelly 2025-12-08 12:54:40 -08:00
  • 1b96fa13f5 Switch to referenceful lock holder for Abseil compatibility Derek Mauro 2025-11-11 18:56:19 -08:00
  • 085af2cc08 Automated rollback of commit 37678c92fb. Abseil Team 2025-11-08 02:52:45 -08:00
  • 37678c92fb gtest_fail_if_no_test_selected: Rephrase error message. Abseil Team 2025-11-07 20:49:55 -08:00
  • dedab73a68 gtest_fail_if_no_test_selected: Rephrase error message. David Pizzuto 2025-11-07 16:02:11 -08:00
  • 6ec14dfd8c Modernize example of combining matchers. Abseil Team 2025-10-31 13:55:24 -07:00
  • 17d335d7c7 Remove short-circuiting from AllOf, for better failure messages Justin Bassett 2025-10-30 21:51:50 -07:00
  • 4fe3307fb2 macOS CI: Move the Bazel vendor_dir to ${HOME} to workaround a Bazel issue where it does not work when it is in ${TMP} and also fix the quoting which was causing it to incorrectly receive the argument Derek Mauro 2025-10-30 10:10:42 -07:00
  • b2b9072ecb Mark InternalDefaultActionSetAt as nodiscard. Abseil Team 2025-10-16 06:31:04 -07:00
  • e17e37a115 Automated Code Change Abseil Team 2025-10-15 21:01:25 -07:00
  • 8dbd60f7d5 Restore the documentation of AnyWith<T>(m) in the matchers reference. Abseil Team 2025-10-13 13:43:39 -07:00
  • 2ce9d8f2e8 Allow for passing non-pointers to DeleteArg and have them emit a deprecation warning instead. Abseil Team 2025-10-13 06:50:27 -07:00
  • 279f847946 Fix typo. Abseil Team 2025-10-07 16:02:53 -07:00
  • de1c609262 Automated Code Change Abseil Team 2025-10-07 06:38:47 -07:00
  • 9706f75b8f Automated Code Change Abseil Team 2025-09-29 20:04:59 -07:00
  • 50b8600c63 Add rules_cc dependency, required by Bazel going forward Derek Mauro 2025-09-18 11:15:32 -07:00
  • 0934b7e112 Use an internal symbol for deprecate-and-inline that allows the use of a deprecation message Derek Mauro 2025-09-16 10:38:37 -07:00
  • 4969d0ad54 Automated Code Change Abseil Team 2025-09-12 20:44:26 -07:00
  • 9df216cc9d Update spelling of Mutex::lock and Mutex::unlock for compatibility with the standard and the latest Abseil Derek Mauro 2025-09-12 06:16:55 -07:00
  • 7917641ff9 Bump Abseil dependency to 20250814.0 Derek Mauro 2025-09-02 07:13:59 -07:00
  • eb2d85edd0 Remove unused syslog dependency for Fuchsia. Abseil Team 2025-08-24 14:51:05 -07:00
  • 6986c2b575 Internal header include changes. Abseil Team 2025-08-19 22:04:51 -07:00
  • a05c091507 Deprecate single-argument DoAll and Invoke. Abseil Team 2025-08-16 20:07:31 -07:00
  • 244cec869d Update the document in typed tests to use using-declaration instead of typedef Abseil Team 2025-08-11 05:09:33 -07:00
  • 373af2e3df Provide a better error message when ASSERT and SKIP macros are used in methods that return values Abseil Team 2025-07-28 11:13:06 -07:00
  • 32f9f4c82a Skip the predicate on SIGSEGV in death-test on Android builds with API level <= 23. Abseil Team 2025-07-23 13:03:37 -07:00
  • 7e17b15f15 Fix the sample usage of ConvertGenerator by removing the type-id name. Abseil Team 2025-07-18 06:24:04 -07:00
  • 309dab8d4b Automated Code Change Abseil Team 2025-07-12 02:06:06 -07:00
  • 3983f67e32 Replace internal link in GoogleTest docs Abseil Team 2025-07-04 01:13:35 -07:00
  • c67de11737 gtest: Reword fail_if_no_test_selected_message for sharding and filtering. David Pizzuto 2025-06-27 15:17:44 -07:00
  • a45468c0fc Merge pull request #4694 from chromy:main Copybara-Service 2025-06-25 06:46:45 -07:00
  • f8ed0e687c Add documentation for exception matchers. Abseil Team 2025-06-24 06:21:50 -07:00
  • 35b75a2cba Although the following paragraph explains there is a better solution, having 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. Abseil Team 2025-06-13 09:13:10 -07:00
  • 175c1b55cf Add UnpackStructImpl for structs with 24, 25 and 26 fields. Abseil Team 2025-06-12 09:36:51 -07:00
  • 1aeec48a1d Merge pull request #4774 from joel-langlois:FixReadme Copybara-Service 2025-06-12 07:21:58 -07:00
  • 0fe21ac6ef README.md: Fixed broken Markdown link formatting. Joël Langlois 2025-06-11 12:28:02 -04:00
  • fd15f51d57 Automated Code Change Abseil Team 2025-06-10 21:02:56 -07:00
  • 6230d316e1 In MatcherCast, store the input value as its own type rather than as the Matcher type, to avoid dangling references Abseil Team 2025-06-09 12:06:24 -07:00
  • 28e9d1f267 googletest: Add a flag to fail if no tests were selected to run. David Pizzuto 2025-06-09 09:30:39 -07:00
  • 7e2c425db2 Remove "blindly" from the gmock "uninteresting call" message. Abseil Team 2025-06-05 14:29:15 -07:00
  • e9092b12dc Fix unified diff headers. Abseil Team 2025-05-30 13:58:02 -07:00
  • 7427a6b5e3 Use the provided length in ConditionalPrintAsText Abseil Team 2025-05-30 04:46:26 -07:00
  • 7da55820cc Merge pull request #4765 from qubka:main Copybara-Service 2025-05-27 08:56:42 -07:00
  • 3abc68be30 Fix extra ';' after member function definition qubka 2025-05-25 10:54:54 +01:00
  • 09ffd00153 Updates Google Analytics tracker. Abseil Team 2025-05-22 12:36:24 -07:00
  • 6aa03e6774 Print std::basic_string_view<Char> as a string literal Daniel Cheng 2025-05-22 10:21:20 -07:00
  • 16d4f8eff6 Delete the absl polyfill support for std::any, std::optional and std::variant now that the absl types are aliases of the std types Derek Mauro 2025-05-20 10:25:04 -07:00
  • bac6a8fd8a Add UnpackStructImpl specialization for 23 struct members. Abseil Team 2025-05-19 11:20:46 -07:00
  • fa8438ae6b Use static_cast instead of ImplicitCast_ for character conversions Abseil Team 2025-05-19 09:01:54 -07:00
  • 571930618f GoogleTest CI Update Derek Mauro 2025-05-15 09:42:16 -07:00
  • 9f79a9597a Add [[nodiscard]] to GetParam() to prevent accidental misuse. Mike Kruskal 2025-05-13 18:25:24 -07:00
  • 8b8ef3ff0d Clarify that the return value of InvokeArgument is not the return value of the action. Abseil Team 2025-05-12 14:40:21 -07:00
  • 90a4152114 gtest: Remove incorrect documentation of private headers as PIMPL idiom Abseil Team 2025-05-01 09:49:56 -07:00
  • 04ee1b4f2a Update documentation for v1.17.0 Derek Mauro 2025-04-30 10:11:13 -07:00
  • 52eb8108c5 Prepare for v1.17.0 (#4757) v1.17.0 v1.17.x Derek Mauro 2025-04-30 12:54:29 -04:00
  • 54915d462b Update GoogleTest dependencies in preparation for release Derek Mauro 2025-04-30 06:30:47 -07:00
  • 59c924bc47 Use std::memcpy instead of a union to access floating point bits. Laramie Leavitt 2025-04-29 10:26:11 -07:00
  • 00b2154e8e Fix GCC15 warning that <ciso646> is deprecated in C++17 Derek Mauro 2025-04-29 06:12:50 -07:00
  • cd430b47a5 AllOf, AnyOf, Optional: Avoid generating unnecessary match explanations Abseil Team 2025-04-23 13:29:20 -07:00
  • 155b337c93 Bump RE2 dependency to 2024-07-02.bcr.1 Derek Mauro 2025-04-17 06:50:11 -07:00
  • e90fe24856 gmock-actions: add a missing conversion operator to WithArgsAction. Aaron Jacobs 2025-04-09 17:56:54 -07:00
  • 50a9511f50 gmock-actions: run clang-format. Aaron Jacobs 2025-04-09 15:33:04 -07:00
  • 52204f78f9 Remove obsolete references to LinuxThreads. Andy Getzendanner 2025-03-26 12:19:38 -07:00
  • 2ae29b52fd Add UnpackStructImpl for structs with 22 fields. Abseil Team 2025-03-21 05:44:17 -07:00
  • c2ceb2b09b Fix a typo Tommy Chiang 2025-03-21 03:03:29 -07:00
  • e7b26b7246 Add a non-'const' overload for the function invoked by the IgnoreArgs action wrapper. Abseil Team 2025-03-20 10:55:26 -07:00
  • 3af834740f Improve the failure messages of ElementsAre(), ElementsAreArray(), etc. Zhanyong Wan 2025-03-18 09:41:34 -07:00
  • 4902ea2d7c Clarify the polymorphic matcher concept and explain how to define a composite matcher. Zhanyong Wan 2025-03-11 12:03:38 -07:00
  • 4ee4b17bf5 Allow DistanceFrom() to use user-defined abs() by default. Zhanyong Wan 2025-03-11 06:58:07 -07:00
  • 0bdccf4aa2 Add a DistanceFrom() matcher for general distance comparison. Zhanyong Wan 2025-03-07 09:53:19 -08:00
  • e88cb95b92 Add a testing::ConvertGenerator overload that accepts a converting functor. This allows the use of classes that do not have a converting ctor to the desired type. Abseil Team 2025-03-04 10:39:43 -08:00
  • 24a9e940d4 Try to warn the user when test filters do not match any tests Derek Mauro 2025-02-28 11:35:40 -08:00
  • 72189081ca googletest: Add testonly alias of :gtest for testonly cc_libraries to use. pizzud 2025-02-27 11:48:34 -08:00
  • 144d335538 Add UnpackStructImpl for structs with 21 fields. Abseil Team 2025-02-27 08:35:23 -08:00
  • e5669fdffc Output to the test warning file if no tests are linked. Derek Mauro 2025-02-26 11:56:21 -08:00