Commit Graph

  • 373af2e3df Provide a better error message when ASSERT and SKIP macros are used in methods that return values main Abseil Team 2025-07-28 11:13:06 -0700
  • 32f9f4c82a Skip the predicate on SIGSEGV in death-test on Android builds with API level <= 23. Abseil Team 2025-07-23 13:03:37 -0700
  • 7e17b15f15 Fix the sample usage of `ConvertGenerator` by removing the type-id name. Abseil Team 2025-07-18 06:24:04 -0700
  • 309dab8d4b Automated Code Change Abseil Team 2025-07-12 02:06:06 -0700
  • 3983f67e32 Replace internal link in GoogleTest docs Abseil Team 2025-07-04 01:13:35 -0700
  • c67de11737 gtest: Reword fail_if_no_test_selected_message for sharding and filtering. David Pizzuto 2025-06-27 15:17:44 -0700
  • a45468c0fc Merge pull request #4694 from chromy:main Copybara-Service 2025-06-25 06:46:45 -0700
  • f8ed0e687c Add documentation for exception matchers. Abseil Team 2025-06-24 06:21:50 -0700
  • 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 -0700
  • 175c1b55cf Add UnpackStructImpl for structs with 24, 25 and 26 fields. Abseil Team 2025-06-12 09:36:51 -0700
  • 1aeec48a1d Merge pull request #4774 from joel-langlois:FixReadme Copybara-Service 2025-06-12 07:21:58 -0700
  • 0fe21ac6ef README.md: Fixed broken Markdown link formatting. Joël Langlois 2025-06-11 12:28:02 -0400
  • fd15f51d57 Automated Code Change Abseil Team 2025-06-10 21:02:56 -0700
  • 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 -0700
  • 28e9d1f267 googletest: Add a flag to fail if no tests were selected to run. David Pizzuto 2025-06-09 09:30:39 -0700
  • 7e2c425db2 Remove "blindly" from the gmock "uninteresting call" message. Abseil Team 2025-06-05 14:29:15 -0700
  • e9092b12dc Fix unified diff headers. Abseil Team 2025-05-30 13:58:02 -0700
  • 7427a6b5e3 Use the provided length in ConditionalPrintAsText Abseil Team 2025-05-30 04:46:26 -0700
  • 7da55820cc Merge pull request #4765 from qubka:main Copybara-Service 2025-05-27 08:56:42 -0700
  • 3abc68be30 Fix extra ';' after member function definition qubka 2025-05-25 10:54:54 +0100
  • 09ffd00153 Updates Google Analytics tracker. Abseil Team 2025-05-22 12:36:24 -0700
  • 6aa03e6774 Print std::basic_string_view<Char> as a string literal Daniel Cheng 2025-05-22 10:21:20 -0700
  • 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 -0700
  • bac6a8fd8a Add UnpackStructImpl specialization for 23 struct members. Abseil Team 2025-05-19 11:20:46 -0700
  • fa8438ae6b Use static_cast instead of ImplicitCast_ for character conversions Abseil Team 2025-05-19 09:01:54 -0700
  • 571930618f GoogleTest CI Update Derek Mauro 2025-05-15 09:42:16 -0700
  • 9f79a9597a Add [[nodiscard]] to GetParam() to prevent accidental misuse. Mike Kruskal 2025-05-13 18:25:24 -0700
  • 8b8ef3ff0d Clarify that the return value of `InvokeArgument` is not the return value of the action. Abseil Team 2025-05-12 14:40:21 -0700
  • 90a4152114 gtest: Remove incorrect documentation of private headers as PIMPL idiom Abseil Team 2025-05-01 09:49:56 -0700
  • 04ee1b4f2a Update documentation for v1.17.0 Derek Mauro 2025-04-30 10:11:13 -0700
  • 52eb8108c5
    Prepare for v1.17.0 (#4757) v1.17.0 v1.17.x Derek Mauro 2025-04-30 12:54:29 -0400
  • 54915d462b Update GoogleTest dependencies in preparation for release Derek Mauro 2025-04-30 06:30:47 -0700
  • 59c924bc47 Use std::memcpy instead of a union to access floating point bits. Laramie Leavitt 2025-04-29 10:26:11 -0700
  • 00b2154e8e Fix GCC15 warning that <ciso646> is deprecated in C++17 Derek Mauro 2025-04-29 06:12:50 -0700
  • cd430b47a5 AllOf, AnyOf, Optional: Avoid generating unnecessary match explanations Abseil Team 2025-04-23 13:29:20 -0700
  • 155b337c93 Bump RE2 dependency to 2024-07-02.bcr.1 Derek Mauro 2025-04-17 06:50:11 -0700
  • e90fe24856 `gmock-actions`: add a missing conversion operator to `WithArgsAction`. Aaron Jacobs 2025-04-09 17:56:54 -0700
  • 50a9511f50 `gmock-actions`: run clang-format. Aaron Jacobs 2025-04-09 15:33:04 -0700
  • 52204f78f9 Remove obsolete references to LinuxThreads. Andy Getzendanner 2025-03-26 12:19:38 -0700
  • 2ae29b52fd Add UnpackStructImpl for structs with 22 fields. Abseil Team 2025-03-21 05:44:17 -0700
  • c2ceb2b09b Fix a typo Tommy Chiang 2025-03-21 03:03:29 -0700
  • e7b26b7246 Add a non-'const' overload for the function invoked by the IgnoreArgs action wrapper. Abseil Team 2025-03-20 10:55:26 -0700
  • 3af834740f Improve the failure messages of `ElementsAre()`, `ElementsAreArray()`, etc. Zhanyong Wan 2025-03-18 09:41:34 -0700
  • 4902ea2d7c Clarify the polymorphic matcher concept and explain how to define a composite matcher. Zhanyong Wan 2025-03-11 12:03:38 -0700
  • 4ee4b17bf5 Allow `DistanceFrom()` to use user-defined `abs()` by default. Zhanyong Wan 2025-03-11 06:58:07 -0700
  • 0bdccf4aa2 Add a `DistanceFrom()` matcher for general distance comparison. Zhanyong Wan 2025-03-07 09:53:19 -0800
  • 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 -0800
  • 24a9e940d4 Try to warn the user when test filters do not match any tests Derek Mauro 2025-02-28 11:35:40 -0800
  • 72189081ca googletest: Add testonly alias of :gtest for testonly cc_libraries to use. pizzud 2025-02-27 11:48:34 -0800
  • 144d335538 Add UnpackStructImpl for structs with 21 fields. Abseil Team 2025-02-27 08:35:23 -0800
  • e5669fdffc Output to the test warning file if no tests are linked. Derek Mauro 2025-02-26 11:56:21 -0800
  • 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 -0800
  • 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 -0800
  • a6ce08abf7 Property: Promote note to warning Jesse Rosenstock 2025-02-17 00:59:00 -0800
  • c00fd25b71 Require C++17 Derek Mauro 2025-02-12 09:43:29 -0800
  • 4a00a24fff Add SaveArgByMove Abseil Team 2025-02-10 10:21:36 -0800
  • a866428a78 Update docs for v1.16.x branch Derek Mauro 2025-02-07 09:40:19 -0800
  • 6910c9d916
    Prepare for v1.16.0 (#4721) v1.16.0 v1.16.x Derek Mauro 2025-02-07 11:04:56 -0500
  • 445e9bd8d0 Update GoogleTest deps in preparation for release Derek Mauro 2025-02-06 17:39:47 -0800
  • e5443e5c65 Remove empty glob pattern, which is now an error. Derek Mauro 2025-02-06 13:51:49 -0800
  • e235eb34c6 Pull Regexp syntax out of Death test section in advanced.md Abseil Team 2025-01-31 10:22:30 -0800
  • 66d7401378 Fix extended regular expressions reference URL in advanced.md Abseil Team 2025-01-31 09:44:42 -0800
  • b4aae50ce1 Export testsuite properties as XML elements, not attributes. Abseil Team 2025-01-30 16:00:55 -0800
  • 2b6b042a77 Cast mutable lvalue references to const from testing::ResultOf Abseil Team 2025-01-16 12:50:32 -0800
  • e4ece4881d Enable safe matcher casts from `Matcher<const T&>` to `Matcher<T>`. Abseil Team 2025-01-15 09:16:21 -0800
  • 005254dae2 Default to color output for ghostty Hector Dearman 2025-01-10 15:37:52 +0000
  • 504ea69cf7 Document unexpected interaction with death test error code and gmock. Abseil Team 2025-01-09 10:42:28 -0800
  • 4bbf80823c Add UnpackStructImpl for structs with 20 fields. Abseil Team 2025-01-08 06:37:41 -0800
  • 7d76a231b0 gtest: Output a canned test case for test suite setup / teardown failures in XML/JSON Abseil Team 2024-12-26 15:30:16 -0800
  • e54519b094 Put the fake Fuchsia SDK in a module extension Abseil Team 2024-12-23 13:32:38 -0800
  • f3c355f9dd the public version already has the const qualifier Abseil Team 2024-12-16 08:39:37 -0800
  • 79219e26e0 Update the links to ISTQB glossary. Abseil Team 2024-12-11 07:59:35 -0800
  • 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 -0800
  • 35d0c36560 Merge pull request #4662 from asoffer:patch-1 Copybara-Service 2024-11-20 09:37:33 -0800
  • 7927f8e93d
    Fix documentation bug. Andy Soffer 2024-11-15 10:19:57 -0500
  • d144031940 Fixing a typo in the documentation of IsSubsetOf(). Abseil Team 2024-11-04 07:25:46 -0800
  • 1204d63444 Remove mention of using `ASSERT_...` statements inside custom matcher definitions. Abseil Team 2024-10-31 18:03:18 -0700
  • 5ed2186395 Use FAIL() in GTEST_SKIP() documentation Peter Boström 2024-10-27 23:56:39 -0700
  • df1544bcee Avoid creating std::vector<const T> in UnorderedElementsAreArrayMatcher and others. Abseil Team 2024-10-16 06:39:05 -0700
  • 62df7bdbc1 This change adjusts how `ASSERT_NEAR` and `EXPECT_NEAR` treats infinity, such that `ASSERT_NEAR(inf, inf, 0)` passes. This makes the behavior more consistent with `ASSERT_EQ(inf, inf)` which succeeds. Abseil Team 2024-10-14 10:12:38 -0700
  • 71815bbf7d Automated Code Change Abseil Team 2024-10-04 20:53:30 -0700
  • a1e255a582 Optional(): Add support for std::optional<>-like types lacking bool conversion. Abseil Team 2024-10-01 09:32:16 -0700
  • 6dae7eb4a5 Use matcher's description in AnyOf when matcher has no explanation. Abseil Team 2024-09-16 14:48:46 -0700
  • 0953a17a42 Automated Code Change Abseil Team 2024-08-29 08:16:49 -0700
  • ff233bdd4c Update main to point to 1.15.2 patch release Derek Mauro 2024-08-01 06:34:07 -0700
  • b514bdc898
    Update version strings to 1.15.2 (#4583) v1.15.2 v1.15.x Derek Mauro 2024-07-31 09:34:46 -0400
  • 075196ca06
    Remove auto-detection of Python toolchain from MODULE.bazel (#4582) v1.15.1 Derek Mauro 2024-07-30 20:25:53 -0400
  • 3e3b44c300 Remove auto-detection of Python toolchain from MODULE.bazel since it affects downstream users Derek Mauro 2024-07-30 13:17:08 -0700
  • ffa31aec1c Directly include `gmock.h` and `gtest.h` in gmock-matchers tests. Abseil Team 2024-07-30 09:02:44 -0700
  • 5bcb2d78a1 Use matcher's description in AllOf if matcher has no explanation. Abseil Team 2024-07-24 08:07:22 -0700
  • 352788321f gmock-actions: make DoAll convert to OnceAction via custom conversions. Aaron Jacobs 2024-07-23 19:43:05 -0700
  • 57e107a10e Run clang-format. Aaron Jacobs 2024-07-23 03:56:40 -0700
  • cee1ba1f24 Change the Bazel build to use the canonical repo names used by Bzlmod and the Bazel Central Registry Derek Mauro 2024-07-20 23:08:58 -0700
  • 9ff2450a56 Update GoogleTest Bazel quickstart for Bzlmod Derek Mauro 2024-07-16 06:57:41 -0700
  • b62593aceb Update main branch to reflect the release of 1.15.0 Derek Mauro 2024-07-16 06:56:59 -0700
  • d49a665484 Use matcher's description in AllOf if matcher has no explanation. Abseil Team 2024-07-16 05:22:04 -0700
  • 417158b8bc Use matcher's description in AllOf if matcher has no explanation. Abseil Team 2024-07-15 16:39:22 -0700
  • e397860881
    Prepare for v1.15.0 (#4574) v1.15.0-pre v1.15.0 Derek Mauro 2024-07-15 13:46:49 -0400
  • 7321f950df Update dependency versions in preparation for release Derek Mauro 2024-07-15 07:50:21 -0700
  • 4b21f1abdd README.md: Remove outdated notes about continuous integration and documentation Derek Mauro 2024-07-12 10:30:28 -0700