aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-08-02Bump version to v1.14 in preparation for releasev1.14.0-prev1.14.0v1.14.xDerek Mauro1-1/+1
PiperOrigin-RevId: 553152072 Change-Id: I0bfbb2da6b3902fc3e41a8e1c4aacb291ffdd098
2023-08-02Remove the GTEST_HAS_DOWNCAST_ customization point.Derek Mauro1-14/+4
PiperOrigin-RevId: 553150809 Change-Id: I10d19a45a85c5f63a5e65dc322413307116e1c25
2023-08-02Add googletest-message-test to the Bazel testsDerek Mauro1-0/+1
It appears to have been unintentionally left out PiperOrigin-RevId: 553141410 Change-Id: I8adac55a3df0ec12d6fe03446f71858fc702e178
2023-08-01Make testing::Message support streamed AbslStringify valuesPhoebe Liang2-2/+57
This allows types that provide an AbslStringify definition to be streamed into GoogleTest macros. PiperOrigin-RevId: 552914482 Change-Id: I5fb386980d4d24873f95f0a8ef83067a6a3c86ac
2023-08-01Update GoogleTest dependenciesDerek Mauro2-20/+20
PiperOrigin-RevId: 552912819 Change-Id: If1b6278f7fe5a8fc41fc3bc390356a94387d0091
2023-07-31Merge pull request #4325 from juliencombattelli:mainCopybara-Service1-1/+1
PiperOrigin-RevId: 552577282 Change-Id: I2b4d20d155ad5746e36711c039293d5c996a332e
2023-07-29Use #if and not #ifdef to check filesystem supportJulien Combattelli1-1/+1
2023-07-28Adjust includes to use <> instead of "", consistent with quickstart pages.Abseil Team6-8/+8
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
2023-07-24Merge pull request #4317 from mrfeod:patch-1Copybara-Service1-2/+2
PiperOrigin-RevId: 550585850 Change-Id: I727f74aeb6f1da5bbbf5a5f49f06c4cfea40a73b
2023-07-21Make `AbslStringify` usage public in GoogleTestAbseil Team2-0/+50
Fixes #4314 PiperOrigin-RevId: 549986457 Change-Id: Iff74f02ab1c106696f288540e9c623d56b76e3f7
2023-07-19Remove unused cast implementationDerek Mauro1-41/+0
PiperOrigin-RevId: 549456180 Change-Id: I10862e6de981087a5c590cccf6152255e9a176a0
2023-07-19Fix typo in gmock_cook_book.mdAnton Sosnin1-2/+2
2023-07-18Merge pull request #4313 from kimvaleen:mainCopybara-Service2-15/+16
PiperOrigin-RevId: 549039222 Change-Id: I96bea310beede5ba0ed6160155251ffd9d7a2103
2023-07-18Merge pull request #4302 from ciband:feat/nrf52Copybara-Service5-5/+11
PiperOrigin-RevId: 549006105 Change-Id: Ifbe2bf57e10df4c71e51dbfaf1687f4f621f5106
2023-07-11Merge pull request #4308 from smr99:fix-float-castCopybara-Service1-2/+2
PiperOrigin-RevId: 547250378 Change-Id: I084c30e45f331cb296535822923da1cb7e848e11
2023-07-11Fixed variables that could be declared 'const'kimvaleen2-2/+2
2023-07-07Update docstring of PrintWithFallback(..) to reflect the recently changed ↵Abseil Team1-1/+1
ordering. PiperOrigin-RevId: 546373360 Change-Id: I2538b45d8c7710592071cc352da6771480c324e6
2023-07-03Use template type FloatType in the cast.Steve Robbins1-2/+2
2023-06-30Fix C++20 compatibility bug.Mike Kruskal3-8/+8
This was shown to work for C++14, C++17, and C++20 after patched into googletest for the protobuf repo's CI. Closes #3659 PiperOrigin-RevId: 544795507 Change-Id: I3e0a94f675e78a6ee9aeccae86c23d940efed8eb
2023-06-30Make GoogleTest handle SEH exceptions before stack unwinding rather than ↵Abseil Team2-46/+27
afterward This ensure the erroring stack frame is visible and accessible when the handler is invoked. Fixes #4298 PiperOrigin-RevId: 544692549 Change-Id: Ia165a8c293e8edc820da5f5ad4416546fffe2493
2023-06-29Change `::testing` to `testing` in Testing Reference docAbseil Team1-35/+35
PiperOrigin-RevId: 544466397 Change-Id: Icb4d5fae38361cd75d47f908886831696eb2b1c9
2023-06-28Print stack traces on SEH exceptions on WindowsAbseil Team1-18/+21
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 #4298 PiperOrigin-RevId: 544117790 Change-Id: I8ba61f87119d5fbdb1f653700d9867ca6f8c28ce
2023-06-27On platforms without a file system, don't log an error when noDerek Mauro1-2/+4
alternative output format is requested. Fixes #4299 PiperOrigin-RevId: 543932266 Change-Id: Ide78c313ecf6829e4910f4a8407275c81edb3848
2023-06-27Resolve an issue where the resolution of `operator<<` overloads would ↵Abseil Team2-2/+20
attempt to instantiate the incomplete `testing::internal::Secret` type. PiperOrigin-RevId: 543799815 Change-Id: Ic0a4f48d825bef26cb8cc74d8a0117b3a5ef3f14
2023-06-27add support for nrf52Chris Johnson5-5/+9
Added support for Nordic nRF52 series of MCUs
2023-06-26Merge pull request #4300 from eltociear:patch-1Copybara-Service1-2/+2
PiperOrigin-RevId: 543586460 Change-Id: I87ee05c4b77fb643a3381018568a4765d0a12b18
2023-06-26Merge pull request #4301 from ciband:feat/qn9090Copybara-Service3-3/+6
PiperOrigin-RevId: 543523833 Change-Id: I602373a321e2b8080264e3f418ef5b2254f615fb
2023-06-22Merge branch 'google:main' into feat/qn9090Chris Johnson17-199/+151
2023-06-22add support for nxp qn9090 mcuChris Johnson3-3/+6
Added additional defines to correctly detect the NXP QN9090 MCU platform and allow for native googletest compability.
2023-06-23Fix typo in googletest-catch-exceptions-test.pyIkko Eltociear Ashimine1-2/+2
FITLER_OUT_SEH_TESTS_FLAG -> FILTER_OUT_SEH_TESTS_FLAG
2023-06-22Update code examples in the gMock Cookbook following C++ best practices.Abseil Team1-22/+24
PiperOrigin-RevId: 542564354 Change-Id: Ia3307f13f845c662c88fb7303112f41ef8c56b28
2023-06-21Merge pull request #4293 from juan-lunarg:juan/fix_remaining_cmake_versionCopybara-Service3-80/+37
PiperOrigin-RevId: 542299863 Change-Id: I51cf4a4f8d6a97e39e6c46f48fa6acf3bd0ab6b5
2023-06-20cmake: Remove remaining checks for CMAKE_VERSIONJuan Ramos3-78/+35
Remove conditional code that doesn't need to exist anymore.
2023-06-20Merge pull request #4290 from juan-lunarg:juan/cmake_version_cleanupCopybara-Service3-26/+0
PiperOrigin-RevId: 542045766 Change-Id: Ib6e0fffdbf1f41fb990603fe2af7c6d5df6b5640
2023-06-20cmake: Clean up policy codeJuan Ramos3-26/+0
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
2023-06-20Merge pull request #4282 from zencatalyst:patch-1Copybara-Service1-4/+4
PiperOrigin-RevId: 541940311 Change-Id: I953d347f0041dfcacc2bff9cc1b19e086fdd9ac4
2023-06-20Merge pull request #4288 from juan-lunarg:juan/cmake_min_3_dot_6Copybara-Service4-18/+8
PiperOrigin-RevId: 541929012 Change-Id: I90423820611c2b6a6f81fe3f9ec2d23992ffbed1
2023-06-20Merge pull request #4286 from ryandesign:patch-1Copybara-Service1-3/+3
PiperOrigin-RevId: 541928566 Change-Id: I72437cb3a06f2af7220b247c6c136a38c5f1089c
2023-06-19cmake: Raise min to 3.6Juan Ramos4-18/+8
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
2023-06-19Change C++11 requirement to C++14Ryan Schmidt1-3/+3
Version 1.13.x and later require C++14. Also fix missing closing backtick.
2023-06-16Merge pull request #4267 from niranjan-nilakantan:niranjan-nilakantan/issue4266Copybara-Service1-0/+4
PiperOrigin-RevId: 540901148 Change-Id: Ifd4c4a6d37e9bf7ff63470be401f94d2bb530c22
2023-06-16Update README.mdKasra Hashemi1-4/+4
Fixed punctuation issues
2023-06-15Allow clients to un-suppress output from gUnit EXPECT_EXIT tests.Abseil Team4-6/+9
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
2023-06-14Skip entire test suite with `GTEST_SKIP()` in `SetUpTestSuite`Dino Radakovic3-4/+21
Fixes #4273 PiperOrigin-RevId: 540254167 Change-Id: I2555740d10284223539035bf73f88554fcf73f8a
2023-06-12Merge pull request #4188 from Mizzrym1:componentCopybara-Service2-0/+6
PiperOrigin-RevId: 539684886 Change-Id: Ie7f4175ad413fdb82d265374a4aca9fad23571f5
2023-06-09internal g3doc documentation change.Abseil Team1-1/+1
PiperOrigin-RevId: 539134110 Change-Id: I28041f77e18bc67aa0ffabdc7205e350deed22c8
2023-06-06Merge pull request #4269 from elupus:patch-3Copybara-Service1-2/+2
PiperOrigin-RevId: 538253216 Change-Id: Ib4bc90974f92939f884d6b5927f8bf37aac4d2c7
2023-06-05Merge pull request #4260 from pratyush3757:readme_table_fixCopybara-Service1-34/+33
PiperOrigin-RevId: 537887202 Change-Id: I4a52ec0da24f043eba0aa1a9d7945066c799ce8a
2023-06-02Check for file system for current directoryJoakim Plate1-2/+2
Check for current directory instead of death test to get original directory. A port may support filesystems but not death tests.
2023-06-02change table to unordered listPro37571-34/+32