summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update advanced.mdElior Schneider2023-08-201-1/+1
| | | http to https
* Merge branch 'google:main' into http-to-httpsElior Schneider2023-08-183-44/+28
|\
| * Improve error message for invalid parameterized test names.Abseil Team2023-08-171-1/+3
| | | | | | | | | | PiperOrigin-RevId: 557910190 Change-Id: Ia965a6c96e4cc5997d8af2611abc62c42e81653e
| * Merge pull request #4333 from ngie-eign:gtest_help_test-fix-FreeBSDCopybara-Service2023-08-151-3/+14
| |\ | | | | | | | | | | | | PiperOrigin-RevId: 557197748 Change-Id: I55b86353f5351bbcbdf8e6bca70e82d7383a5080
| | * Fix GTestHelpTest.TestHelpFlag on FreeBSDrefs/pull/4333/headEnji Cooper2023-08-081-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | The test supported a variety of BSDs, including kFreeBSD, but not FreeBSD. Move the BSD checks to a separate function and support checking for FreeBSD, in addition to kFreeBSD. Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
| * | gtest_help_test: Make method names `snake_case`, conforming with [the style ↵Dino Radakovic2023-08-151-7/+7
| | | | | | | | | | | | | | | | | | | | | guide](https://google.github.io/styleguide/pyguide#316-naming) PiperOrigin-RevId: 557133618 Change-Id: I27202ee91ee81b3d2e4c28102190d2bde8efba05
| * | gtest_help_test: Inline test helper functionsDino Radakovic2023-08-151-23/+7
| | | | | | | | | | | | | | | | | | | | | `TestNonHelpFlag` is only a few asserts with no logic, which is easier to read in line, and helper `TestHelpFlag` is used in a single test case. PiperOrigin-RevId: 557122793 Change-Id: I7367424abfbb883c10c260fae066a2071e5dfa0e
| * | Merge pull request #4334 from ngie-eign:fix-RETest-non-ABSLCopybara-Service2023-08-151-2/+2
| |\ \ | | | | | | | | | | | | | | | | PiperOrigin-RevId: 557122083 Change-Id: I77fb7fe99baf9cbf341ad37d4b651a0ac606b549
| | * | Fix RETest/1.ImplicitConstructorWorks on non-ABSL platformsrefs/pull/4334/headEnji Cooper2023-08-081-2/+2
| | |/ | | | | | | | | | | | | | | | | | | | | | The last regular expression specified in the test is not technically POSIX compatible. Use `[[:alnum:]_]` instead of `\w+`; the latter is a Perl-compatible regular expression. Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
| * | gtest_help_test: Delete obsolete helper `TestUnknownFlagWithAbseil`Dino Radakovic2023-08-151-13/+0
| | | | | | | | | | | | | | | PiperOrigin-RevId: 557116814 Change-Id: I91e06b0d6001952366c50201b67491475a1f98af
* | | Changed 2 public links from http to httpssthd2023-08-111-2/+2
| | |
* | | Changed 3 public links from http to httpssthd2023-08-111-3/+3
| | |
* | | Changed 2 public links from http to httpssthd2023-08-111-2/+2
| | |
* | | Changed 3 public links from http to httpssthd2023-08-111-3/+3
|/ /
* | Specify SetUpTestSuite is required to be public.Abseil Team2023-08-101-4/+4
| | | | | | | | | | PiperOrigin-RevId: 555578256 Change-Id: I9366fc99ae953c29e468fcddb4be203c9c05661b
* | Merge pull request #4330 from IncludeGuardian:remove-iomanipCopybara-Service2023-08-082-6/+4
|\ \ | | | | | | | | | | | | PiperOrigin-RevId: 554867591 Change-Id: Ib32da50384951532419cb54fb70f8ab0920178d7
| * | Remove public includes of `<iomanip>`refs/pull/4330/headElliot Goodrich2023-08-032-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit removes `<iomanip>` from public GoogleTest header files. As `<iomanip>` is not a common included file, its content is unlikely to be included in translation units other than through GoogleTest includes. By reducing the number of include directives public headers in GoogleTest, this may reduce the time taken to compile tests as it would reduce the amount of work that the preprocessor and compiler front-end need to do.
* | | Merge pull request #4328 from robert-shade:suppress_unreachable_warningCopybara-Service2023-08-071-1/+7
|\ \ \ | |_|/ |/| | | | | | | | PiperOrigin-RevId: 554578443 Change-Id: Ib5b03605c30fc2974b9597860577ff89532eedcd
| * | Avoid unreachable code warningrefs/pull/4328/headRobert Shade2023-08-021-1/+7
| | |
* | | Make references to `#include`s consistent across docsDino Radakovic2023-08-073-4/+3
| | | | | | | | | | | | | | | PiperOrigin-RevId: 554561504 Change-Id: Ia02ab6ac646bf6637d6f500a4aaedd14e0a04798
* | | Merge pull request #4323 from ↵Copybara-Service2023-08-031-1/+1
|\ \ \ | |/ / |/| | | | | | | | | | | | | | pgawro:gtest_ExpectThrowTest_DoesNotGenerateUnreachableCodeWarning PiperOrigin-RevId: 553485739 Change-Id: I6581215e6db514397177af39381eea4d121f32bd
| * | gtest: Supress warning about set unused variablerefs/pull/4323/headPatryk Gawroński2023-07-261-1/+1
| | | | | | | | | | | | Modified test ExpectThrowTest.DoesNotGenerateUnreachableCodeWarning
* | | Update documentation to refer to v1.14Derek Mauro2023-08-022-5/+5
| | | | | | | | | | | | | | | PiperOrigin-RevId: 553172719 Change-Id: Ie09afa3788c8ed5c95913d8ca0b436f1df28241a
* | | Bump version to v1.14 in preparation for releasev1.14.0-prev1.14.0v1.14.xDerek Mauro2023-08-021-1/+1
| | | | | | | | | | | | | | | PiperOrigin-RevId: 553152072 Change-Id: I0bfbb2da6b3902fc3e41a8e1c4aacb291ffdd098
* | | Remove the GTEST_HAS_DOWNCAST_ customization point.Derek Mauro2023-08-021-14/+4
| | | | | | | | | | | | | | | PiperOrigin-RevId: 553150809 Change-Id: I10d19a45a85c5f63a5e65dc322413307116e1c25
* | | Add googletest-message-test to the Bazel testsDerek Mauro2023-08-021-0/+1
| | | | | | | | | | | | | | | | | | | | | It appears to have been unintentionally left out PiperOrigin-RevId: 553141410 Change-Id: I8adac55a3df0ec12d6fe03446f71858fc702e178
* | | Make testing::Message support streamed AbslStringify valuesPhoebe Liang2023-08-012-2/+57
| | | | | | | | | | | | | | | | | | | | | This allows types that provide an AbslStringify definition to be streamed into GoogleTest macros. PiperOrigin-RevId: 552914482 Change-Id: I5fb386980d4d24873f95f0a8ef83067a6a3c86ac
* | | Update GoogleTest dependenciesDerek Mauro2023-08-012-20/+20
| | | | | | | | | | | | | | | PiperOrigin-RevId: 552912819 Change-Id: If1b6278f7fe5a8fc41fc3bc390356a94387d0091
* | | Merge pull request #4325 from juliencombattelli:mainCopybara-Service2023-07-311-1/+1
|\ \ \ | | | | | | | | | | | | | | | | PiperOrigin-RevId: 552577282 Change-Id: I2b4d20d155ad5746e36711c039293d5c996a332e
| * | | Use #if and not #ifdef to check filesystem supportrefs/pull/4325/headJulien Combattelli2023-07-291-1/+1
| |/ /
* | | Adjust includes to use <> instead of "", consistent with quickstart pages.Abseil Team2023-07-286-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
* | Merge pull request #4317 from mrfeod:patch-1Copybara-Service2023-07-241-2/+2
|\ \ | | | | | | | | | | | | PiperOrigin-RevId: 550585850 Change-Id: I727f74aeb6f1da5bbbf5a5f49f06c4cfea40a73b
| * | Fix typo in gmock_cook_book.mdrefs/pull/4317/headAnton Sosnin2023-07-191-2/+2
| | |
* | | Make `AbslStringify` usage public in GoogleTestAbseil Team2023-07-212-0/+50
| | | | | | | | | | | | | | | | | | | | | Fixes #4314 PiperOrigin-RevId: 549986457 Change-Id: Iff74f02ab1c106696f288540e9c623d56b76e3f7
* | | Remove unused cast implementationDerek Mauro2023-07-191-41/+0
|/ / | | | | | | | | PiperOrigin-RevId: 549456180 Change-Id: I10862e6de981087a5c590cccf6152255e9a176a0
* | Merge pull request #4313 from kimvaleen:mainCopybara-Service2023-07-182-15/+16
|\ \ | | | | | | | | | | | | PiperOrigin-RevId: 549039222 Change-Id: I96bea310beede5ba0ed6160155251ffd9d7a2103
| * | Fixed variables that could be declared 'const'refs/pull/4313/headkimvaleen2023-07-112-2/+2
| | |
* | | Merge pull request #4302 from ciband:feat/nrf52Copybara-Service2023-07-185-5/+11
|\ \ \ | |_|/ |/| | | | | | | | PiperOrigin-RevId: 549006105 Change-Id: Ifbe2bf57e10df4c71e51dbfaf1687f4f621f5106
| * | add support for nrf52refs/pull/4302/headChris Johnson2023-06-275-5/+9
| | | | | | | | | | | | Added support for Nordic nRF52 series of MCUs
* | | Merge pull request #4308 from smr99:fix-float-castCopybara-Service2023-07-111-2/+2
|\ \ \ | |_|/ |/| | | | | | | | PiperOrigin-RevId: 547250378 Change-Id: I084c30e45f331cb296535822923da1cb7e848e11
| * | Use template type FloatType in the cast.refs/pull/4308/headSteve Robbins2023-07-041-2/+2
| | |
* | | Update docstring of PrintWithFallback(..) to reflect the recently changed ↵Abseil Team2023-07-071-1/+1
|/ / | | | | | | | | | | | | ordering. PiperOrigin-RevId: 546373360 Change-Id: I2538b45d8c7710592071cc352da6771480c324e6
* | Fix C++20 compatibility bug.Mike Kruskal2023-07-013-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
* | Make GoogleTest handle SEH exceptions before stack unwinding rather than ↵Abseil Team2023-06-302-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
* | Change `::testing` to `testing` in Testing Reference docAbseil Team2023-06-291-35/+35
| | | | | | | | | | PiperOrigin-RevId: 544466397 Change-Id: Icb4d5fae38361cd75d47f908886831696eb2b1c9
* | Print stack traces on SEH exceptions on WindowsAbseil Team2023-06-281-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
* | On platforms without a file system, don't log an error when noDerek Mauro2023-06-281-2/+4
| | | | | | | | | | | | | | | | | | alternative output format is requested. Fixes #4299 PiperOrigin-RevId: 543932266 Change-Id: Ide78c313ecf6829e4910f4a8407275c81edb3848
* | Resolve an issue where the resolution of `operator<<` overloads would ↵Abseil Team2023-06-272-2/+20
| | | | | | | | | | | | | | attempt to instantiate the incomplete `testing::internal::Secret` type. PiperOrigin-RevId: 543799815 Change-Id: Ic0a4f48d825bef26cb8cc74d8a0117b3a5ef3f14
* | Merge pull request #4300 from eltociear:patch-1Copybara-Service2023-06-271-2/+2
|\ \ | |/ |/| | | | | PiperOrigin-RevId: 543586460 Change-Id: I87ee05c4b77fb643a3381018568a4765d0a12b18
| * Fix typo in googletest-catch-exceptions-test.pyrefs/pull/4300/headIkko Eltociear Ashimine2023-06-221-2/+2
| | | | | | FITLER_OUT_SEH_TESTS_FLAG -> FILTER_OUT_SEH_TESTS_FLAG