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
2023-07-28 09:51:41 -07:00
Copybara-Service
40412d8512
Merge pull request #4317 from mrfeod:patch-1
...
PiperOrigin-RevId: 550585850
Change-Id: I727f74aeb6f1da5bbbf5a5f49f06c4cfea40a73b
2023-07-24 09:31:31 -07:00
Abseil Team
01e18376ef
Make AbslStringify
usage public in GoogleTest
...
Fixes #4314
PiperOrigin-RevId: 549986457
Change-Id: Iff74f02ab1c106696f288540e9c623d56b76e3f7
2023-07-21 10:36:25 -07:00
Derek Mauro
1ed6a8c67a
Remove unused cast implementation
...
PiperOrigin-RevId: 549456180
Change-Id: I10862e6de981087a5c590cccf6152255e9a176a0
2023-07-19 16:21:55 -07:00
Anton Sosnin
f014396910
Fix typo in gmock_cook_book.md
2023-07-19 18:08:41 +03:00
Copybara-Service
d66ce58510
Merge pull request #4313 from kimvaleen:main
...
PiperOrigin-RevId: 549039222
Change-Id: I96bea310beede5ba0ed6160155251ffd9d7a2103
2023-07-18 10:18:14 -07:00
Copybara-Service
c541e7c110
Merge pull request #4302 from ciband:feat/nrf52
...
PiperOrigin-RevId: 549006105
Change-Id: Ifbe2bf57e10df4c71e51dbfaf1687f4f621f5106
2023-07-18 08:16:57 -07:00
Copybara-Service
cc366710bb
Merge pull request #4308 from smr99:fix-float-cast
...
PiperOrigin-RevId: 547250378
Change-Id: I084c30e45f331cb296535822923da1cb7e848e11
2023-07-11 11:37:29 -07:00
kimvaleen
c88e0b4673
Fixed variables that could be declared 'const'
2023-07-11 12:05:05 +03:00
Abseil Team
4a1a299b20
Update docstring of PrintWithFallback(..) to reflect the recently changed ordering.
...
PiperOrigin-RevId: 546373360
Change-Id: I2538b45d8c7710592071cc352da6771480c324e6
2023-07-07 13:43:30 -07:00
Steve Robbins
3044657e7a
Use template type FloatType in the cast.
2023-07-03 21:23:18 -05:00
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
2023-06-30 18:50:27 -07:00
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
2023-06-30 10:32:57 -07:00
Abseil Team
251e720391
Change ::testing
to testing
in Testing Reference doc
...
PiperOrigin-RevId: 544466397
Change-Id: Icb4d5fae38361cd75d47f908886831696eb2b1c9
2023-06-29 14:40:26 -07:00
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
2023-06-28 11:45:07 -07:00
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
2023-06-27 20:47:07 -07:00
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
2023-06-27 11:17:00 -07:00
Chris Johnson
091d7eb897
add support for nrf52
...
Added support for Nordic nRF52 series of MCUs
2023-06-27 08:29:23 -05:00
Copybara-Service
8e32de89cf
Merge pull request #4300 from eltociear:patch-1
...
PiperOrigin-RevId: 543586460
Change-Id: I87ee05c4b77fb643a3381018568a4765d0a12b18
2023-06-26 17:24:42 -07:00
Copybara-Service
372e81d814
Merge pull request #4301 from ciband:feat/qn9090
...
PiperOrigin-RevId: 543523833
Change-Id: I602373a321e2b8080264e3f418ef5b2254f615fb
2023-06-26 13:23:58 -07:00
Chris Johnson
b2a2d36f3a
Merge branch 'google:main' into feat/qn9090
2023-06-22 12:01:48 -05:00
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.
2023-06-22 11:56:59 -05:00
Ikko Eltociear Ashimine
1361c77c4d
Fix typo in googletest-catch-exceptions-test.py
...
FITLER_OUT_SEH_TESTS_FLAG -> FILTER_OUT_SEH_TESTS_FLAG
2023-06-23 01:20:10 +09:00
Abseil Team
ec4fed9321
Update code examples in the gMock Cookbook following C++ best practices.
...
PiperOrigin-RevId: 542564354
Change-Id: Ia3307f13f845c662c88fb7303112f41ef8c56b28
2023-06-22 08:15:15 -07:00
Copybara-Service
af39146b45
Merge pull request #4293 from juan-lunarg:juan/fix_remaining_cmake_version
...
PiperOrigin-RevId: 542299863
Change-Id: I51cf4a4f8d6a97e39e6c46f48fa6acf3bd0ab6b5
2023-06-21 10:40:58 -07:00
Juan Ramos
812f35b26b
cmake: Remove remaining checks for CMAKE_VERSION
...
Remove conditional code that doesn't need to exist anymore.
2023-06-20 19:09:04 -06:00
Copybara-Service
fb11778f43
Merge pull request #4290 from juan-lunarg:juan/cmake_version_cleanup
...
PiperOrigin-RevId: 542045766
Change-Id: Ib6e0fffdbf1f41fb990603fe2af7c6d5df6b5640
2023-06-20 14:15:01 -07:00
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
2023-06-20 13:03:00 -06:00
Copybara-Service
5924e5b355
Merge pull request #4282 from zencatalyst:patch-1
...
PiperOrigin-RevId: 541940311
Change-Id: I953d347f0041dfcacc2bff9cc1b19e086fdd9ac4
2023-06-20 08:59:17 -07:00
Copybara-Service
29836977ef
Merge pull request #4288 from juan-lunarg:juan/cmake_min_3_dot_6
...
PiperOrigin-RevId: 541929012
Change-Id: I90423820611c2b6a6f81fe3f9ec2d23992ffbed1
2023-06-20 08:20:43 -07:00
Copybara-Service
6c08816416
Merge pull request #4286 from ryandesign:patch-1
...
PiperOrigin-RevId: 541928566
Change-Id: I72437cb3a06f2af7220b247c6c136a38c5f1089c
2023-06-20 08:18:54 -07:00
Juan Ramos
4fed5f2850
cmake: Raise min to 3.6
...
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-19 11:21:44 -06:00
Ryan Schmidt
124bc587f0
Change C++11 requirement to C++14
...
Version 1.13.x and later require C++14.
Also fix missing closing backtick.
2023-06-19 06:18:12 -05:00
Copybara-Service
9b12f749fa
Merge pull request #4267 from niranjan-nilakantan:niranjan-nilakantan/issue4266
...
PiperOrigin-RevId: 540901148
Change-Id: Ifd4c4a6d37e9bf7ff63470be401f94d2bb530c22
2023-06-16 09:18:27 -07:00
Kasra Hashemi
148b327ffa
Update README.md
...
Fixed punctuation issues
2023-06-16 13:59:16 +03:30
Abseil Team
18fa6a4db3
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
2023-06-15 07:52:45 -07:00
Dino Radakovic
4c7aee827e
Skip entire test suite with GTEST_SKIP()
in SetUpTestSuite
...
Fixes #4273
PiperOrigin-RevId: 540254167
Change-Id: I2555740d10284223539035bf73f88554fcf73f8a
2023-06-14 06:41:11 -07:00
Copybara-Service
e9078161e6
Merge pull request #4188 from Mizzrym1:component
...
PiperOrigin-RevId: 539684886
Change-Id: Ie7f4175ad413fdb82d265374a4aca9fad23571f5
2023-06-12 09:58:37 -07:00
Abseil Team
65cfeca1a1
internal g3doc documentation change.
...
PiperOrigin-RevId: 539134110
Change-Id: I28041f77e18bc67aa0ffabdc7205e350deed22c8
2023-06-09 11:29:42 -07:00
Copybara-Service
334704df26
Merge pull request #4269 from elupus:patch-3
...
PiperOrigin-RevId: 538253216
Change-Id: Ib4bc90974f92939f884d6b5927f8bf37aac4d2c7
2023-06-06 12:04:10 -07:00
Copybara-Service
23f642ab23
Merge pull request #4260 from pratyush3757:readme_table_fix
...
PiperOrigin-RevId: 537887202
Change-Id: I4a52ec0da24f043eba0aa1a9d7945066c799ce8a
2023-06-05 08:47:33 -07:00
Joakim Plate
001f281926
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.
2023-06-02 12:17:43 +02:00
Pro3757
5ca3ab8331
change table to unordered list
2023-06-02 01:09:32 +05:30
Pratyush Choudhary
ad1b28b4a9
Merge branch 'google:main' into readme_table_fix
2023-06-02 00:56:36 +05:30
Niranjan Nilakantan
a5b94f6819
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 #4266
2023-06-01 09:48:54 -07:00
Dino Radakovic
06f44bc951
Copy supported platforms from README onto https://google.github.io/googletest/platforms.html
...
PiperOrigin-RevId: 537016664
Change-Id: Ie62891a1061465a009b90feba0ccb91d85591160
2023-06-01 07:28:42 -07:00
Dino Radakovic
04cf298916
Provide example for setting C++ language standard in GoogleTest's Bazel quickstart and readme.
...
An equivalent for CMake was merged in aa99ce5a0d
Fixes #4254
PiperOrigin-RevId: 536759641
Change-Id: I8400064a24e0d78f17a0720046f505efa1167b4f
2023-05-31 10:45:43 -07:00
Paul Wankadia
a7833a19bd
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
2023-05-31 09:33:31 -07:00
Copybara-Service
f625681bc4
Merge pull request #4256 from niranjan-nilakantan:niranjan-nilakantan/issue4255
...
PiperOrigin-RevId: 536480185
Change-Id: I9bdd65cd18253703abf3cc92b3f354c1f798aa3e
2023-05-30 12:40:46 -07:00
Pro3757
ded275d75e
fix README table
2023-05-30 13:50:23 +05:30
niranjan
029d3dddd4
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;
```
2023-05-24 17:33:46 -07:00
Niranjan Nilakantan
e032d57642
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 #4255
2023-05-24 12:48:51 -07:00
Copybara-Service
4580469122
Merge pull request #4250 from shlomnissan:cmake-quickstart-update
...
PiperOrigin-RevId: 534150776
Change-Id: Ib6c07c6abd06c259494928102e2cb800b6652612
2023-05-22 12:41:47 -07:00
Shlomi Nissan
aa99ce5a0d
Add CXX_STANDARD_REQUIRED to CMake quickstart
2023-05-21 16:40:06 -07:00
Dino Radakovic
cb455a71fb
Fix typo in version number example in README
...
PiperOrigin-RevId: 532796425
Change-Id: If81029216cf12b9b05f8e2d79671ba106ebd28fb
2023-05-17 08:31:17 -07:00
Dino Radakovic
d6fb5e3bf7
Explicitly document googletest release tag format
...
Fixes #4235
PiperOrigin-RevId: 532446854
Change-Id: If7e1dade02a80d9a30813c136bba3f20c796f0fa
2023-05-16 07:05:45 -07:00
Copybara-Service
60c3602aaa
Merge pull request #4231 from yagneshprajapati:main
...
PiperOrigin-RevId: 532204016
Change-Id: Ifa309f31bb959b43faa54c5ce631a823e6a2888a
2023-05-15 13:17:55 -07:00
Copybara-Service
e42cc2294f
Merge pull request #4234 from pateldeev:missing_dep
...
PiperOrigin-RevId: 532143036
Change-Id: I3dd57e975006478eb6b16b8ea289531738a8a0b5
2023-05-15 09:54:08 -07:00
Abseil Team
bb2941fcc6
Give CreateArgvFromArgs internal linkage
...
It isn't declared in any header or referenced from any other file.
PiperOrigin-RevId: 531209642
Change-Id: I9e7df37f737b00994f8845ed38c3b775879cb25c
2023-05-11 08:28:20 -07:00
yagneshprajapati
a8e067ae5f
Update README.md
...
xml report gan removed
2023-05-11 14:57:47 +05:30
yagneshprajapati
7345a66cbd
Update README.md
...
xUnit link
2023-05-11 14:54:04 +05:30
yagneshprajapati
88295d64a7
Update README.md
...
xunit link
2023-05-11 14:52:16 +05:30
pateldeev
0eb33cfa5c
Add missing absl dependency from build.
2023-05-08 13:02:56 -07:00
yagneshprajapati
a7fa9b3708
Update README.md
2023-05-07 15:22:54 +05:30
Abseil Team
bc860af087
This trips up when compiling with -Wvla otherwise.
...
PiperOrigin-RevId: 529762901
Change-Id: I6ce4d630191bf265f847aef2d5dcc12a712faa60
2023-05-05 11:05:02 -07:00
Copybara-Service
a3580180d1
Merge pull request #4146 from lygstate:fixes_std_pair_diff
...
PiperOrigin-RevId: 528781910
Change-Id: I4038332a6255921792bfb4a8098aa84243d48e15
2023-05-02 07:52:02 -07:00
Andy Soffer
76bce79a34
Merge branch 'main' into fixes_std_pair_diff
2023-05-01 14:27:38 -04:00
Copybara-Service
f345b2ca6a
Merge pull request #4227 from Vertexwahn:fix-spelling
...
PiperOrigin-RevId: 528474013
Change-Id: I60cd509aded8d8b02423ea1b07c2c27e3709a808
2023-05-01 08:05:40 -07:00
Dino Radakovic
797b0ad2a3
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 #4226 .
PiperOrigin-RevId: 527919195
Change-Id: Ifcca4612074f5ebc5337094426866a187f79f90a
2023-04-28 10:16:07 -07:00
Tom Hughes
0bdaac5a14
Add qualifier to avoid argument dependent lookup
...
PiperOrigin-RevId: 527740306
Change-Id: I61308cc232c346d5ff8b0548d4c552a59633fffc
2023-04-27 18:17:59 -07:00
Abseil Team
dea0484e4d
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
2023-04-26 07:13:51 -07:00
Vertexwahn
97408cae55
Fix spelling
2023-04-25 20:20:01 +02:00
Copybara-Service
ccdeec888e
Merge pull request #4225 from TurboGawron:non_moveable_struct_fix
...
PiperOrigin-RevId: 526972449
Change-Id: I77d8bd37807f6c6ab5256f1e6c4abc64cceee740
2023-04-25 08:21:31 -07:00
Patryk Gawroński
51eeae5a55
gmock: fix issue #4222
...
Rename 'Result' struct to 'NonMoveableStruct' in
gmock-spec-builders_test.cc in ExpectCallTest.NonMoveableType test
2023-04-25 01:45:26 +02:00
Tom Hughes
783d00fd19
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
2023-04-21 10:41:25 -07:00
Tom Hughes
baf182e006
Use the empty method to check for emptiness
...
PiperOrigin-RevId: 526046714
Change-Id: I6ad0deff2a7f6dfef75a643c95ad914c83b9ba38
2023-04-21 08:42:42 -07:00
Tom Hughes
a5308bb992
Add missing std includes
...
PiperOrigin-RevId: 525850646
Change-Id: I64387f5b933beb79cd05636dca81b7a75213383e
2023-04-20 14:29:09 -07:00
Tom Hughes
9c1efac2a1
Use std::make_unique
...
PiperOrigin-RevId: 525828947
Change-Id: I66f47c835bc93ba171eba0da8df09eff89c6c77b
2023-04-20 13:09:18 -07:00
Tom Hughes
d7fb5e1af4
Fix spelling
...
PiperOrigin-RevId: 525820426
Change-Id: Ib5baa8da4a54ebb17b6ace12240ed03eedb46091
2023-04-20 12:36:18 -07:00
Tom Hughes
d8a5fb7ee6
Add missing std includes
...
PiperOrigin-RevId: 525794940
Change-Id: Ib2639058610c91cbffbb0f22a5e71573e0cbd651
2023-04-20 11:01:56 -07:00
Tom Hughes
01bcf8c70d
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
2023-04-20 08:22:57 -07:00
Copybara-Service
d25e625364
Merge pull request #4219 from jerylvaz:main
...
PiperOrigin-RevId: 524932412
Change-Id: Ie70282f7e82cb3b9442bd15bbe49bb9b00e56eb9
2023-04-17 13:23:38 -07:00
Abseil Team
922e0b7d80
Update gMock Cookbook to reflect deprecation of testing::ByMove
...
PiperOrigin-RevId: 524868227
Change-Id: I702ede27570e3d3f06d534d6ccf8b39689105d07
2023-04-17 09:31:34 -07:00
Jeryl Vaz
952560d3ec
Suppress a clang-tidy warning in the MATCHER_P macro
2023-04-14 11:15:21 +02:00
Copybara-Service
12a5852e45
Merge pull request #3993 from pgroke-dt:work-around-GCC-11-ADL-bug
...
PiperOrigin-RevId: 523706897
Change-Id: If6dcc97c81a20f8fe675241518ae1d6cf23ebf39
2023-04-12 08:28:57 -07:00
Abseil Team
8fa9461cc2
Fix FunctionMocker compilation slowdown in 9d21db9e0a60a1ea61ec19331c9bc0dd33e907b1
...
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 #4156
PiperOrigin-RevId: 523447948
Change-Id: Ib0ae0761a54d7b1f2b706b14b2858eedf47e2297
2023-04-11 10:55:11 -07:00
Abseil Team
7f6f9c12ad
Support --gtest_stream_result_to on macOS
...
This seems to just have been an oversight. POSIX socket APIs work just
fine on macOS.
Fixes https://github.com/google/googletest/issues/4214 .
PiperOrigin-RevId: 523398386
Change-Id: I9d56cd9c6933318c1f0b0024f7fef44122fd0c83
2023-04-11 07:41:50 -07:00
Abseil Team
057b4e904f
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
2023-04-05 13:27:21 -07:00
Abseil Team
7ee260c549
Rolled back due to breaking existing tests.
...
PiperOrigin-RevId: 521555658
Change-Id: I09742faceb82b2b7ceb423e850a8b50d532ad6ff
2023-04-03 14:01:45 -07:00
Aaron Jacobs
b5fd99bbd5
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
2023-03-30 13:35:22 -07:00
Abseil Team
0cd05c6ea9
Update naming to "GoogleTest" in the GoogleTest Primer.
...
PiperOrigin-RevId: 520409541
Change-Id: I75a0b8615ece923137d4f5dcdb915f38e4c3b1b2
2023-03-29 12:25:22 -07:00
Copybara-Service
ca0d46e95d
Merge pull request #4103 from gonzalobg:bugfix/nvcxx_support
...
PiperOrigin-RevId: 520017251
Change-Id: Ib2be28787b739344c80a5d937f875737ba44a0ec
2023-03-28 07:04:28 -07:00
Derek Mauro
3656c2713e
Fix redundant redeclaration warning
...
Fixes #4200
PiperOrigin-RevId: 520017094
Change-Id: Id707a1c0489edde083771ccd412d7035612474dc
2023-03-28 07:03:07 -07:00
Derek Mauro
13b1900717
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
2023-03-28 06:28:10 -07:00
Derek Mauro
88af49efa7
Migrate CI builds to MSVC 2022
...
PiperOrigin-RevId: 519792199
Change-Id: Ic821b264bf1aef5e03f22fb0e288dd9d56fd536b
2023-03-27 12:10:12 -07:00
Abseil Team
e9fb5c7bac
Replace const char*
with absl::string_view
as the latter is preferred.
...
PiperOrigin-RevId: 519122695
Change-Id: I7dcf969d15d26ccc4b376e3ab6db7f4c08c7386f
2023-03-24 05:58:11 -07:00
Abseil Team
a0ced33ac6
Internal Code Change
...
PiperOrigin-RevId: 519071084
Change-Id: I6459d60606e93bf658e505544538367508722857
2023-03-24 00:23:16 -07:00
Abseil Team
6f01e3dc12
Internal Code Change
...
PiperOrigin-RevId: 518810140
Change-Id: Id3f9471f827894761080bc9199b0a092dc829b5f
2023-03-23 03:08:22 -07:00
gonzalobg
5d6ba6d3b0
Add doc comment
2023-03-23 10:28:12 +01:00
Aaron Jacobs
5fce13091d
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
2023-03-22 20:19:44 -07:00