sthd
8ca57f194a
Changed 2 public links from http to https
1 year ago
sthd
5b5ef29950
Changed 3 public links from http to https
1 year ago
sthd
622ee5cf29
Changed 2 public links from http to https
1 year ago
sthd
619601c5e2
Changed 3 public links from http to https
1 year ago
Abseil Team
7e33b6a1c4
Specify SetUpTestSuite is required to be public.
...
PiperOrigin-RevId: 555578256
Change-Id: I9366fc99ae953c29e468fcddb4be203c9c05661b
1 year ago
Copybara-Service
89b25572db
Merge pull request #4330 from IncludeGuardian:remove-iomanip
...
PiperOrigin-RevId: 554867591
Change-Id: Ib32da50384951532419cb54fb70f8ab0920178d7
1 year ago
Enji Cooper
77485ff004
Fix RETest/1.ImplicitConstructorWorks on non-ABSL platforms
...
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>
1 year ago
Enji Cooper
22eb2de1ef
Fix GTestHelpTest.TestHelpFlag on FreeBSD
...
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>
1 year ago
Copybara-Service
46db91ef6f
Merge pull request #4328 from robert-shade:suppress_unreachable_warning
...
PiperOrigin-RevId: 554578443
Change-Id: Ib5b03605c30fc2974b9597860577ff89532eedcd
1 year ago
Dino Radakovic
6abc9e3d79
Make references to `#include`s consistent across docs
...
PiperOrigin-RevId: 554561504
Change-Id: Ia02ab6ac646bf6637d6f500a4aaedd14e0a04798
1 year ago
Elliot Goodrich
9ef5e82269
Remove public includes of `<iomanip>`
...
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.
1 year ago
Copybara-Service
455fcb7773
Merge pull request #4323 from pgawro:gtest_ExpectThrowTest_DoesNotGenerateUnreachableCodeWarning
...
PiperOrigin-RevId: 553485739
Change-Id: I6581215e6db514397177af39381eea4d121f32bd
1 year ago
Robert Shade
429432e341
Avoid unreachable code warning
1 year ago
Derek Mauro
843976e4f5
Update documentation to refer to v1.14
...
PiperOrigin-RevId: 553172719
Change-Id: Ie09afa3788c8ed5c95913d8ca0b436f1df28241a
1 year ago
Derek Mauro
f8d7d77c06
Bump version to v1.14 in preparation for release
...
PiperOrigin-RevId: 553152072
Change-Id: I0bfbb2da6b3902fc3e41a8e1c4aacb291ffdd098
1 year ago
Derek Mauro
96683ee668
Remove the GTEST_HAS_DOWNCAST_ customization point.
...
PiperOrigin-RevId: 553150809
Change-Id: I10d19a45a85c5f63a5e65dc322413307116e1c25
1 year ago
Derek Mauro
58e37f7e99
Add googletest-message-test to the Bazel tests
...
It appears to have been unintentionally left out
PiperOrigin-RevId: 553141410
Change-Id: I8adac55a3df0ec12d6fe03446f71858fc702e178
1 year ago
Phoebe Liang
e7fd109b53
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
1 year ago
Derek Mauro
717d8ab5e0
Update GoogleTest dependencies
...
PiperOrigin-RevId: 552912819
Change-Id: If1b6278f7fe5a8fc41fc3bc390356a94387d0091
1 year ago
Copybara-Service
6f6ab4212a
Merge pull request #4325 from juliencombattelli:main
...
PiperOrigin-RevId: 552577282
Change-Id: I2b4d20d155ad5746e36711c039293d5c996a332e
1 year ago
Julien Combattelli
efe6bb1db8
Use #if and not #ifdef to check filesystem support
1 year ago
Abseil Team
c875c4e224
Adjust includes to use <> instead of "", consistent with quickstart pages.
...
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
1 year ago
Patryk Gawroński
2f83a6e8f8
gtest: Supress warning about set unused variable
...
Modified test ExpectThrowTest.DoesNotGenerateUnreachableCodeWarning
1 year ago
Copybara-Service
40412d8512
Merge pull request #4317 from mrfeod:patch-1
...
PiperOrigin-RevId: 550585850
Change-Id: I727f74aeb6f1da5bbbf5a5f49f06c4cfea40a73b
1 year ago
Abseil Team
01e18376ef
Make `AbslStringify` usage public in GoogleTest
...
Fixes #4314
PiperOrigin-RevId: 549986457
Change-Id: Iff74f02ab1c106696f288540e9c623d56b76e3f7
1 year ago
Derek Mauro
1ed6a8c67a
Remove unused cast implementation
...
PiperOrigin-RevId: 549456180
Change-Id: I10862e6de981087a5c590cccf6152255e9a176a0
1 year ago
Anton Sosnin
f014396910
Fix typo in gmock_cook_book.md
1 year ago
Copybara-Service
d66ce58510
Merge pull request #4313 from kimvaleen:main
...
PiperOrigin-RevId: 549039222
Change-Id: I96bea310beede5ba0ed6160155251ffd9d7a2103
1 year ago
Copybara-Service
c541e7c110
Merge pull request #4302 from ciband:feat/nrf52
...
PiperOrigin-RevId: 549006105
Change-Id: Ifbe2bf57e10df4c71e51dbfaf1687f4f621f5106
1 year ago
Copybara-Service
cc366710bb
Merge pull request #4308 from smr99:fix-float-cast
...
PiperOrigin-RevId: 547250378
Change-Id: I084c30e45f331cb296535822923da1cb7e848e11
1 year ago
kimvaleen
c88e0b4673
Fixed variables that could be declared 'const'
1 year ago
Abseil Team
4a1a299b20
Update docstring of PrintWithFallback(..) to reflect the recently changed ordering.
...
PiperOrigin-RevId: 546373360
Change-Id: I2538b45d8c7710592071cc352da6771480c324e6
1 year ago
Steve Robbins
3044657e7a
Use template type FloatType in the cast.
1 year ago
Mike Kruskal
be03d00f5f
Fix C++20 compatibility bug.
...
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
1 year ago
Abseil Team
1f531be3a1
Make GoogleTest handle SEH exceptions before stack unwinding rather than afterward
...
This ensure the erroring stack frame is visible and accessible when the handler is invoked.
Fixes #4298
PiperOrigin-RevId: 544692549
Change-Id: Ia165a8c293e8edc820da5f5ad4416546fffe2493
1 year ago
Abseil Team
251e720391
Change `::testing` to `testing` in Testing Reference doc
...
PiperOrigin-RevId: 544466397
Change-Id: Icb4d5fae38361cd75d47f908886831696eb2b1c9
1 year ago
Abseil Team
687c589949
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 #4298
PiperOrigin-RevId: 544117790
Change-Id: I8ba61f87119d5fbdb1f653700d9867ca6f8c28ce
1 year ago
Derek Mauro
2acd538244
On platforms without a file system, don't log an error when no
...
alternative output format is requested.
Fixes #4299
PiperOrigin-RevId: 543932266
Change-Id: Ide78c313ecf6829e4910f4a8407275c81edb3848
1 year ago
Abseil Team
f269e15c5c
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
1 year ago
Chris Johnson
091d7eb897
add support for nrf52
...
Added support for Nordic nRF52 series of MCUs
1 year ago
Copybara-Service
8e32de89cf
Merge pull request #4300 from eltociear:patch-1
...
PiperOrigin-RevId: 543586460
Change-Id: I87ee05c4b77fb643a3381018568a4765d0a12b18
1 year ago
Copybara-Service
372e81d814
Merge pull request #4301 from ciband:feat/qn9090
...
PiperOrigin-RevId: 543523833
Change-Id: I602373a321e2b8080264e3f418ef5b2254f615fb
1 year ago
Chris Johnson
b2a2d36f3a
Merge branch 'google:main' into feat/qn9090
1 year ago
Chris Johnson
e3d405f62b
add support for nxp qn9090 mcu
...
Added additional defines to correctly detect the NXP QN9090 MCU platform
and allow for native googletest compability.
1 year ago
Ikko Eltociear Ashimine
1361c77c4d
Fix typo in googletest-catch-exceptions-test.py
...
FITLER_OUT_SEH_TESTS_FLAG -> FILTER_OUT_SEH_TESTS_FLAG
1 year ago
Abseil Team
ec4fed9321
Update code examples in the gMock Cookbook following C++ best practices.
...
PiperOrigin-RevId: 542564354
Change-Id: Ia3307f13f845c662c88fb7303112f41ef8c56b28
1 year ago
Copybara-Service
af39146b45
Merge pull request #4293 from juan-lunarg:juan/fix_remaining_cmake_version
...
PiperOrigin-RevId: 542299863
Change-Id: I51cf4a4f8d6a97e39e6c46f48fa6acf3bd0ab6b5
1 year ago
Juan Ramos
812f35b26b
cmake: Remove remaining checks for CMAKE_VERSION
...
Remove conditional code that doesn't need to exist anymore.
1 year ago
Copybara-Service
fb11778f43
Merge pull request #4290 from juan-lunarg:juan/cmake_version_cleanup
...
PiperOrigin-RevId: 542045766
Change-Id: Ib6e0fffdbf1f41fb990603fe2af7c6d5df6b5640
1 year ago
Juan Ramos
efd8db1627
cmake: Clean up policy code
...
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
1 year ago