Copybara-Service
6d71d901e1
Merge pull request #4037 from KloolK:patch-1
...
PiperOrigin-RevId: 481734961
Change-Id: I629dc1ca3b10bf5fc6afc179b651a09081f5c919
2022-10-17 14:08:04 -07:00
Dino Radakovic
88c59752c0
Add Windows CI script
...
PiperOrigin-RevId: 481680362
Change-Id: I87b2b71427a8ad2603f5445d6ef794c3fa84746e
2022-10-17 10:39:48 -07:00
Derek Mauro
a9b2f0495c
Use attribute testing to simplify portable attribute macros
...
Fixes #4025
PiperOrigin-RevId: 481186097
Change-Id: Id7d09e4626e5ccf564e8cfaa65581c1cd827918d
2022-10-14 11:00:40 -07:00
Abseil Team
137b6e2770
Terse printing of std::reference_wrapper hides pointer
...
This matches the intention and documentation of terse printing which generally avoids printing the pointer.
PiperOrigin-RevId: 481178950
Change-Id: I27039dac1870934d2d5b212e2cc7e97ab82c5b34
2022-10-14 10:32:49 -07:00
Jan
a41c3d0fb8
Fix table markup in testing.md
2022-10-14 09:12:51 +02:00
Copybara-Service
67174c7675
Merge pull request #4035 from Vertexwahn:update-deps
...
PiperOrigin-RevId: 480696284
Change-Id: I633043f29883583efda7fa5a6dff754d096d6f7a
2022-10-12 13:02:05 -07:00
Abseil Team
d29b143bda
Workaround for Visual C++ error C2039 with std::tuple_element_t.
...
Fixes #3931
PiperOrigin-RevId: 480659507
Change-Id: I6fabef63b1285189a06375227273d9de2456e37a
2022-10-12 10:31:07 -07:00
Copybara-Service
d9bb8412d6
Merge pull request #4032 from Ferenc-:suggest-fixed-version
...
PiperOrigin-RevId: 480170766
Change-Id: Id596e5698bea789e431f7a50d4a662ffa7b5d9aa
2022-10-10 13:58:48 -07:00
Ferenc Géczi
671cfb7dbf
Suggests a release with fixed CMakeLists.txt
...
Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2022-10-09 16:47:19 +00:00
Vertexwahn
0231584a60
Update rules_python, bazel_skylib and platfroms
2022-10-08 13:33:18 +02:00
Abseil Team
9fbb657503
Update the POSIX Extended section of the Regular Expression Wikipedia page
...
PiperOrigin-RevId: 479667644
Change-Id: I4ab03bd5f0520f8586667de8bd1b9443f241337a
2022-10-07 14:21:04 -07:00
Abseil Team
67e264834a
[fuchsia] Use __builtin_trap to trigger gunit_break_on_failure on non-x86 arch
...
In developing tests for the fuchsia debugger, it was found that in addition to catching gtest failures (which are implemented as software breakpoints) we also see PageFault exceptions, caused by this nullptr dereference.
PiperOrigin-RevId: 479365782
Change-Id: I84d805d94c2e46b6f3c982ca1ae49c6ac3ed3430
2022-10-06 11:22:36 -07:00
Abseil Team
08935483cb
Makes Clang compilations via Ninja on Windows define _DLL only for shared CRT builds, as one would already expect from MSVC builds. (Previously, static Clang/Ninja builds on Windows also implicitly defined _DLL, which was problematic.)
...
PiperOrigin-RevId: 479113168
Change-Id: I252d9be90fd33df75dab922e62b197208830d124
2022-10-05 12:27:31 -07:00
Copybara-Service
4052e05c29
Merge pull request #4020 from cclauss:patch-1
...
PiperOrigin-RevId: 478883171
Change-Id: I29c57a554000d051290bb66660fcf6132027f963
2022-10-04 14:25:21 -07:00
Copybara-Service
8c4dc11539
Merge pull request #3967 from BMBurstein:custom_type_combine
...
PiperOrigin-RevId: 478775323
Change-Id: I92231bb8edd8e01b9b7cbe445c43dcf84f458521
2022-10-04 07:06:58 -07:00
Abseil Team
93f08be653
Uses a simpler mechanism to disable the copying of GoogleTest test suites, to move code out of the TEST_P macro.
...
PiperOrigin-RevId: 478031678
Change-Id: I45f0ce17a4add526c86b8212d836d98d63b3a193
2022-09-30 10:55:15 -07:00
Baruch
79d0399dba
Merge branch 'google:main' into custom_type_combine
2022-09-29 14:53:55 +03:00
Abseil Team
d1a0039b97
Rollback: Moves boilerplate disabling copy constructor/assignment from GoogleTest's TEST_P macro into a header file to avoid triggering warnings in user code.
...
PiperOrigin-RevId: 477566426
Change-Id: Ia417e295d839f43be6e61a5699457866108f2a01
2022-09-28 15:24:50 -07:00
Abseil Team
19387c9dd5
Rollback: Uses a simpler mechanism to disable the copying of GoogleTest test suites.
...
PiperOrigin-RevId: 477560280
Change-Id: I1c1f5a1d6645859ec38cb1a75cd267816d2aff35
2022-09-28 14:59:04 -07:00
Abseil Team
c43b916a96
Uses a simpler mechanism to disable the copying of GoogleTest test suites.
...
PiperOrigin-RevId: 477549427
Change-Id: I6421ca09f0f1296cebdc3e54565049f1542dfa8a
2022-09-28 14:14:58 -07:00
Abseil Team
4924e0610a
Moves boilerplate disabling copy constructor/assignment from GoogleTest's TEST_P macro into a header file to avoid triggering warnings in user code.
...
Fixes #4015
PiperOrigin-RevId: 477513399
Change-Id: Ia21928ee12e85946b4c8db86835d225cb257eecc
2022-09-28 11:55:57 -07:00
Baruch
24683e2d6a
Merge branch 'google:main' into custom_type_combine
2022-09-28 11:32:21 +03:00
Copybara-Service
e23cdb78e9
Merge pull request #4016 from Maratyszcza:qurt
...
PiperOrigin-RevId: 477265396
Change-Id: I781dae4ef2c5b6c771d960f1ec5a3c5cff0e97ad
2022-09-27 13:49:56 -07:00
Abseil Team
dfa6735236
Add GoogleTest workaround for MSVC crash with Address Sanitizer (ASAN) on version 17.3.3
...
PiperOrigin-RevId: 477240422
Change-Id: I894037850617252e462783c0885e30fc8e7ad122
2022-09-27 12:09:46 -07:00
Christian Clauss
9836817d82
Branding: macOS
2022-09-27 12:47:32 +02:00
Christian Clauss
83bd792e36
Upgrade GitHub Actions Checkout
...
https://github.com/actions/checkout/releases
2022-09-27 12:44:59 +02:00
Marat Dukhan
7a3abfec0a
Port GoogleTest to QuRT (Hexagon RTOS)
2022-09-26 14:49:00 -07:00
Baruch
173dd7c7d6
Merge branch 'google:main' into custom_type_combine
2022-09-25 13:35:27 +03:00
Copybara-Service
63907e1bfe
Merge pull request #4011 from softwaregravy:patch-1
...
PiperOrigin-RevId: 475928562
Change-Id: I0539fa76b788410dd88b3285056a3b6a324dbc52
2022-09-21 14:45:58 -07:00
John Hinnegan
05cc575c65
Update link to Bazel installation guide
...
The Bazel docs have moved!
2022-09-18 10:54:36 -04:00
Baruch
56070d8903
Merge branch 'google:main' into custom_type_combine
2022-09-14 21:46:21 +03:00
Derek Mauro
1336c4b6d1
Fix MSVC C++14 flag for GitHub workflow
...
PiperOrigin-RevId: 474053482
Change-Id: If5cdf7458139ba3ad04b8c078734d6890199a348
2022-09-13 10:13:37 -07:00
Derek Mauro
7cafeff7bd
Rollback 4fa8cfe3f4dee8975ee02d98633a5245ab67c6d7
...
Breaks the intended C++ version on some CI builds
PiperOrigin-RevId: 474022587
Change-Id: I41a58893802c90864e0f2cc3d15e6c169c59146d
2022-09-13 08:15:24 -07:00
Copybara-Service
4fa8cfe3f4
Merge pull request #3984 from keith:ks/bazel-move-std-c-14-to-.bazelrc
...
PiperOrigin-RevId: 473908876
Change-Id: Ie850a4029c33fa9eec5f670a18f70b2cf6635d6f
2022-09-12 20:06:25 -07:00
Abseil Team
c29315dda4
Use UnorderedElementsAre in example about using matchers with maps
...
PiperOrigin-RevId: 473353707
Change-Id: Ief5bdbd2b8e28bac8f47be9aaeac4bb93875a793
2022-09-09 15:14:57 -07:00
Abseil Team
0f6885405c
Remove obsolete MSVC warning pragmas for Invalid<T>()
...
Remove the MSVC pragmas for disabling warning C4717 (infinite recursion) for
Invalid<T>() because that warning has been fixed in cl/441474979.
PiperOrigin-RevId: 473012585
Change-Id: I5f1bf88379bd4f2bf005e029c04766ac4caadd84
2022-09-08 09:42:31 -07:00
Abseil Team
0e0d9feefa
Fixed header guards to match style guide conventions.
...
PiperOrigin-RevId: 471524660
Change-Id: Ie11e6a7a5a5497f64d5b9c382f1017094e043093
2022-09-01 07:25:03 -07:00
Copybara-Service
9080381758
Merge pull request #3916 from asmodai27:main
...
PiperOrigin-RevId: 471062949
Change-Id: I3f063c441b3d4275d931016c431519c14e68d51c
2022-08-30 12:40:01 -07:00
Abseil Team
afd902e992
Consider all TERM values ending in "-256color" to be color supporting. In particular this handles TERM=hterm-256color correctly.
...
PiperOrigin-RevId: 470232889
Change-Id: Iea594a3fde2b8b0a10e527956d70ba0bb3452e08
2022-08-26 06:35:30 -07:00
Baruch
dd969ed5fe
Merge branch 'google:main' into custom_type_combine
2022-08-25 10:55:49 +03:00
Hardik Vala
25cc5777a1
Add support of 19-member structs to gmock UnpackStructImpl.
...
PiperOrigin-RevId: 469171380
Change-Id: Ic75fc0523924e40e620552d4c04b79dad22a68e0
2022-08-22 06:42:57 -07:00
Keith Smiley
91c3669f21
bazel: move -std=c++14 to .bazelrc
...
Bazel defaults to -std=c++11 on macOS which gtest doesn't support.
2022-08-19 11:11:26 -07:00
Derek Mauro
c0e032efe5
Update README.md to point to the Foundational C++ Support Policy
...
PiperOrigin-RevId: 467959285
Change-Id: Ibd92b3a278f293736b31bd7e07fe502241bb1f05
2022-08-16 10:23:59 -07:00
Derek Mauro
7274ec1864
Add --features=external_include_paths to Bazel CI to ignore warnings
...
from dependencies
PiperOrigin-RevId: 467244441
Change-Id: Iefa65474d8c62e7c4c942957dc8e275715076e5f
2022-08-12 10:46:39 -07:00
Dino Radakovic
4c9a3bb62b
gtest_unittest: Call FAIL() in lambda, fix incorrect fatality expectation
...
FAIL() evaluates into a return statement: 5b909beeec/googletest/include/gtest/internal/gtest-internal.h (L1347)
Calling it from the body of the test case turns all subsequent expectations into no-ops.
Fixes #3941
PiperOrigin-RevId: 466104977
Change-Id: Ic15f43acb734295a5c9690a2b5eec6f65e8c0814
2022-08-08 11:48:12 -07:00
Dino Radakovic
5b909beeec
Explicitly instantiate matchee std::string in MatchesRegex
...
If this ever turns out to be a performance issue, we could use std::conditional and std::is_same to avoid copying std::strings.
Fixes #3949
PiperOrigin-RevId: 465353572
Change-Id: If2d691bccb626c692c87e006df5afe88a4ed1542
2022-08-04 10:53:57 -07:00
Copybara-Service
6045bf2ade
Merge pull request #3918 from assafpr:master2main
...
PiperOrigin-RevId: 464586117
Change-Id: Icda62f13b962f7408bb5698ae2b627391257d152
2022-08-01 11:47:51 -07:00
Copybara-Service
fa3f444be1
Merge pull request #3951 from matdibu:main
...
PiperOrigin-RevId: 464546862
Change-Id: I6ee696f4f66a5f76015a36737b5cde5edc91a9bc
2022-08-01 08:59:08 -07:00
Baruch Burstein
3280a930bf
Custom type with Combine(). Fix for #3781
2022-07-31 22:50:04 +03:00
Abseil Team
dd7a9d29a3
Add support of 18-member structs to gmock UnpackStructImpl.
...
PiperOrigin-RevId: 463961734
Change-Id: Ib62e320a745c190955f181c1f4f12e4cd407ef22
2022-07-28 17:15:30 -07:00