-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to gtest 1.14 #27
Commits on Oct 17, 2022
-
PiperOrigin-RevId: 481680362 Change-Id: I87b2b71427a8ad2603f5445d6ef794c3fa84746e
Configuration menu - View commit details
-
Copy full SHA for 88c5975 - Browse repository at this point
Copy the full SHA 88c5975View commit details -
Merge pull request google#4037 from KloolK:patch-1
PiperOrigin-RevId: 481734961 Change-Id: I629dc1ca3b10bf5fc6afc179b651a09081f5c919
Configuration menu - View commit details
-
Copy full SHA for 6d71d90 - Browse repository at this point
Copy the full SHA 6d71d90View commit details -
Fix detection of the no_sanitize("hwaddress") attribute
PiperOrigin-RevId: 481765573 Change-Id: I1ba829c3cbf364a51d3ba383ee3b474c0e109578
Configuration menu - View commit details
-
Copy full SHA for 26d3ab5 - Browse repository at this point
Copy the full SHA 26d3ab5View commit details
Commits on Oct 18, 2022
-
Adds Win32 UNC path support to FilePath::IsAbsolutePath() and FilePat…
…h::IsRootDirectory() in GoogleTest Fixes: google#3025 PiperOrigin-RevId: 481932601 Change-Id: I90fcb5b3d189aea79a0fd18735bad038b3511270
Configuration menu - View commit details
-
Copy full SHA for f372c76 - Browse repository at this point
Copy the full SHA f372c76View commit details
Commits on Oct 19, 2022
-
CMake: Add GTEST_HAS_ABSL build option for using Absl
PiperOrigin-RevId: 482101793 Change-Id: I1bd140fd6a325f573c8a0c464e4dccd4acd0d0a3
Configuration menu - View commit details
-
Copy full SHA for 6bad847 - Browse repository at this point
Copy the full SHA 6bad847View commit details -
Merge pull request google#4036 from zloylos:fix-output-json-3884
PiperOrigin-RevId: 482287697 Change-Id: I1179a1570cd64fcb156bda26e5c779b876c51742
Configuration menu - View commit details
-
Copy full SHA for e07617d - Browse repository at this point
Copy the full SHA e07617dView commit details
Commits on Oct 20, 2022
-
Allow naming expectations google#3970
Signed-off-by: Denis Hananein <i@zloylos.me>
Denis Hananein committedOct 20, 2022 Configuration menu - View commit details
-
Copy full SHA for f3eb2b7 - Browse repository at this point
Copy the full SHA f3eb2b7View commit details
Commits on Oct 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 0d26378 - Browse repository at this point
Copy the full SHA 0d26378View commit details -
Fix format without expectation name
Signed-off-by: Denis Hananein <i@zloylos.me>
Denis Hananein committedOct 21, 2022 Configuration menu - View commit details
-
Copy full SHA for 09e1c64 - Browse repository at this point
Copy the full SHA 09e1c64View commit details
Commits on Oct 24, 2022
-
Clarify that parameter generator does not evaluate immediately
This aims to avoid confusion as to what kinds of computations are valid inside a parameter generator expression, calling out flags as a supported use case. PiperOrigin-RevId: 483397027 Change-Id: I2d036fae95120d617f30a5566ea7498ce1f9bfb6
Configuration menu - View commit details
-
Copy full SHA for 03597a0 - Browse repository at this point
Copy the full SHA 03597a0View commit details
Commits on Oct 25, 2022
-
Use git commit hash in CMake quickstart
Commit hashes reflect GoogleTest's live-at-head stance. Credits to @shinfd. Fixes google#4000 PiperOrigin-RevId: 483655943 Change-Id: Ieeb162859348dbe3657e18f283bac81412f2585d
Configuration menu - View commit details
-
Copy full SHA for 90171d1 - Browse repository at this point
Copy the full SHA 90171d1View commit details -
Merge pull request google#4041 from zloylos:allow-naming-expectations
PiperOrigin-RevId: 483683590 Change-Id: Id22de3a22018324e5c1e21e262ac5e027a83bf3e
Configuration menu - View commit details
-
Copy full SHA for 3026483 - Browse repository at this point
Copy the full SHA 3026483View commit details
Commits on Nov 3, 2022
-
Add documentation for
--gunit_recreate_environments_when_repeating
.PiperOrigin-RevId: 485895339 Change-Id: I09b0f535941531ef7bcb74593d385891d56b3e32
Configuration menu - View commit details
-
Copy full SHA for 66366ce - Browse repository at this point
Copy the full SHA 66366ceView commit details
Commits on Nov 5, 2022
-
Fix typo in documentation of ConvertGenerator()
PiperOrigin-RevId: 486316328 Change-Id: I91d5d5ba1aaf4a4ab14019c8963e7fe181722f95
Configuration menu - View commit details
-
Copy full SHA for a4f02ef - Browse repository at this point
Copy the full SHA a4f02efView commit details
Commits on Nov 7, 2022
-
RecordProperty serializes ints and 64-bit ints, including size_ts
PiperOrigin-RevId: 486685761 Change-Id: I164d2646e65670d341dbf437ee571953c456677a
Configuration menu - View commit details
-
Copy full SHA for 386c766 - Browse repository at this point
Copy the full SHA 386c766View commit details
Commits on Nov 8, 2022
-
Remove incorrect GTEST_ATTRIBUTE_UNUSED_ from InSequence class.
Fixes: google#4048 PiperOrigin-RevId: 486951561 Change-Id: I4fae101b5ac5ed4f46c32aba8c36519e1f784db1
Configuration menu - View commit details
-
Copy full SHA for 6b63c98 - Browse repository at this point
Copy the full SHA 6b63c98View commit details
Commits on Nov 10, 2022
-
Merge pull request google#4039 from zloylos:fix-return-fail-at-4038
PiperOrigin-RevId: 487516335 Change-Id: Ib475750586fc7e6ab01729f65253e3a86916b994
Configuration menu - View commit details
-
Copy full SHA for 44c0364 - Browse repository at this point
Copy the full SHA 44c0364View commit details -
Signed-off-by: Denis Hananein <i@zloylos.me>
Denis Hananein committedNov 10, 2022 Configuration menu - View commit details
-
Copy full SHA for 4b7f945 - Browse repository at this point
Copy the full SHA 4b7f945View commit details
Commits on Nov 11, 2022
-
Defined a testing::SrcDir() function that returns the name of a direc…
…tory where ancillary data files can be found. PiperOrigin-RevId: 487896836 Change-Id: Ie6b1ba734e900fa33872b63090879ee6efe33411
Configuration menu - View commit details
-
Copy full SHA for 912db74 - Browse repository at this point
Copy the full SHA 912db74View commit details
Commits on Nov 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9c990a7 - Browse repository at this point
Copy the full SHA 9c990a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 148ab82 - Browse repository at this point
Copy the full SHA 148ab82View commit details
Commits on Nov 14, 2022
-
Merge pull request google#4060 from RerEngineer:main
PiperOrigin-RevId: 488456139 Change-Id: I648f3d2c6affadfea27214a6a22cacc576971cef
Configuration menu - View commit details
-
Copy full SHA for 42c6f57 - Browse repository at this point
Copy the full SHA 42c6f57View commit details -
Merge pull request google#4058 from zloylos:support-kitty-term
PiperOrigin-RevId: 488463135 Change-Id: I4180d766dabbe438210904e743e6e963122540f5
Configuration menu - View commit details
-
Copy full SHA for 0e6aac2 - Browse repository at this point
Copy the full SHA 0e6aac2View commit details
Commits on Nov 15, 2022
-
Remove incorrect usage of GTEST_ATTRIBUTE_UNUSED_ on classes.
Fixes: google#4054 PiperOrigin-RevId: 488721587 Change-Id: I8742d8475376635c83edcf524796a6107042e89b
Configuration menu - View commit details
-
Copy full SHA for 4408a02 - Browse repository at this point
Copy the full SHA 4408a02View commit details
Commits on Nov 16, 2022
-
When printing floating-point numbers, print full precision by default.
To make debug output readable, we still use the faster 6-digit precision sometimes, but only if it will round-trip. This way, when a test fails due to a very small difference in floating-point numbers, users will have enough digits to see the difference. PiperOrigin-RevId: 488958311 Change-Id: Ibcac43f48a97006d89217530c69386cc4fa2735c
Configuration menu - View commit details
-
Copy full SHA for 9c33214 - Browse repository at this point
Copy the full SHA 9c33214View commit details
Commits on Nov 20, 2022
-
Change MakeUnique -> std::make_unique in docs
Denis Hananein committedNov 20, 2022 Configuration menu - View commit details
-
Copy full SHA for 834698c - Browse repository at this point
Copy the full SHA 834698cView commit details
Commits on Nov 21, 2022
-
Merge pull request google#4066 from zloylos:doc/make_uniq
PiperOrigin-RevId: 490057649 Change-Id: Ia788d55cfbc576e841064b8e907f8671cc46f3bf
Configuration menu - View commit details
-
Copy full SHA for 519beb0 - Browse repository at this point
Copy the full SHA 519beb0View commit details
Commits on Nov 23, 2022
-
This commit fixes a minor verb conjugation error in gmock_cook_book.md.
PiperOrigin-RevId: 490601453 Change-Id: I733b2ed8740b1c809dddb166a42993b869198469
Configuration menu - View commit details
-
Copy full SHA for e68764c - Browse repository at this point
Copy the full SHA e68764cView commit details
Commits on Nov 29, 2022
-
Disables
-Wunused-member-function
and-Wused-but-marked-unused
th……at trigger via `MOCK_METHOD()` and `EXPECT_THAT()` macros. Fixes: google#4052, google#4055 PiperOrigin-RevId: 491647393 Change-Id: I8e2ad838156fa8c7e9dccd1740af797e694992b6
Configuration menu - View commit details
-
Copy full SHA for a16bfcf - Browse repository at this point
Copy the full SHA a16bfcfView commit details
Commits on Nov 30, 2022
-
Make SizeIsMatcher::Impl conform to the contract of MatcherDescriberI…
…nterface. MatcherDescriberInterface specifies that DescribeTo "should print a verb phrase", but "size ..." is not a verb phrase. Currently, ElementsAre(SizeIs(9)) is described as "has 1 element that size is equal to 9". With this change, it will be described as "has 1 element that has a size that is equal to 9". PiperOrigin-RevId: 492022324 Change-Id: I4083335f2419462464957521c1e033643b53b763
Configuration menu - View commit details
-
Copy full SHA for 1f643f7 - Browse repository at this point
Copy the full SHA 1f643f7View commit details
Commits on Dec 6, 2022
-
Remove the unused class TestNameIs
Fixes google#4076 PiperOrigin-RevId: 493158910 Change-Id: Id66c0443a6f5f4d167ae39ac79766b32cf95a383
Configuration menu - View commit details
-
Copy full SHA for 97459e5 - Browse repository at this point
Copy the full SHA 97459e5View commit details
Commits on Dec 7, 2022
-
Migrate GoogleTest to a bug report template and add a link to the dis…
…cussion forum for non-bugs PiperOrigin-RevId: 493632811 Change-Id: I7e02c3c479c2a925b7971f6a55e1e95a5a6f2d0a
Configuration menu - View commit details
-
Copy full SHA for d454936 - Browse repository at this point
Copy the full SHA d454936View commit details
Commits on Dec 8, 2022
-
Fall back to the system clock when building with newlib on a system w…
…ithout a monotonic clock. PiperOrigin-RevId: 493917905 Change-Id: I20137cfcda3671ffc8edcda2b6554aa392e3a00a
Configuration menu - View commit details
-
Copy full SHA for 516940f - Browse repository at this point
Copy the full SHA 516940fView commit details
Commits on Dec 12, 2022
-
Introduces a new porting flag (GTEST_HAS_FILE_SYSTEM) to indicate whe…
…ther a platform supports filesystem operations. PiperOrigin-RevId: 494751986 Change-Id: I07f73bdf478a73934b8f1a69c1ab4abda1b231ae
Configuration menu - View commit details
-
Copy full SHA for b0846aa - Browse repository at this point
Copy the full SHA b0846aaView commit details -
Refactor matrix verification into VerifyMatchMatrix.
PiperOrigin-RevId: 494786543 Change-Id: I7769558dd2ca046d8957bf352dc04cfb48ff7c3a
Configuration menu - View commit details
-
Copy full SHA for ad54e90 - Browse repository at this point
Copy the full SHA ad54e90View commit details -
Convert feature requests to a form
PiperOrigin-RevId: 494820396 Change-Id: I1aa0a5a0f4796fde8d0424093370fd89ebd2592e
Configuration menu - View commit details
-
Copy full SHA for e38ef3b - Browse repository at this point
Copy the full SHA e38ef3bView commit details
Commits on Dec 14, 2022
-
Fix a typo in the gMock sample code for Defining a Custom Matcher Class.
EXPECT_CALL doesn't seem to make much sense here. I think the intent was to use EXPECT_THAT instead. PiperOrigin-RevId: 495427663 Change-Id: I39a16ea37282729d34017c6bcd331a60cedf1fbe
Configuration menu - View commit details
-
Copy full SHA for 41fe6be - Browse repository at this point
Copy the full SHA 41fe6beView commit details
Commits on Dec 15, 2022
-
Clang warns on this pattern because it looks like the author might have meant to use the value of the first part of the comma operator, so it warns that it isn't being used. The cast here signals to Clang that this behavior is intentional. This was discovered while updating gmock in Android. Clang's -Wcomma warning is on by default with either -Wall or -Werror, so users of gmock with those on in combination with -Werror are unable to build without this fix. PiperOrigin-RevId: 495655990 Change-Id: Iaf27e2199669f5b6185a877738234e551b6b6556
Configuration menu - View commit details
-
Copy full SHA for 3fa7f98 - Browse repository at this point
Copy the full SHA 3fa7f98View commit details
Commits on Dec 19, 2022
-
Specify a name for a
Property
in a code example.It is good practice to specify a name for the `testing::Property` matcher's use in diagnostics, and we should do so in our examples. PiperOrigin-RevId: 496406309 Change-Id: Ibb4d1ba63771b5d6855442b91564027cda8ddaca
Configuration menu - View commit details
-
Copy full SHA for a4e0be8 - Browse repository at this point
Copy the full SHA a4e0be8View commit details
Commits on Dec 20, 2022
-
Comment that q0_ in primer should remain empty
PiperOrigin-RevId: 496642643 Change-Id: I178efeda76cbf46e5f4bb91454c205b9a060a4ea
Configuration menu - View commit details
-
Copy full SHA for b3bfebd - Browse repository at this point
Copy the full SHA b3bfebdView commit details -
Fix a typo in the documentation for "Using Predicates as Matchers".
PiperOrigin-RevId: 496679950 Change-Id: I2842050902876231d49a142165bcbb88d737505d
Configuration menu - View commit details
-
Copy full SHA for 5ab508a - Browse repository at this point
Copy the full SHA 5ab508aView commit details
Commits on Dec 22, 2022
-
Use a more recent commit of googletest that uses OS constraints from
@platforms//os:* instead of from @build_tools//platforms:* See bazelbuild/bazel#8622 Necessary to fix google#4096 Also need the fix for google#4098 PiperOrigin-RevId: 497182073 Change-Id: Ifd568b088d2f779755dd20264edfd5dad12ca9cc
Configuration menu - View commit details
-
Copy full SHA for 71140c3 - Browse repository at this point
Copy the full SHA 71140c3View commit details
Commits on Dec 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ab669ca - Browse repository at this point
Copy the full SHA ab669caView commit details
Commits on Jan 4, 2023
-
Use "#if defined(_MSC_VER)" instead of "#if _MSC_VER" to be consistent with other usages in the file and to work with the "-Wundef" warning. PiperOrigin-RevId: 499471290 Change-Id: I34a9442eecf266afd74d4332cab7d39766df4ed9
Configuration menu - View commit details
-
Copy full SHA for 3a99ab6 - Browse repository at this point
Copy the full SHA 3a99ab6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64e0945 - Browse repository at this point
Copy the full SHA 64e0945View commit details -
Workaround for GCC12 bug illustrated by https://godbolt.org/z/Pe5aE59xG
Fixes google#4108 PiperOrigin-RevId: 499556061 Change-Id: I1cb1564f9b77e1825fddc9236965f4a3b661d96a
Configuration menu - View commit details
-
Copy full SHA for 0296d7d - Browse repository at this point
Copy the full SHA 0296d7dView commit details
Commits on Jan 5, 2023
-
IWYU: Add missing std includes
PiperOrigin-RevId: 499893032 Change-Id: I33304802b7c82ae2d008f3ee89df38866e5f57ba
Configuration menu - View commit details
-
Copy full SHA for e5e46b0 - Browse repository at this point
Copy the full SHA e5e46b0View commit details -
Everywhere else in the code, we check the value of GTEST_OS_ESP8266, not just whether it is defined. PiperOrigin-RevId: 499946909 Change-Id: I86f7e8947abb4e928fc24d1416d8237987b27845
Configuration menu - View commit details
-
Copy full SHA for 9345421 - Browse repository at this point
Copy the full SHA 9345421View commit details
Commits on Jan 11, 2023
-
Update GoogleTest dependencies
PiperOrigin-RevId: 501282034 Change-Id: I0314ac566dc5e117db5a06c97d303e5cf8822d61
Configuration menu - View commit details
-
Copy full SHA for a652ae0 - Browse repository at this point
Copy the full SHA a652ae0View commit details
Commits on Jan 12, 2023
-
Add an explicit #error that C++ versions less than C++14 are not supp…
…orted PiperOrigin-RevId: 501568410 Change-Id: I0f78cd96dc9204c8ec97a1cdd09a9d63a613cc5b
Configuration menu - View commit details
-
Copy full SHA for b5401fe - Browse repository at this point
Copy the full SHA b5401feView commit details -
../googlemock/test/gmock-actions_test.cc:687:36: warning: declaration of ‘v’ shadows a member of ‘testing::{anonymous}::ReturnTest_SupportsReferenceLikeReturnType_Test::TestBody()::Result’ [-Wshadow] 687 | Result(const std::vector<int>& v) : v(&v) {} // NOLINT | ~~~~~~~~~~~~~~~~~~~~~~~~^ ../googlemock/test/gmock-actions_test.cc:686:29: note: shadowed declaration is here 686 | const std::vector<int>* v; | ^ ../googlemock/test/gmock-actions_test.cc: In constructor ‘testing::{anonymous}::ReturnTest_PrefersConversionOperator_Test::TestBody()::Out::Out(int)’: ../googlemock/test/gmock-actions_test.cc:720:28: warning: declaration of ‘x’ shadows a member of ‘testing::{anonymous}::ReturnTest_PrefersConversionOperator_Test::TestBody()::Out’ [-Wshadow] 720 | explicit Out(const int x) : x(x) {} | ~~~~~~~~~~^ ../googlemock/test/gmock-actions_test.cc:718:9: note: shadowed declaration is here 718 | int x; | ^ PiperOrigin-RevId: 501580618 Change-Id: I584710fbbe440ec724f88746e51f3be5653c32d5
Configuration menu - View commit details
-
Copy full SHA for 356fc30 - Browse repository at this point
Copy the full SHA 356fc30View commit details
Commits on Jan 17, 2023
-
gmock_output_test: normalize golden file output to unix line endings
When checked out on Windows, the repo might use \r\n line endings, and so the golden output has them. Adjust for that. PiperOrigin-RevId: 502577222 Change-Id: Iabfe537f6d95a49bf6bdcb934e855d28c65f6f89
Configuration menu - View commit details
-
Copy full SHA for ac7a126 - Browse repository at this point
Copy the full SHA ac7a126View commit details -
Bump version to 1.13.0 in preparation for release
PiperOrigin-RevId: 502626077 Change-Id: I3aad27a8b725cf73163e52ef2e28e6cdfc13082b
Configuration menu - View commit details
-
Copy full SHA for b796f7d - Browse repository at this point
Copy the full SHA b796f7dView commit details -
Update documentation for v1.13.0
PiperOrigin-RevId: 502644180 Change-Id: Id20b5e4eec22035da278f1767002657f66dbe79c
Configuration menu - View commit details
-
Copy full SHA for 9d697cc - Browse repository at this point
Copy the full SHA 9d697ccView commit details -
Fix -Wimplicit-int-float-conversion warning
We're intentionally losing precision in this case, so add a cast. googletest/googletest/include/gtest/gtest-printers.h:532:9: error: implicit conversion from 'int32_t' (aka 'int') to 'float' may lose precision [-Werror,-Wimplicit-int-float-conversion] if (static_cast<int32_t>(val * mulfor6 + 0.5) / mulfor6 == val) return 6; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ googletest/googletest/include/gtest/gtest-printers.h:544:9: error: implicit conversion from 'int32_t' (aka 'int') to 'float' may lose precision [-Werror,-Wimplicit-int-float-conversion] if (static_cast<int32_t>(val / divfor6 + 0.5) * divfor6 == val) return 6; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ PiperOrigin-RevId: 502646042 Change-Id: I05989ee42675b531a9907616c9582a5a7c77bed6
Configuration menu - View commit details
-
Copy full SHA for 5cd81a7 - Browse repository at this point
Copy the full SHA 5cd81a7View commit details -
Announce that GitHub actions are not GoogleTest's canonical CI
PiperOrigin-RevId: 502654465 Change-Id: I51269e8c389ad63f3737132feec1b6d20dc4c314
Configuration menu - View commit details
-
Copy full SHA for bba28fa - Browse repository at this point
Copy the full SHA bba28faView commit details -
Replace deprecated python calls
assert_ -> assertTrue/assertFalse/assertIn/assertNotIn assertEquals -> assertEqual PiperOrigin-RevId: 502654909 Change-Id: I25d30095a83c3806606cb80d676b3c979495e6bd
Configuration menu - View commit details
-
Copy full SHA for bdb3b0a - Browse repository at this point
Copy the full SHA bdb3b0aView commit details
Commits on Jan 18, 2023
-
Mention using MockFunction as a way to mock free functions.
PiperOrigin-RevId: 502901538 Change-Id: I0cf351b9ad1411ae9c45e09550c24e006a24e179
Configuration menu - View commit details
-
Copy full SHA for ec25eea - Browse repository at this point
Copy the full SHA ec25eeaView commit details
Commits on Jan 24, 2023
-
Remove FloatingPoint::Max() in favor of std::numeric_limits::max()
In google#4113 a user says Max clashes with a macro. Since it is only used in a test, use std::numeric_limits::max() instead. Note that in headers, the macro issue can be mitigated with parenthesis like this: `(std::numeric_limits<T>::max)()` PiperOrigin-RevId: 504284906 Change-Id: Ibf430caec1a6afdf6b303534fec6a4fd00a6373f
Configuration menu - View commit details
-
Copy full SHA for 544c96e - Browse repository at this point
Copy the full SHA 544c96eView commit details -
Fix formatting of Markdown files
PiperOrigin-RevId: 504308485 Change-Id: Ia4ae97b2173b44b89aa5d987ddefd6e0c1488386
Configuration menu - View commit details
-
Copy full SHA for 408471e - Browse repository at this point
Copy the full SHA 408471eView commit details -
PiperOrigin-RevId: 504325204 Change-Id: Iaa1d6d0ab1dccaaeef26f9cb109d530835499240
Configuration menu - View commit details
-
Copy full SHA for 2491710 - Browse repository at this point
Copy the full SHA 2491710View commit details
Commits on Jan 25, 2023
-
Replace numeric lints with their string equivalent
PiperOrigin-RevId: 504570278 Change-Id: Iab9c988b3a781eaafbdd97c924a74c2269125799
Configuration menu - View commit details
-
Copy full SHA for 6c65a1c - Browse repository at this point
Copy the full SHA 6c65a1cView commit details -
Fix formatting in subset of Python files
These files were formatted with automated tools. The remaining Python files require some manual fix ups, so they will be fixed separately. PiperOrigin-RevId: 504579820 Change-Id: I3923bd414bffe3ded6163ec496cd09ace3951928
Configuration menu - View commit details
-
Copy full SHA for d1ad27e - Browse repository at this point
Copy the full SHA d1ad27eView commit details -
Mention
DescribeMatcher
in matchers.mdPiperOrigin-RevId: 504591836 Change-Id: I48c93490d0c3b7c6bfaceceb1cef5eedeacfe6c6
Configuration menu - View commit details
-
Copy full SHA for 643862d - Browse repository at this point
Copy the full SHA 643862dView commit details -
Remove pylint disable comments that no longer trigger warnings
PiperOrigin-RevId: 504633130 Change-Id: I3fdbc83975fea97aa53f7325d323adead0a30e24
Configuration menu - View commit details
-
Copy full SHA for 137dcd1 - Browse repository at this point
Copy the full SHA 137dcd1View commit details -
Possible unbalanced tuple unpacking with sequence defined at line N: left side has 1 label(s), right side has 0 value(s) [unbalanced-tuple-unpacking] PiperOrigin-RevId: 504640001 Change-Id: If8d6038a9acf74a409cb6b6ee30cea7745b4b303
Configuration menu - View commit details
-
Copy full SHA for f47d75f - Browse repository at this point
Copy the full SHA f47d75fView commit details -
Use more specific assertLess instead of assertTrue
PiperOrigin-RevId: 504670738 Change-Id: Ib68b676403204098e89f536f9b8317f9f717c24d
Configuration menu - View commit details
-
Copy full SHA for b495f72 - Browse repository at this point
Copy the full SHA b495f72View commit details
Commits on Jan 26, 2023
-
Make document and example code more clear in the caveat section for p…
…otential memory leak with `SetUpTestSuite`. PiperOrigin-RevId: 504706717 Change-Id: I5842a4569f81f6c0d636099b5cdaabe778996949
Configuration menu - View commit details
-
Copy full SHA for 4b4c56a - Browse repository at this point
Copy the full SHA 4b4c56aView commit details -
Fix Python docstrings to match style guide
https://google.github.io/styleguide/pyguide.html#s3.8.3-functions-and-methods PiperOrigin-RevId: 504857416 Change-Id: I7815ce27e454a120b3974ae7e2bea952108b836c
Configuration menu - View commit details
-
Copy full SHA for 0194f90 - Browse repository at this point
Copy the full SHA 0194f90View commit details -
Fix formatting in Python files
PiperOrigin-RevId: 504890435 Change-Id: Ia9a89d0d7a07fe70c12f7f0202c8256c94d2f118
Configuration menu - View commit details
-
Copy full SHA for 403a968 - Browse repository at this point
Copy the full SHA 403a968View commit details
Commits on Jan 27, 2023
-
Test current behavior of doubles and floats in RecordProperty
PiperOrigin-RevId: 505104193 Change-Id: I4c2758f22ee1321ed6b6662ab2668f6c5b6aa661
Configuration menu - View commit details
-
Copy full SHA for b722020 - Browse repository at this point
Copy the full SHA b722020View commit details
Commits on Jan 30, 2023
-
Merge pull request google#4115 from SunBlack:codespell
PiperOrigin-RevId: 505740434 Change-Id: I963f6a6b667a030c87f211173f578f7c35733e68
Configuration menu - View commit details
-
Copy full SHA for e3dbee4 - Browse repository at this point
Copy the full SHA e3dbee4View commit details -
Use explicit short to fix MSVC compiler warning
warning C4244: 'initializing': conversion from 'int' to 'short', possible loss of data PiperOrigin-RevId: 505774670 Change-Id: I3524040334a4b265bae12cfacdd2b615cbb1cfc8
Configuration menu - View commit details
-
Copy full SHA for f1c05d4 - Browse repository at this point
Copy the full SHA f1c05d4View commit details -
Use GTEST_DISABLE_MSC_WARNINGS macros to disable warnings
Prior to this change we had a mixture of pragmas and GTEST_DISABLE_MSC_WARNINGS; this change consolidates all instances to use the macros. PiperOrigin-RevId: 505786926 Change-Id: I2be8f6304387393995081af42ed32c2ad1bba5a7
Configuration menu - View commit details
-
Copy full SHA for 4fb7039 - Browse repository at this point
Copy the full SHA 4fb7039View commit details
Commits on Jan 31, 2023
-
Fix sign conversion warning from clang:
googletest/samples/prime_tables.h:81:57: error: implicit conversion changes signedness: 'int' to 'unsigned long' [-Werror,-Wsign-conversion] : is_prime_size_(max + 1), is_prime_(new bool[max + 1]) { ~~~ ~~~~^~~ PiperOrigin-RevId: 506065360 Change-Id: Ida4550562531012c089e2f9fcf530b3a78889fa3
Configuration menu - View commit details
-
Copy full SHA for d925117 - Browse repository at this point
Copy the full SHA d925117View commit details
Commits on Feb 1, 2023
-
Fix gmock_output_test when using MSVC
std::pair is printed as "struct std::pair<int,bool>" when using MSVC vs "std::pair<int,bool>" with other compilers. Switch to "std::tuple", which is the same for all compilers. See https://learn.microsoft.com/en-us/cpp/standard-library/pair-structure https://learn.microsoft.com/en-us/cpp/standard-library/tuple-class PiperOrigin-RevId: 506340295 Change-Id: Ib4ce2f74d54888a4e4173f42da1b55cc5583f7d4
Configuration menu - View commit details
-
Copy full SHA for 0a3b403 - Browse repository at this point
Copy the full SHA 0a3b403View commit details -
Build gmock Python tests when building with cmake
Fixes google#4124. PiperOrigin-RevId: 506379032 Change-Id: Ibc44ffce1012bbf313565728a3d9e5e6e56ba660
Configuration menu - View commit details
-
Copy full SHA for fd36851 - Browse repository at this point
Copy the full SHA fd36851View commit details -
GMOCK_RENAME_MAIN appears unused. PiperOrigin-RevId: 506387823 Change-Id: I732c1f64f9038991a5c9aea1f2ad6fff07622afa
Configuration menu - View commit details
-
Copy full SHA for 394a8a5 - Browse repository at this point
Copy the full SHA 394a8a5View commit details -
PiperOrigin-RevId: 506424617 Change-Id: If7f0beb92022589523db204a6b5cbe9249cebf62
Configuration menu - View commit details
-
Copy full SHA for ebedaa1 - Browse repository at this point
Copy the full SHA ebedaa1View commit details
Commits on Feb 2, 2023
-
Add a trailing decimal point to FormatTimeInMillisAsSeconds() output …
…when input is an exact N seconds. PiperOrigin-RevId: 506610898 Change-Id: Idcd705c719e0e721148c350c8a14f27b9eb5c4f7
Configuration menu - View commit details
-
Copy full SHA for 6f21175 - Browse repository at this point
Copy the full SHA 6f21175View commit details -
Remove unneccessary "#if _MSC_VER"
The GTEST_DISABLE_MSC_WARNINGS macros already have an _MSC_VER check. This change also adds a missing GTEST_DISABLE_MSC_WARNINGS_POP_ in gtest-typed-test_test.cc. PiperOrigin-RevId: 506636248 Change-Id: Ifdc044528f5448fbf0175887d1671f1e1f3040b9
Configuration menu - View commit details
-
Copy full SHA for 4f7c63d - Browse repository at this point
Copy the full SHA 4f7c63dView commit details -
Fix -Wsign-conversion warnings
googletest/test/gtest_xml_outfile2_test_.cc:48:39: warning: implicit conversion turns floating-point number into integer: 'float' to 'int64_t' (aka 'long') [-Wfloat-conversion] RecordProperty("TestFloatProperty", float_prop); ~~~~~~~~~~~~~~ ^~~~~~~~~~ googletest/test/gtest_xml_outfile2_test_.cc:51:40: warning: implicit conversion turns floating-point number into integer: 'double' to 'int64_t' (aka 'long') [-Wfloat-conversion] RecordProperty("TestDoubleProperty", double_prop); ~~~~~~~~~~~~~~ ^~~~~~~~~~~ googletest/test/gtest_xml_outfile2_test_.cc:57:39: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'int64_t' (aka 'long') [-Wsign-conversion] RecordProperty("TestSizetProperty", size_t_prop); ~~~~~~~~~~~~~~ ^~~~~~~~~~~ PiperOrigin-RevId: 506644143 Change-Id: I9c2cd5f52daebe25e73bb97f696687797ed2cabf
Configuration menu - View commit details
-
Copy full SHA for deaf561 - Browse repository at this point
Copy the full SHA deaf561View commit details -
Fix compiler flags in Linux presubmit
CXX_FLAGS should be CXXFLAGS and the quoting was wrong. As a result, "-Werror -Wdeprecated" was not being applied. https://cmake.org/cmake/help/latest/envvar/CXXFLAGS.html PiperOrigin-RevId: 506656655 Change-Id: Ic5e861be3b9c32257eb9aabb845c931f3cba7122
Configuration menu - View commit details
-
Copy full SHA for 2f2e72b - Browse repository at this point
Copy the full SHA 2f2e72bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f9c7fc - Browse repository at this point
Copy the full SHA 3f9c7fcView commit details
Commits on Feb 6, 2023
-
Add support for the alternative base64 encoding in RFC 4648 section 5…
… to `WhenBase64Unescaped`. PiperOrigin-RevId: 507527786 Change-Id: Ie5e088b1814981f6c760d7e25418a430172705ec
Configuration menu - View commit details
-
Copy full SHA for 3d568bd - Browse repository at this point
Copy the full SHA 3d568bdView commit details
Commits on Feb 7, 2023
-
Fix GTEST_HAS_ABSL define check for [-Werror=undef] compilations
PiperOrigin-RevId: 507788664 Change-Id: Ib8cfbf3102a38e210fdae8a548fd84f0723ccc10
Configuration menu - View commit details
-
Copy full SHA for ee33b34 - Browse repository at this point
Copy the full SHA ee33b34View commit details -
Remove GTEST_USES_PCRE references
Nothing defines GTEST_USES_PCRE anymore. It was only meant for internal use, so nothing public should be relying on it: google#2735 (comment). Found when compiling with "-Wundef". Fixes google#2735. PiperOrigin-RevId: 507823660 Change-Id: Ie19e576ff01dc3b16381338578ece92adccfc09b
Configuration menu - View commit details
-
Copy full SHA for 0570e2d - Browse repository at this point
Copy the full SHA 0570e2dView commit details
Commits on Feb 8, 2023
-
Use "#if defined(_MSC_VER)" instead of "#if _MSC_VER" to be consistent with other usages in googletest and to work with the "-Wundef" warning. PiperOrigin-RevId: 508087630 Change-Id: I29c16fd2fa51a9dfecd55e10362a020318318956
Configuration menu - View commit details
-
Copy full SHA for b73f27f - Browse repository at this point
Copy the full SHA b73f27fView commit details
Commits on Feb 9, 2023
-
Revert "Fix gmock_output_test when using MSVC"
This reverts commit 0a3b403.
Configuration menu - View commit details
-
Copy full SHA for 097f64e - Browse repository at this point
Copy the full SHA 097f64eView commit details
Commits on Feb 13, 2023
-
Avoid reliance on <any> header without RTTI on MSVC
Fixes: google#4144 PiperOrigin-RevId: 509322023 Change-Id: I52bdf6c25ff433327e174d3f9583b3d50b872d58
Configuration menu - View commit details
-
Copy full SHA for b80a07f - Browse repository at this point
Copy the full SHA b80a07fView commit details
Commits on Feb 14, 2023
-
Remove some filesystem APIs and tests under !GTEST_HAS_FILE_SYSTEM
PiperOrigin-RevId: 509537606 Change-Id: I68f7054e34b1fe76c1fd85099fffa4ee3c2b00c0
Configuration menu - View commit details
-
Copy full SHA for 2057566 - Browse repository at this point
Copy the full SHA 2057566View commit details
Commits on Feb 15, 2023
-
PiperOrigin-RevId: 509947007 Change-Id: I31e1274afa889776829c877c40c9af589298dcf2
Configuration menu - View commit details
-
Copy full SHA for f063cd2 - Browse repository at this point
Copy the full SHA f063cd2View commit details
Commits on Feb 16, 2023
-
Fix link in ReportUninterestingCall message
This CL changes the link in the ReportUninterestingCall message from .../gmock_cook_book.md#knowing-when-to-expect to .../gmock_cook_book.md#knowing-when-to-expect-useoncall. This is necessary following google@31ff597. PiperOrigin-RevId: 510138974 Change-Id: Ic98c84b07751d27dfc95eddbe7874f76d68b456f
Configuration menu - View commit details
-
Copy full SHA for 7a7231c - Browse repository at this point
Copy the full SHA 7a7231cView commit details
Commits on Feb 18, 2023
-
Set CMP0069 policy to avoid warnings
When googletest and googlemock are included as a git submodule and referenced as part of an existing CMake project, multiple warnings are printed out due to not setting a value for the CMP0069 policy.
Configuration menu - View commit details
-
Copy full SHA for fe5b7ef - Browse repository at this point
Copy the full SHA fe5b7efView commit details
Commits on Feb 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 810fb81 - Browse repository at this point
Copy the full SHA 810fb81View commit details
Commits on Feb 21, 2023
-
Remove int64_t cast in RecordProperty
Historically, calls to RecordProperty with values that are convertible to int64_t have been casted to int64_t. The result was that types like float or double would be truncated when printed (e.g., 4.75 -> 4). This change removes the cast so that the types are printed in a more appropriate manner. PiperOrigin-RevId: 511238685 Change-Id: I80de5db14462da2a3e1f476086025ae514383a17
Configuration menu - View commit details
-
Copy full SHA for 750d67d - Browse repository at this point
Copy the full SHA 750d67dView commit details -
Fix error in_death_test_child_process: undeclared identifier
The error occurs if !GTEST_HAS_DEATH_TEST on Windows.
Configuration menu - View commit details
-
Copy full SHA for 10493e3 - Browse repository at this point
Copy the full SHA 10493e3View commit details
Commits on Feb 22, 2023
-
Update googletest's test docker containers
PiperOrigin-RevId: 511500508 Change-Id: Ib686f93d317b95ac9b9bcb0a5566500316ba1929
Configuration menu - View commit details
-
Copy full SHA for d9a4bbc - Browse repository at this point
Copy the full SHA d9a4bbcView commit details -
Avoid redundant declaration of static constexpr members in c++17
Keep declarations in c++ < 17 using new macro, GTEST_INTERNAL_NEED_REDUNDANT_CONSTEXPR_DECL. Fixes google#4148. PiperOrigin-RevId: 511510401 Change-Id: I76c3f2fccf07a0978adcbe5f8f0203b9d0c33872
Configuration menu - View commit details
-
Copy full SHA for 39a26e1 - Browse repository at this point
Copy the full SHA 39a26e1View commit details
Commits on Feb 23, 2023
-
Added a missing semicolon for GTEST_FLAG_SET code snippet.
PiperOrigin-RevId: 511858980 Change-Id: I0f9e6ffdeb8ae809d662eb3ff46eab5a109a8d93
Configuration menu - View commit details
-
Copy full SHA for d0ba3cc - Browse repository at this point
Copy the full SHA d0ba3ccView commit details
Commits on Feb 24, 2023
-
Add
const
qualifier togtest_sentinel
which doesn't change.PiperOrigin-RevId: 512094429 Change-Id: I29b116da65bc7471c43021d1650d90f7b2a685c2
Configuration menu - View commit details
-
Copy full SHA for 3d787f5 - Browse repository at this point
Copy the full SHA 3d787f5View commit details
Commits on Feb 27, 2023
-
Reformat to current g3doc style guide. No content changes.
PiperOrigin-RevId: 512681427 Change-Id: I88b22d82430ed145b8342747adf300f3e734d43b
Configuration menu - View commit details
-
Copy full SHA for 95d8c7a - Browse repository at this point
Copy the full SHA 95d8c7aView commit details -
Merge pull request google#4143 from iwsfutcmd:patch-1
PiperOrigin-RevId: 512696294 Change-Id: I6c135ca295e663df48db5b32bad4639d0c0c0774
Configuration menu - View commit details
-
Copy full SHA for 2ce822a - Browse repository at this point
Copy the full SHA 2ce822aView commit details -
PiperOrigin-RevId: 512708763 Change-Id: I1f24f2e1d17359aee5aa4cdf614c9357872ca03b
Configuration menu - View commit details
-
Copy full SHA for 6882aa0 - Browse repository at this point
Copy the full SHA 6882aa0View commit details -
Merge pull request google#4164 from sergio-nsk:patch-2
PiperOrigin-RevId: 512753220 Change-Id: I3f7ad6c62c738d1d7405c50924b36deac8a9ac85
Configuration menu - View commit details
-
Copy full SHA for c7d0bc8 - Browse repository at this point
Copy the full SHA c7d0bc8View commit details
Commits on Feb 28, 2023
-
Eliminate argv list action parameter.
PiperOrigin-RevId: 512791992 Change-Id: Ie7fc37ea06ea7d9f595268c9ec84a0e144c297bb
Configuration menu - View commit details
-
Copy full SHA for 8aa75fa - Browse repository at this point
Copy the full SHA 8aa75faView commit details -
Fixes the test gmock_output_test.py with MSVC
For MSVC, gmock_output_test.py output struct std::pair<int,bool>, for GCC, it's output std::pair<int, bool>, it's not the same, my intention is getting these to be same by removing struct for MSVC's outptu, and strip redundant space for GCC. As a by-product, ``` #ifdef _MSC_VER #define ERROR_DESC "class std::runtime_error" #else #define ERROR_DESC "std::runtime_error" #endif ``` can be simplified to ``` #define ERROR_DESC "std::runtime_error" ``` Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6f1c4b3 - Browse repository at this point
Copy the full SHA 6f1c4b3View commit details -
Rephrase the description of TEST_F() arguments for clarity.
PiperOrigin-RevId: 512937964 Change-Id: Ifa6369a80dc7d8efe60511417496d58317cfc28d
Configuration menu - View commit details
-
Copy full SHA for 555486f - Browse repository at this point
Copy the full SHA 555486fView commit details -
Merge pull request google#4158 from VuPhamVan:main
PiperOrigin-RevId: 512959074 Change-Id: Ifbc63077aad573d4496a837f2f57584192573820
Configuration menu - View commit details
-
Copy full SHA for 2d4f208 - Browse repository at this point
Copy the full SHA 2d4f208View commit details
Commits on Mar 3, 2023
-
PiperOrigin-RevId: 513770561 Change-Id: I82fbed177c6ba4e2e5b776ae3e0255c868e32e25
Configuration menu - View commit details
-
Copy full SHA for cead3d5 - Browse repository at this point
Copy the full SHA cead3d5View commit details
Commits on Mar 6, 2023
-
Use "#ifdef GTEST_OS_..." instead of "#if GTEST_OS_..."
This is compatible with compiling with "-Wundef" (google#3267). PiperOrigin-RevId: 513943378 Change-Id: I47cf5fabbb77be061c4483a0adc54511af6b191c
Configuration menu - View commit details
-
Copy full SHA for 2314284 - Browse repository at this point
Copy the full SHA 2314284View commit details -
Always specify definitions for internal macros
These macros should only be used within googletest, so changing them will not affect external users. This allows compiling with -Wundef (google#3267). PiperOrigin-RevId: 513943800 Change-Id: I697b1005c29b0d5af06f583f202d86db48b567b9
Configuration menu - View commit details
-
Copy full SHA for a08c03c - Browse repository at this point
Copy the full SHA a08c03cView commit details -
Only define GTEST_IS_THREADSAFE to 1, not 0
According to the comments, "Feature-indicating macros", such as GTEST_IS_THREADSAFE should be defined to 1 when supported and otherwise undefined (never 0). PiperOrigin-RevId: 513944266 Change-Id: I0f5c8bed107a5f20e957ec7c70339540ca2fe831
Configuration menu - View commit details
-
Copy full SHA for 7b1ced0 - Browse repository at this point
Copy the full SHA 7b1ced0View commit details -
Use "#ifdef" with public macros
This allows compilation with "-Wundef" (google#3267). PiperOrigin-RevId: 513944726 Change-Id: I1a3854bb2333d5dec6c0ff91ee1eddd9a766ab91
Configuration menu - View commit details
-
Copy full SHA for dc10c3b - Browse repository at this point
Copy the full SHA dc10c3bView commit details -
Replace "#if GTEST_HAS_ABSL" with "#ifdef GTEST_HAS_ABSL"
This allows compilation with "-Wundef" (google#3267). PiperOrigin-RevId: 513945230 Change-Id: I45ef19c7ff3d20e97216bd031d406a03365471da
Configuration menu - View commit details
-
Copy full SHA for 16feffa - Browse repository at this point
Copy the full SHA 16feffaView commit details -
Remove GTEST_FOR_GOOGLE_ macro
The "more details" warning message printed by this macro is no longer needed. PiperOrigin-RevId: 513945729 Change-Id: I644910216dbef2fe92eee3a648f2078e705cc7a1
Configuration menu - View commit details
-
Copy full SHA for 0bdd450 - Browse repository at this point
Copy the full SHA 0bdd450View commit details -
Always specify definitions for internal macros
These macros should only be used within googletest, so changing them will not affect external users. This allows compiling with -Wundef (google#3267). PiperOrigin-RevId: 513946162 Change-Id: I2f2b7df9123adeba4147593b2b55fde349ccce4f
Configuration menu - View commit details
-
Copy full SHA for 2ddba26 - Browse repository at this point
Copy the full SHA 2ddba26View commit details -
Fixes google#3267 PiperOrigin-RevId: 513946600 Change-Id: I0dd1daa04aeb735a238c4c0af6676565d64cbc21
Configuration menu - View commit details
-
Copy full SHA for d92a270 - Browse repository at this point
Copy the full SHA d92a270View commit details -
Fix indentation syntax error in feature request issue template
Fixes google#4166 PiperOrigin-RevId: 514427586 Change-Id: I947b2a0f3687430f27e37fcd2b3fff8b1cb0b16e
Configuration menu - View commit details
-
Copy full SHA for e1ee0fa - Browse repository at this point
Copy the full SHA e1ee0faView commit details
Commits on Mar 7, 2023
-
__cpp_char8_t does not cover std::u8string implementation, but __cpp_…
…lib_char8_t does
Configuration menu - View commit details
-
Copy full SHA for 92f0d72 - Browse repository at this point
Copy the full SHA 92f0d72View commit details -
PiperOrigin-RevId: 514678702 Change-Id: I5b0089d905152ccb85022be395ed340e42586234
Configuration menu - View commit details
-
Copy full SHA for 1a727c2 - Browse repository at this point
Copy the full SHA 1a727c2View commit details -
Suppress std::string DLL interface warning introduced in commit f063cd2
Fixes google#4171 PiperOrigin-RevId: 514777144 Change-Id: I6f4b309c407684522fc1bc94dcc980ea1fe09cd9
Configuration menu - View commit details
-
Copy full SHA for cf4f440 - Browse repository at this point
Copy the full SHA cf4f440View commit details -
Fix compilation of googletest-printers-test.cc when using -Wundef
google#3267 PiperOrigin-RevId: 514858420 Change-Id: Ic712aafad25f5e63ae48f647557de95cef890978
Configuration menu - View commit details
-
Copy full SHA for 678c1c7 - Browse repository at this point
Copy the full SHA 678c1c7View commit details -
Add -Wundef to the CI scripts when building with Bazel
The CMake build already adds -Wundef for gcc/clang. This change makes sure that the gcc/clang Bazel builds also compile correctly with -Wundef (google#3267). PiperOrigin-RevId: 514864451 Change-Id: I7798a4a4c68d037e23625db24ee29df454367734
Configuration menu - View commit details
-
Copy full SHA for a798c2f - Browse repository at this point
Copy the full SHA a798c2fView commit details
Commits on Mar 8, 2023
-
PiperOrigin-RevId: 514936218 Change-Id: I24c443a2ca75c875052b0cf2d0a48e808d03ae43
Configuration menu - View commit details
-
Copy full SHA for 82a5704 - Browse repository at this point
Copy the full SHA 82a5704View commit details -
Add a comment to clarify Fuchsia process launcher requirement.
PiperOrigin-RevId: 515154129 Change-Id: I3dd9e912e160d09d1f74a467336212701d4e1b7d
Configuration menu - View commit details
-
Copy full SHA for 48a1b11 - Browse repository at this point
Copy the full SHA 48a1b11View commit details
Commits on Mar 9, 2023
-
PiperOrigin-RevId: 515265927 Change-Id: Iea11668fa4bbf08f6d418a3823e836fb5b874dcc
Configuration menu - View commit details
-
Copy full SHA for 50e07d1 - Browse repository at this point
Copy the full SHA 50e07d1View commit details
Commits on Mar 10, 2023
-
Environment variables are accessible in UWP/WinRT apps
Environment variables, for example `GTEST_FILTER`, `GTEST_OUTPUT` can be set before getting WinRT app run. GoogleTest can read environment variables and use them. It's easier than setting and passing command line parameters to WinRT app.
Configuration menu - View commit details
-
Copy full SHA for 2d3b36d - Browse repository at this point
Copy the full SHA 2d3b36dView commit details -
[gtest] Drop custom-rolled heterogeneous comparator functors in favor…
… of C++ standard ones * Standard heterogeneous comparator functors such as `std::equal_to<>` and `std::less<>` [have been available since C++14](https://en.cppreference.com/w/cpp/utility/functional/less_void) * Now that [C++14 is the minimum supported version of C++ in Googletest](https://github.com/google/oss-policies-info/blob/main/foundational-cxx-support-matrix.md), let's delete these duplications of the standard library PiperOrigin-RevId: 515743068 Change-Id: I1563a2f94039c3a6688429298555545a922f6d7e
Configuration menu - View commit details
-
Copy full SHA for 038e392 - Browse repository at this point
Copy the full SHA 038e392View commit details
Commits on Mar 11, 2023
-
PiperOrigin-RevId: 515855852 Change-Id: I8016eefd45c36089e189bbd1ebbe9fdabe68255b
Configuration menu - View commit details
-
Copy full SHA for 391ce62 - Browse repository at this point
Copy the full SHA 391ce62View commit details
Commits on Mar 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for abad8af - Browse repository at this point
Copy the full SHA abad8afView commit details
Commits on Mar 16, 2023
-
Move transitive dependencies of googletest to googletest_deps.bzl to …
…allow other bazel projects to depend on that rule instead of googletests' transitive dependencies directly. PiperOrigin-RevId: 517166391 Change-Id: I9158e24d3f9613f3bcc811c028e1a15f213b7c40
Configuration menu - View commit details
-
Copy full SHA for f53219c - Browse repository at this point
Copy the full SHA f53219cView commit details -
Merge pull request google#4180 from sergio-nsk:patch-3
PiperOrigin-RevId: 517200256 Change-Id: I2ad5d4644f9e2095909ef646a7207c42a38082cf
Configuration menu - View commit details
-
Copy full SHA for e49c6b9 - Browse repository at this point
Copy the full SHA e49c6b9View commit details
Commits on Mar 17, 2023
-
Merge pull request google#4182 from venik:venik-char8-lib-fix
PiperOrigin-RevId: 517470997 Change-Id: I12b079dc1536f136dd0514871fe79f9678b1fd6a
Configuration menu - View commit details
-
Copy full SHA for 837f222 - Browse repository at this point
Copy the full SHA 837f222View commit details
Commits on Mar 19, 2023
-
PiperOrigin-RevId: 517814929 Change-Id: I2bc498ba048d4deab1cf2a021487f63fe44c466d
Configuration menu - View commit details
-
Copy full SHA for 28219b1 - Browse repository at this point
Copy the full SHA 28219b1View commit details
Commits on Mar 20, 2023
-
Remove unused using-declarations in sample unit tests
PiperOrigin-RevId: 517910369 Change-Id: I87f29fb09bc83e7d1c7cffdf267b2f691d261c26
Configuration menu - View commit details
-
Copy full SHA for 9fd3fb0 - Browse repository at this point
Copy the full SHA 9fd3fb0View commit details -
Introduce std::make_unique and bool literals where possible
PiperOrigin-RevId: 517910526 Change-Id: I398704f4b2ca0a55c86a06ca8b47d34c8670ddd7
Configuration menu - View commit details
-
Copy full SHA for 471087f - Browse repository at this point
Copy the full SHA 471087fView commit details -
Revise documentation to include AbslStringify
PiperOrigin-RevId: 518039451 Change-Id: Ife548d0f83266746ce1981bea31e70e6b43027c9
Configuration menu - View commit details
-
Copy full SHA for 3288c4d - Browse repository at this point
Copy the full SHA 3288c4dView commit details -
Merge pull request google#4157 from dpogue:patch-1
PiperOrigin-RevId: 518065122 Change-Id: I3a71c85626050b9aecebd4aa10d668ea3c48c82c
Configuration menu - View commit details
-
Copy full SHA for fa87209 - Browse repository at this point
Copy the full SHA fa87209View commit details
Commits on Mar 21, 2023
-
PiperOrigin-RevId: 518213370 Change-Id: I88d0acc195dadf8d03cd15c8534c721141db14ea
Configuration menu - View commit details
-
Copy full SHA for e9faae1 - Browse repository at this point
Copy the full SHA e9faae1View commit details -
Fix minor bug -- if ExecDeathTestChildMain() ever returns, we should …
…exit with a non-zero status. PiperOrigin-RevId: 518306642 Change-Id: I72fb2764e477acb0362593c63f7748c4f64db0c6
Configuration menu - View commit details
-
Copy full SHA for 974e18e - Browse repository at this point
Copy the full SHA 974e18eView commit details
Commits on Mar 23, 2023
-
gtest.cc: add a newline after a failure when there is no OS stack trace.
This makes the behavior consistent when GTEST_STACK_TRACE_DEPTH is set to zero and not: there is always vertical whitespace separating failure messages. PiperOrigin-RevId: 518744611 Change-Id: I5b4af40633849850660504c3f497a76601d4311d
Configuration menu - View commit details
-
Copy full SHA for 5fce130 - Browse repository at this point
Copy the full SHA 5fce130View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d6ba6d - Browse repository at this point
Copy the full SHA 5d6ba6dView commit details -
PiperOrigin-RevId: 518810140 Change-Id: Id3f9471f827894761080bc9199b0a092dc829b5f
Configuration menu - View commit details
-
Copy full SHA for 6f01e3d - Browse repository at this point
Copy the full SHA 6f01e3dView commit details
Commits on Mar 24, 2023
-
PiperOrigin-RevId: 519071084 Change-Id: I6459d60606e93bf658e505544538367508722857
Configuration menu - View commit details
-
Copy full SHA for a0ced33 - Browse repository at this point
Copy the full SHA a0ced33View commit details -
Replace
const char*
withabsl::string_view
as the latter is prefe……rred. PiperOrigin-RevId: 519122695 Change-Id: I7dcf969d15d26ccc4b376e3ab6db7f4c08c7386f
Configuration menu - View commit details
-
Copy full SHA for e9fb5c7 - Browse repository at this point
Copy the full SHA e9fb5c7View commit details
Commits on Mar 27, 2023
-
Migrate CI builds to MSVC 2022
PiperOrigin-RevId: 519792199 Change-Id: Ic821b264bf1aef5e03f22fb0e288dd9d56fd536b
Configuration menu - View commit details
-
Copy full SHA for 88af49e - Browse repository at this point
Copy the full SHA 88af49eView commit details
Commits on Mar 28, 2023
-
Remove the Win64 arch from the CMake Generator since
this can't be used with MSVC 2022 We also have to use Python 3.4 since that is what the base image has, however, I will create a new image soon that has a modern version of Python. PiperOrigin-RevId: 520010732 Change-Id: Icf2420fd97d2bbc310382a17793045b6e16d62bb
Configuration menu - View commit details
-
Copy full SHA for 13b1900 - Browse repository at this point
Copy the full SHA 13b1900View commit details -
Fix redundant redeclaration warning
Fixes google#4200 PiperOrigin-RevId: 520017094 Change-Id: Id707a1c0489edde083771ccd412d7035612474dc
Configuration menu - View commit details
-
Copy full SHA for 3656c27 - Browse repository at this point
Copy the full SHA 3656c27View commit details -
Merge pull request google#4103 from gonzalobg:bugfix/nvcxx_support
PiperOrigin-RevId: 520017251 Change-Id: Ib2be28787b739344c80a5d937f875737ba44a0ec
Configuration menu - View commit details
-
Copy full SHA for ca0d46e - Browse repository at this point
Copy the full SHA ca0d46eView commit details
Commits on Mar 29, 2023
-
Update naming to "GoogleTest" in the GoogleTest Primer.
PiperOrigin-RevId: 520409541 Change-Id: I75a0b8615ece923137d4f5dcdb915f38e4c3b1b2
Configuration menu - View commit details
-
Copy full SHA for 0cd05c6 - Browse repository at this point
Copy the full SHA 0cd05c6View commit details
Commits on Mar 30, 2023
-
gtest.cc: run tests within a test suite in a deterministic order.
Ensure that tests are run in the order specified in the source code, even if they are registered manually using RegisterTest. There should be no behavior change for the common case. PiperOrigin-RevId: 520729483 Change-Id: I400c78400c6929fccae0676214d993251f31888f
Configuration menu - View commit details
-
Copy full SHA for b5fd99b - Browse repository at this point
Copy the full SHA b5fd99bView commit details
Commits on Apr 3, 2023
-
Rolled back due to breaking existing tests.
PiperOrigin-RevId: 521555658 Change-Id: I09742faceb82b2b7ceb423e850a8b50d532ad6ff
Configuration menu - View commit details
-
Copy full SHA for 7ee260c - Browse repository at this point
Copy the full SHA 7ee260cView commit details
Commits on Apr 5, 2023
-
gtest.cc: run tests within a test suite in a deterministic order.
Ensure that tests are run in the order specified in the source code, even if they are registered manually using RegisterTest. There should be no behavior change for the common case. PiperOrigin-RevId: 522136303 Change-Id: If155e2666780af0e514fbbf5ff2b157d5fe2fef1
Configuration menu - View commit details
-
Copy full SHA for 057b4e9 - Browse repository at this point
Copy the full SHA 057b4e9View commit details
Commits on Apr 11, 2023
-
Support --gtest_stream_result_to on macOS
This seems to just have been an oversight. POSIX socket APIs work just fine on macOS. Fixes google#4214. PiperOrigin-RevId: 523398386 Change-Id: I9d56cd9c6933318c1f0b0024f7fef44122fd0c83
Configuration menu - View commit details
-
Copy full SHA for 7f6f9c1 - Browse repository at this point
Copy the full SHA 7f6f9c1View commit details -
Fix FunctionMocker compilation slowdown in 9d21db9
The slowdown appears to be due to an implicit conversion of distinct (yet semantically identical) lambdas to `std::function`. Lifting out the lambdas into functors that don't get re-instantiated reduces compilation times by nearly half. Fixes google#4156 PiperOrigin-RevId: 523447948 Change-Id: Ib0ae0761a54d7b1f2b706b14b2858eedf47e2297
Configuration menu - View commit details
-
Copy full SHA for 8fa9461 - Browse repository at this point
Copy the full SHA 8fa9461View commit details
Commits on Apr 12, 2023
-
Merge pull request google#3993 from pgroke-dt:work-around-GCC-11-ADL-bug
PiperOrigin-RevId: 523706897 Change-Id: If6dcc97c81a20f8fe675241518ae1d6cf23ebf39
Configuration menu - View commit details
-
Copy full SHA for 12a5852 - Browse repository at this point
Copy the full SHA 12a5852View commit details
Commits on Apr 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 952560d - Browse repository at this point
Copy the full SHA 952560dView commit details
Commits on Apr 17, 2023
-
Update gMock Cookbook to reflect deprecation of testing::ByMove
PiperOrigin-RevId: 524868227 Change-Id: I702ede27570e3d3f06d534d6ccf8b39689105d07
Configuration menu - View commit details
-
Copy full SHA for 922e0b7 - Browse repository at this point
Copy the full SHA 922e0b7View commit details -
Merge pull request google#4219 from jerylvaz:main
PiperOrigin-RevId: 524932412 Change-Id: Ie70282f7e82cb3b9442bd15bbe49bb9b00e56eb9
Configuration menu - View commit details
-
Copy full SHA for d25e625 - Browse repository at this point
Copy the full SHA d25e625View commit details
Commits on Apr 20, 2023
-
Make parameter names in function declaration match the names in the
definitions https://clang.llvm.org/extra/clang-tidy/checks/readability/inconsistent-declaration-parameter-name.html PiperOrigin-RevId: 525752102 Change-Id: Ibf9d3d1dbae8f95cfc7c6ad29fe4b677f4ee19cf
Configuration menu - View commit details
-
Copy full SHA for 01bcf8c - Browse repository at this point
Copy the full SHA 01bcf8cView commit details -
PiperOrigin-RevId: 525794940 Change-Id: Ib2639058610c91cbffbb0f22a5e71573e0cbd651
Configuration menu - View commit details
-
Copy full SHA for d8a5fb7 - Browse repository at this point
Copy the full SHA d8a5fb7View commit details -
PiperOrigin-RevId: 525820426 Change-Id: Ib5baa8da4a54ebb17b6ace12240ed03eedb46091
Configuration menu - View commit details
-
Copy full SHA for d7fb5e1 - Browse repository at this point
Copy the full SHA d7fb5e1View commit details -
PiperOrigin-RevId: 525828947 Change-Id: I66f47c835bc93ba171eba0da8df09eff89c6c77b
Configuration menu - View commit details
-
Copy full SHA for 9c1efac - Browse repository at this point
Copy the full SHA 9c1efacView commit details -
PiperOrigin-RevId: 525850646 Change-Id: I64387f5b933beb79cd05636dca81b7a75213383e
Configuration menu - View commit details
-
Copy full SHA for a5308bb - Browse repository at this point
Copy the full SHA a5308bbView commit details
Commits on Apr 21, 2023
-
Use the empty method to check for emptiness
PiperOrigin-RevId: 526046714 Change-Id: I6ad0deff2a7f6dfef75a643c95ad914c83b9ba38
Configuration menu - View commit details
-
Copy full SHA for baf182e - Browse repository at this point
Copy the full SHA baf182eView commit details -
Use '=default' to define trivial constructor/destructors
https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-equals-default.html PiperOrigin-RevId: 526079054 Change-Id: Ia4db21e3e5f58b90de05d52fd94b291ed06d785d
Configuration menu - View commit details
-
Copy full SHA for 783d00f - Browse repository at this point
Copy the full SHA 783d00fView commit details
Commits on Apr 24, 2023
-
Rename 'Result' struct to 'NonMoveableStruct' in gmock-spec-builders_test.cc in ExpectCallTest.NonMoveableType test
Configuration menu - View commit details
-
Copy full SHA for 51eeae5 - Browse repository at this point
Copy the full SHA 51eeae5View commit details
Commits on Apr 25, 2023
-
Merge pull request google#4225 from TurboGawron:non_moveable_struct_fix
PiperOrigin-RevId: 526972449 Change-Id: I77d8bd37807f6c6ab5256f1e6c4abc64cceee740
Configuration menu - View commit details
-
Copy full SHA for ccdeec8 - Browse repository at this point
Copy the full SHA ccdeec8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97408ca - Browse repository at this point
Copy the full SHA 97408caView commit details
Commits on Apr 26, 2023
-
Use Abseil Flag public API for flag parsing.
This change brings InitGoogleTest semantic in accordance with the official documentation: only GoogleTest flags are removed from argc/argv. The rest of the flags remains in place. We do nothing special for flags with unrecognized gunit_/gtest_ prefix and we do not report them. PiperOrigin-RevId: 527257221 Change-Id: Ibb29a1bda1a44251a4ee579c0fb5bbdfd9965c21
Configuration menu - View commit details
-
Copy full SHA for dea0484 - Browse repository at this point
Copy the full SHA dea0484View commit details
Commits on Apr 28, 2023
-
Add qualifier to avoid argument dependent lookup
PiperOrigin-RevId: 527740306 Change-Id: I61308cc232c346d5ff8b0548d4c552a59633fffc
Configuration menu - View commit details
-
Copy full SHA for 0bdaac5 - Browse repository at this point
Copy the full SHA 0bdaac5View commit details -
Use GTEST_INTERNAL_CPLUSPLUS_LANG instead of __cplusplus
Some versions of MSVC provide incorrect values for the latter and rely on _MSVC_LANG instead. Fixes google#4226. PiperOrigin-RevId: 527919195 Change-Id: Ifcca4612074f5ebc5337094426866a187f79f90a
Configuration menu - View commit details
-
Copy full SHA for 797b0ad - Browse repository at this point
Copy the full SHA 797b0adView commit details
Commits on May 1, 2023
-
Merge pull request google#4227 from Vertexwahn:fix-spelling
PiperOrigin-RevId: 528474013 Change-Id: I60cd509aded8d8b02423ea1b07c2c27e3709a808
Configuration menu - View commit details
-
Copy full SHA for f345b2c - Browse repository at this point
Copy the full SHA f345b2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 76bce79 - Browse repository at this point
Copy the full SHA 76bce79View commit details
Commits on May 2, 2023
-
Merge pull request google#4146 from lygstate:fixes_std_pair_diff
PiperOrigin-RevId: 528781910 Change-Id: I4038332a6255921792bfb4a8098aa84243d48e15
Configuration menu - View commit details
-
Copy full SHA for a358018 - Browse repository at this point
Copy the full SHA a358018View commit details
Commits on May 5, 2023
-
This trips up when compiling with -Wvla otherwise.
PiperOrigin-RevId: 529762901 Change-Id: I6ce4d630191bf265f847aef2d5dcc12a712faa60
Configuration menu - View commit details
-
Copy full SHA for bc860af - Browse repository at this point
Copy the full SHA bc860afView commit details
Commits on May 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a7fa9b3 - Browse repository at this point
Copy the full SHA a7fa9b3View commit details
Commits on May 8, 2023
-
Add missing absl dependency from build.
pateldeev committedMay 8, 2023 Configuration menu - View commit details
-
Copy full SHA for 0eb33cf - Browse repository at this point
Copy the full SHA 0eb33cfView commit details
Commits on May 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 88295d6 - Browse repository at this point
Copy the full SHA 88295d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7345a66 - Browse repository at this point
Copy the full SHA 7345a66View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8e067a - Browse repository at this point
Copy the full SHA a8e067aView commit details -
Give CreateArgvFromArgs internal linkage
It isn't declared in any header or referenced from any other file. PiperOrigin-RevId: 531209642 Change-Id: I9e7df37f737b00994f8845ed38c3b775879cb25c
Configuration menu - View commit details
-
Copy full SHA for bb2941f - Browse repository at this point
Copy the full SHA bb2941fView commit details
Commits on May 15, 2023
-
Merge pull request google#4234 from pateldeev:missing_dep
PiperOrigin-RevId: 532143036 Change-Id: I3dd57e975006478eb6b16b8ea289531738a8a0b5
Configuration menu - View commit details
-
Copy full SHA for e42cc22 - Browse repository at this point
Copy the full SHA e42cc22View commit details -
Merge pull request google#4231 from yagneshprajapati:main
PiperOrigin-RevId: 532204016 Change-Id: Ifa309f31bb959b43faa54c5ce631a823e6a2888a
Configuration menu - View commit details
-
Copy full SHA for 60c3602 - Browse repository at this point
Copy the full SHA 60c3602View commit details
Commits on May 16, 2023
-
Explicitly document googletest release tag format
Fixes google#4235 PiperOrigin-RevId: 532446854 Change-Id: If7e1dade02a80d9a30813c136bba3f20c796f0fa
Configuration menu - View commit details
-
Copy full SHA for d6fb5e3 - Browse repository at this point
Copy the full SHA d6fb5e3View commit details
Commits on May 17, 2023
-
Fix typo in version number example in README
PiperOrigin-RevId: 532796425 Change-Id: If81029216cf12b9b05f8e2d79671ba106ebd28fb
Configuration menu - View commit details
-
Copy full SHA for cb455a7 - Browse repository at this point
Copy the full SHA cb455a7View commit details
Commits on May 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for aa99ce5 - Browse repository at this point
Copy the full SHA aa99ce5View commit details
Commits on May 22, 2023
-
Merge pull request google#4250 from shlomnissan:cmake-quickstart-update
PiperOrigin-RevId: 534150776 Change-Id: Ib6c07c6abd06c259494928102e2cb800b6652612
Configuration menu - View commit details
-
Copy full SHA for 4580469 - Browse repository at this point
Copy the full SHA 4580469View commit details
Commits on May 24, 2023
-
Build googletest with IntelLLVM compilers.
Use the same flags as Clang if the compiler id is IntelLLVM. IntelLLVM warns if a double constant is assigned to a float. ``` [build] .../googletest/googletest/include/gtest/gtest-printers.h:516:17: warning: implicit conversion between floating point types of different sizes [-Wimplicit-float-size-conversion] [build] mulfor6 = 1e1; ``` IntelLLVM uses fp-model=fast by default, breaking IsNan and IsInf tests. Use -ffp-model=precise to fix this. IntelLLVM does not support -Wchar-subscripts Fixes google#4255
Configuration menu - View commit details
-
Copy full SHA for e032d57 - Browse repository at this point
Copy the full SHA e032d57View commit details
Commits on May 25, 2023
-
Disable some warnings for IntelLLVM on Windows.
Use /fp:precise to override IntelLLVM's default of /fp:fast. This makes IsInf and IsNan work as expected by googletest. ``` [build]...\googletest\googlemock\test\gmock-function-mocker_test.cc(143,21): error: 'VoidReturning' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override] [build] MOCK_METHOD(void, VoidReturning, (int n)); // NOLINT ``` ``` [build] ...\googletest\googlemock\test\gmock-function-mocker_test.cc(182,20): error: exception specification of overriding function is more lax than base version [-Werror,-Wmicrosoft-exception-spec] [build] MOCK_METHOD(int, CTNullary, (), (Calltype(STDMETHODCALLTYPE))); ``` ``` [build] ...\googletest\googletest\test\googletest-death-test-test.cc(209,5): error: unused function 'DieInCRTDebugElse12' [-Werror,-Wunused-function] [build] int DieInCRTDebugElse12(int* sideeffect) { [build] ^ ``` ``` [build] ...\googletest\googletest\test\gtest_unittest.cc(4096,7): error: variable 'n' set but not used [-Werror,-Wunused-but-set-variable] [build] int n = 0; ```
Configuration menu - View commit details
-
Copy full SHA for 029d3dd - Browse repository at this point
Copy the full SHA 029d3ddView commit details
Commits on May 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ded275d - Browse repository at this point
Copy the full SHA ded275dView commit details -
Merge pull request google#4256 from niranjan-nilakantan:niranjan-nila…
…kantan/issue4255 PiperOrigin-RevId: 536480185 Change-Id: I9bdd65cd18253703abf3cc92b3f354c1f798aa3e
Configuration menu - View commit details
-
Copy full SHA for f625681 - Browse repository at this point
Copy the full SHA f625681View commit details
Commits on May 31, 2023
-
Update GoogleTest to RE2 release
2023-06-01
.Note that RE2 has taken a dependency on Abseil, so the `main` branch should be used from now on. The `abseil` branch will go away soon... PiperOrigin-RevId: 536737543 Change-Id: I0e595ee8e754b924881f997f286cdec3822763bf
Configuration menu - View commit details
-
Copy full SHA for a7833a1 - Browse repository at this point
Copy the full SHA a7833a1View commit details -
Provide example for setting C++ language standard in GoogleTest's Baz…
…el quickstart and readme. An equivalent for CMake was merged in google@aa99ce5 Fixes google#4254 PiperOrigin-RevId: 536759641 Change-Id: I8400064a24e0d78f17a0720046f505efa1167b4f
Configuration menu - View commit details
-
Copy full SHA for 04cf298 - Browse repository at this point
Copy the full SHA 04cf298View commit details
Commits on Jun 1, 2023
-
Copy supported platforms from README onto https://google.github.io/go…
…ogletest/platforms.html PiperOrigin-RevId: 537016664 Change-Id: Ie62891a1061465a009b90feba0ccb91d85591160
Configuration menu - View commit details
-
Copy full SHA for 06f44bc - Browse repository at this point
Copy the full SHA 06f44bcView commit details -
Ignore the .cache directory create by VSCode.
This is populated by the clangd language service provider. Also ignore the cmake-variants.yaml file. This can be created locally to select various build/test configurations. Fixes google#4266
Configuration menu - View commit details
-
Copy full SHA for a5b94f6 - Browse repository at this point
Copy the full SHA a5b94f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad1b28b - Browse repository at this point
Copy the full SHA ad1b28bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ca3ab8 - Browse repository at this point
Copy the full SHA 5ca3ab8View commit details
Commits on Jun 2, 2023
-
Check for file system for current directory
Check for current directory instead of death test to get original directory. A port may support filesystems but not death tests.
Configuration menu - View commit details
-
Copy full SHA for 001f281 - Browse repository at this point
Copy the full SHA 001f281View commit details
Commits on Jun 5, 2023
-
Merge pull request google#4260 from pratyush3757:readme_table_fix
PiperOrigin-RevId: 537887202 Change-Id: I4a52ec0da24f043eba0aa1a9d7945066c799ce8a
Configuration menu - View commit details
-
Copy full SHA for 23f642a - Browse repository at this point
Copy the full SHA 23f642aView commit details
Commits on Jun 6, 2023
-
Merge pull request google#4269 from elupus:patch-3
PiperOrigin-RevId: 538253216 Change-Id: Ib4bc90974f92939f884d6b5927f8bf37aac4d2c7
Configuration menu - View commit details
-
Copy full SHA for 334704d - Browse repository at this point
Copy the full SHA 334704dView commit details
Commits on Jun 9, 2023
-
internal g3doc documentation change.
PiperOrigin-RevId: 539134110 Change-Id: I28041f77e18bc67aa0ffabdc7205e350deed22c8
Configuration menu - View commit details
-
Copy full SHA for 65cfeca - Browse repository at this point
Copy the full SHA 65cfecaView commit details
Commits on Jun 12, 2023
-
Merge pull request google#4188 from Mizzrym1:component
PiperOrigin-RevId: 539684886 Change-Id: Ie7f4175ad413fdb82d265374a4aca9fad23571f5
Configuration menu - View commit details
-
Copy full SHA for e907816 - Browse repository at this point
Copy the full SHA e907816View commit details
Commits on Jun 14, 2023
-
Skip entire test suite with
GTEST_SKIP()
inSetUpTestSuite
Fixes google#4273 PiperOrigin-RevId: 540254167 Change-Id: I2555740d10284223539035bf73f88554fcf73f8a
Configuration menu - View commit details
-
Copy full SHA for 4c7aee8 - Browse repository at this point
Copy the full SHA 4c7aee8View commit details
Commits on Jun 15, 2023
-
Allow clients to un-suppress output from gUnit EXPECT_EXIT tests.
This is useful for running individual tests in a separate process, which is useful for testing e.g. flag changes which have a process-global effect. PiperOrigin-RevId: 540580573 Change-Id: I18a5d24d79425a9d595be3369efc44e2f655f6f8
Configuration menu - View commit details
-
Copy full SHA for 18fa6a4 - Browse repository at this point
Copy the full SHA 18fa6a4View commit details
Commits on Jun 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 148b327 - Browse repository at this point
Copy the full SHA 148b327View commit details -
Merge pull request google#4267 from niranjan-nilakantan:niranjan-nila…
…kantan/issue4266 PiperOrigin-RevId: 540901148 Change-Id: Ifd4c4a6d37e9bf7ff63470be401f94d2bb530c22
Configuration menu - View commit details
-
Copy full SHA for 9b12f74 - Browse repository at this point
Copy the full SHA 9b12f74View commit details
Commits on Jun 19, 2023
-
Change C++11 requirement to C++14
Version 1.13.x and later require C++14. Also fix missing closing backtick.
Configuration menu - View commit details
-
Copy full SHA for 124bc58 - Browse repository at this point
Copy the full SHA 124bc58View commit details -
From the CMake 3.27 release notes: Compatibility with versions of CMake older than 3.5 is now deprecated and will be removed from a future version. Calls to cmake_minimum_required() or cmake_policy() that set the policy version to an older value now issue a deprecation diagnostic. This PR also removes manually setting policy CMP0048. This is redundant since the CMake min is already 3.X
Configuration menu - View commit details
-
Copy full SHA for 4fed5f2 - Browse repository at this point
Copy the full SHA 4fed5f2View commit details
Commits on Jun 20, 2023
-
Merge pull request google#4286 from ryandesign:patch-1
PiperOrigin-RevId: 541928566 Change-Id: I72437cb3a06f2af7220b247c6c136a38c5f1089c
Configuration menu - View commit details
-
Copy full SHA for 6c08816 - Browse repository at this point
Copy the full SHA 6c08816View commit details -
Merge pull request google#4288 from juan-lunarg:juan/cmake_min_3_dot_6
PiperOrigin-RevId: 541929012 Change-Id: I90423820611c2b6a6f81fe3f9ec2d23992ffbed1
Configuration menu - View commit details
-
Copy full SHA for 2983697 - Browse repository at this point
Copy the full SHA 2983697View commit details -
Merge pull request google#4282 from zencatalyst:patch-1
PiperOrigin-RevId: 541940311 Change-Id: I953d347f0041dfcacc2bff9cc1b19e086fdd9ac4
Configuration menu - View commit details
-
Copy full SHA for 5924e5b - Browse repository at this point
Copy the full SHA 5924e5bView commit details -
Now that the min is 3.13 these policies don't need to be set manually anymore. CMP0054 - 3.1 CMP0063 - 3.3 CMP0069 - 3.9 CMP0077 - 3.13
Configuration menu - View commit details
-
Copy full SHA for efd8db1 - Browse repository at this point
Copy the full SHA efd8db1View commit details -
Merge pull request google#4290 from juan-lunarg:juan/cmake_version_cl…
…eanup PiperOrigin-RevId: 542045766 Change-Id: Ib6e0fffdbf1f41fb990603fe2af7c6d5df6b5640
Configuration menu - View commit details
-
Copy full SHA for fb11778 - Browse repository at this point
Copy the full SHA fb11778View commit details
Commits on Jun 21, 2023
-
cmake: Remove remaining checks for CMAKE_VERSION
Remove conditional code that doesn't need to exist anymore.
Configuration menu - View commit details
-
Copy full SHA for 812f35b - Browse repository at this point
Copy the full SHA 812f35bView commit details -
Merge pull request google#4293 from juan-lunarg:juan/fix_remaining_cm…
…ake_version PiperOrigin-RevId: 542299863 Change-Id: I51cf4a4f8d6a97e39e6c46f48fa6acf3bd0ab6b5
Configuration menu - View commit details
-
Copy full SHA for af39146 - Browse repository at this point
Copy the full SHA af39146View commit details
Commits on Jun 22, 2023
-
Update code examples in the gMock Cookbook following C++ best practices.
PiperOrigin-RevId: 542564354 Change-Id: Ia3307f13f845c662c88fb7303112f41ef8c56b28
Configuration menu - View commit details
-
Copy full SHA for ec4fed9 - Browse repository at this point
Copy the full SHA ec4fed9View commit details -
Fix typo in googletest-catch-exceptions-test.py
FITLER_OUT_SEH_TESTS_FLAG -> FILTER_OUT_SEH_TESTS_FLAG
Configuration menu - View commit details
-
Copy full SHA for 1361c77 - Browse repository at this point
Copy the full SHA 1361c77View commit details -
add support for nxp qn9090 mcu
Added additional defines to correctly detect the NXP QN9090 MCU platform and allow for native googletest compability.
Configuration menu - View commit details
-
Copy full SHA for e3d405f - Browse repository at this point
Copy the full SHA e3d405fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b2a2d36 - Browse repository at this point
Copy the full SHA b2a2d36View commit details
Commits on Jun 26, 2023
-
Merge pull request google#4301 from ciband:feat/qn9090
PiperOrigin-RevId: 543523833 Change-Id: I602373a321e2b8080264e3f418ef5b2254f615fb
Configuration menu - View commit details
-
Copy full SHA for 372e81d - Browse repository at this point
Copy the full SHA 372e81dView commit details
Commits on Jun 27, 2023
-
Merge pull request google#4300 from eltociear:patch-1
PiperOrigin-RevId: 543586460 Change-Id: I87ee05c4b77fb643a3381018568a4765d0a12b18
Configuration menu - View commit details
-
Copy full SHA for 8e32de8 - Browse repository at this point
Copy the full SHA 8e32de8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 091d7eb - Browse repository at this point
Copy the full SHA 091d7ebView commit details -
Resolve an issue where the resolution of
operator<<
overloads would…… attempt to instantiate the incomplete `testing::internal::Secret` type. PiperOrigin-RevId: 543799815 Change-Id: Ic0a4f48d825bef26cb8cc74d8a0117b3a5ef3f14
Configuration menu - View commit details
-
Copy full SHA for f269e15 - Browse repository at this point
Copy the full SHA f269e15View commit details
Commits on Jun 28, 2023
-
On platforms without a file system, don't log an error when no
alternative output format is requested. Fixes google#4299 PiperOrigin-RevId: 543932266 Change-Id: Ide78c313ecf6829e4910f4a8407275c81edb3848
Configuration menu - View commit details
-
Copy full SHA for 2acd538 - Browse repository at this point
Copy the full SHA 2acd538View commit details -
Print stack traces on SEH exceptions on Windows
Also tidies up a couple of things: - Prevent handling of stack overflows, which cannot be done safely - `exception_code` is a macro, so we rename it - The `std::string` heap allocation was unnecessary Fixes google#4298 PiperOrigin-RevId: 544117790 Change-Id: I8ba61f87119d5fbdb1f653700d9867ca6f8c28ce
Configuration menu - View commit details
-
Copy full SHA for 687c589 - Browse repository at this point
Copy the full SHA 687c589View commit details
Commits on Jun 29, 2023
-
Change
::testing
totesting
in Testing Reference docPiperOrigin-RevId: 544466397 Change-Id: Icb4d5fae38361cd75d47f908886831696eb2b1c9
Configuration menu - View commit details
-
Copy full SHA for 251e720 - Browse repository at this point
Copy the full SHA 251e720View commit details
Commits on Jun 30, 2023
-
Make GoogleTest handle SEH exceptions before stack unwinding rather t…
…han afterward This ensure the erroring stack frame is visible and accessible when the handler is invoked. Fixes google#4298 PiperOrigin-RevId: 544692549 Change-Id: Ia165a8c293e8edc820da5f5ad4416546fffe2493
Configuration menu - View commit details
-
Copy full SHA for 1f531be - Browse repository at this point
Copy the full SHA 1f531beView commit details
Commits on Jul 1, 2023
-
This was shown to work for C++14, C++17, and C++20 after patched into googletest for the protobuf repo's CI. Closes google#3659 PiperOrigin-RevId: 544795507 Change-Id: I3e0a94f675e78a6ee9aeccae86c23d940efed8eb
Configuration menu - View commit details
-
Copy full SHA for be03d00 - Browse repository at this point
Copy the full SHA be03d00View commit details
Commits on Jul 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3044657 - Browse repository at this point
Copy the full SHA 3044657View commit details
Commits on Jul 7, 2023
-
Update docstring of PrintWithFallback(..) to reflect the recently cha…
…nged ordering. PiperOrigin-RevId: 546373360 Change-Id: I2538b45d8c7710592071cc352da6771480c324e6
Configuration menu - View commit details
-
Copy full SHA for 4a1a299 - Browse repository at this point
Copy the full SHA 4a1a299View commit details
Commits on Jul 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c88e0b4 - Browse repository at this point
Copy the full SHA c88e0b4View commit details -
Merge pull request google#4308 from smr99:fix-float-cast
PiperOrigin-RevId: 547250378 Change-Id: I084c30e45f331cb296535822923da1cb7e848e11
Configuration menu - View commit details
-
Copy full SHA for cc36671 - Browse repository at this point
Copy the full SHA cc36671View commit details
Commits on Jul 18, 2023
-
Merge pull request google#4302 from ciband:feat/nrf52
PiperOrigin-RevId: 549006105 Change-Id: Ifbe2bf57e10df4c71e51dbfaf1687f4f621f5106
Configuration menu - View commit details
-
Copy full SHA for c541e7c - Browse repository at this point
Copy the full SHA c541e7cView commit details -
Merge pull request google#4313 from kimvaleen:main
PiperOrigin-RevId: 549039222 Change-Id: I96bea310beede5ba0ed6160155251ffd9d7a2103
Configuration menu - View commit details
-
Copy full SHA for d66ce58 - Browse repository at this point
Copy the full SHA d66ce58View commit details
Commits on Jul 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f014396 - Browse repository at this point
Copy the full SHA f014396View commit details -
Remove unused cast implementation
PiperOrigin-RevId: 549456180 Change-Id: I10862e6de981087a5c590cccf6152255e9a176a0
Configuration menu - View commit details
-
Copy full SHA for 1ed6a8c - Browse repository at this point
Copy the full SHA 1ed6a8cView commit details
Commits on Jul 21, 2023
-
Make
AbslStringify
usage public in GoogleTestFixes google#4314 PiperOrigin-RevId: 549986457 Change-Id: Iff74f02ab1c106696f288540e9c623d56b76e3f7
Configuration menu - View commit details
-
Copy full SHA for 01e1837 - Browse repository at this point
Copy the full SHA 01e1837View commit details
Commits on Jul 24, 2023
-
Merge pull request google#4317 from mrfeod:patch-1
PiperOrigin-RevId: 550585850 Change-Id: I727f74aeb6f1da5bbbf5a5f49f06c4cfea40a73b
Configuration menu - View commit details
-
Copy full SHA for 40412d8 - Browse repository at this point
Copy the full SHA 40412d8View commit details
Commits on Jul 28, 2023
-
Adjust includes to use <> instead of "", consistent with quickstart p…
…ages. Right now, gtest documentation uses different #include syntax. The quickstart pages (e.g., http://google.github.io/googletest/quickstart-bazel.html#create-and-run-a-binary) are checked in with `#include <gtest/gtest.h>` However, other documentation (such as the primer) uses `#include "gtest/gtest.h"` (e.g., https://google.github.io/googletest/primer.html#writing-the-main-function). PiperOrigin-RevId: 551878641 Change-Id: Iab93cc1da3ef4870a07b624071b75d6e9d3568c1
Configuration menu - View commit details
-
Copy full SHA for c875c4e - Browse repository at this point
Copy the full SHA c875c4eView commit details
Commits on Jul 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for efe6bb1 - Browse repository at this point
Copy the full SHA efe6bb1View commit details
Commits on Jul 31, 2023
-
Merge pull request google#4325 from juliencombattelli:main
PiperOrigin-RevId: 552577282 Change-Id: I2b4d20d155ad5746e36711c039293d5c996a332e
Configuration menu - View commit details
-
Copy full SHA for 6f6ab42 - Browse repository at this point
Copy the full SHA 6f6ab42View commit details
Commits on Aug 1, 2023
-
Update GoogleTest dependencies
PiperOrigin-RevId: 552912819 Change-Id: If1b6278f7fe5a8fc41fc3bc390356a94387d0091
Configuration menu - View commit details
-
Copy full SHA for 717d8ab - Browse repository at this point
Copy the full SHA 717d8abView commit details -
Make testing::Message support streamed AbslStringify values
This allows types that provide an AbslStringify definition to be streamed into GoogleTest macros. PiperOrigin-RevId: 552914482 Change-Id: I5fb386980d4d24873f95f0a8ef83067a6a3c86ac
Configuration menu - View commit details
-
Copy full SHA for e7fd109 - Browse repository at this point
Copy the full SHA e7fd109View commit details
Commits on Aug 2, 2023
-
Add googletest-message-test to the Bazel tests
It appears to have been unintentionally left out PiperOrigin-RevId: 553141410 Change-Id: I8adac55a3df0ec12d6fe03446f71858fc702e178
Configuration menu - View commit details
-
Copy full SHA for 58e37f7 - Browse repository at this point
Copy the full SHA 58e37f7View commit details -
Remove the GTEST_HAS_DOWNCAST_ customization point.
PiperOrigin-RevId: 553150809 Change-Id: I10d19a45a85c5f63a5e65dc322413307116e1c25
Configuration menu - View commit details
-
Copy full SHA for 96683ee - Browse repository at this point
Copy the full SHA 96683eeView commit details -
Bump version to v1.14 in preparation for release
PiperOrigin-RevId: 553152072 Change-Id: I0bfbb2da6b3902fc3e41a8e1c4aacb291ffdd098
Configuration menu - View commit details
-
Copy full SHA for f8d7d77 - Browse repository at this point
Copy the full SHA f8d7d77View commit details
Commits on Jan 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a474223 - Browse repository at this point
Copy the full SHA a474223View commit details -
Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 27c4483 - Browse repository at this point
Copy the full SHA 27c4483View commit details