Commit Graph

  • 9156d4caac Automated Code Change main 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
  • 54501746a6 Adds support for a --gtest_fail_if_no_test_linked flag to fail the test program if no test case is linked in (a common programmer mistake). Zhanyong Wan 2025-02-24 13:17:47 -08:00
  • 3fbe4db9a3 GoogleTest C++17 cleanups * Use [[nodiscard]] instead of GTEST_MUST_USE_RESULT_ * Use [[maybe_unused]] instead of GTEST_INTERNAL_ATTRIBUTE_MAYBE_UNUSED * Use [[deprecated]] instead of GTEST_INTERNAL_DEPRECATED * Remove GTEST_INTERNAL_NEED_REDUNDANT_CONSTEXPR_DECL Derek Mauro 2025-02-21 07:33:10 -08:00
  • a6ce08abf7 Property: Promote note to warning Jesse Rosenstock 2025-02-17 00:59:00 -08:00
  • c00fd25b71 Require C++17 Derek Mauro 2025-02-12 09:43:29 -08:00
  • 4a00a24fff Add SaveArgByMove Abseil Team 2025-02-10 10:21:36 -08:00
  • a866428a78 Update docs for v1.16.x branch Derek Mauro 2025-02-07 09:40:19 -08:00
  • 6910c9d916 Prepare for v1.16.0 (#4721) v1.16.0 v1.16.x Derek Mauro 2025-02-07 11:04:56 -05:00
  • 445e9bd8d0 Update GoogleTest deps in preparation for release Derek Mauro 2025-02-06 17:39:47 -08:00
  • e5443e5c65 Remove empty glob pattern, which is now an error. Derek Mauro 2025-02-06 13:51:49 -08:00
  • e235eb34c6 Pull Regexp syntax out of Death test section in advanced.md Abseil Team 2025-01-31 10:22:30 -08:00
  • 66d7401378 Fix extended regular expressions reference URL in advanced.md Abseil Team 2025-01-31 09:44:42 -08:00
  • b4aae50ce1 Export testsuite properties as XML elements, not attributes. Abseil Team 2025-01-30 16:00:55 -08:00
  • 2b6b042a77 Cast mutable lvalue references to const from testing::ResultOf Abseil Team 2025-01-16 12:50:32 -08:00
  • e4ece4881d Enable safe matcher casts from Matcher<const T&> to Matcher<T>. Abseil Team 2025-01-15 09:16:21 -08:00
  • 005254dae2 Default to color output for ghostty Hector Dearman 2025-01-10 15:37:52 +00:00
  • 504ea69cf7 Document unexpected interaction with death test error code and gmock. Abseil Team 2025-01-09 10:42:28 -08:00
  • 4bbf80823c Add UnpackStructImpl for structs with 20 fields. Abseil Team 2025-01-08 06:37:41 -08:00
  • 7d76a231b0 gtest: Output a canned test case for test suite setup / teardown failures in XML/JSON Abseil Team 2024-12-26 15:30:16 -08:00
  • e54519b094 Put the fake Fuchsia SDK in a module extension Abseil Team 2024-12-23 13:32:38 -08:00
  • f3c355f9dd the public version already has the const qualifier Abseil Team 2024-12-16 08:39:37 -08:00
  • 79219e26e0 Update the links to ISTQB glossary. Abseil Team 2024-12-11 07:59:35 -08:00
  • d122c0d435 Add support for printing C++20 std::*_ordering types to gtest. Adds feature test macro for C++20 <compare> header, a pretty-printer, and tests. Inexplicably, these types aren't enums, so can't be handled with a switch. Abseil Team 2024-12-10 11:22:24 -08:00
  • 35d0c36560 Merge pull request #4662 from asoffer:patch-1 Copybara-Service 2024-11-20 09:37:33 -08:00
  • 7927f8e93d Fix documentation bug. Andy Soffer 2024-11-15 10:19:57 -05:00