yagneshprajapati
88295d64a7
Update README.md
...
xunit link
2 years ago
pateldeev
0eb33cfa5c
Add missing absl dependency from build.
2 years ago
yagneshprajapati
a7fa9b3708
Update README.md
2 years ago
Abseil Team
bc860af087
This trips up when compiling with -Wvla otherwise.
...
PiperOrigin-RevId: 529762901
Change-Id: I6ce4d630191bf265f847aef2d5dcc12a712faa60
2 years ago
Copybara-Service
a3580180d1
Merge pull request #4146 from lygstate:fixes_std_pair_diff
...
PiperOrigin-RevId: 528781910
Change-Id: I4038332a6255921792bfb4a8098aa84243d48e15
2 years ago
Andy Soffer
76bce79a34
Merge branch 'main' into fixes_std_pair_diff
2 years ago
Copybara-Service
f345b2ca6a
Merge pull request #4227 from Vertexwahn:fix-spelling
...
PiperOrigin-RevId: 528474013
Change-Id: I60cd509aded8d8b02423ea1b07c2c27e3709a808
2 years ago
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
2 years ago
Tom Hughes
0bdaac5a14
Add qualifier to avoid argument dependent lookup
...
PiperOrigin-RevId: 527740306
Change-Id: I61308cc232c346d5ff8b0548d4c552a59633fffc
2 years ago
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
2 years ago
Vertexwahn
97408cae55
Fix spelling
2 years ago
Copybara-Service
ccdeec888e
Merge pull request #4225 from TurboGawron:non_moveable_struct_fix
...
PiperOrigin-RevId: 526972449
Change-Id: I77d8bd37807f6c6ab5256f1e6c4abc64cceee740
2 years ago
Patryk Gawroński
51eeae5a55
gmock: fix issue #4222
...
Rename 'Result' struct to 'NonMoveableStruct' in
gmock-spec-builders_test.cc in ExpectCallTest.NonMoveableType test
2 years ago
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
2 years ago
Tom Hughes
baf182e006
Use the empty method to check for emptiness
...
PiperOrigin-RevId: 526046714
Change-Id: I6ad0deff2a7f6dfef75a643c95ad914c83b9ba38
2 years ago
Tom Hughes
a5308bb992
Add missing std includes
...
PiperOrigin-RevId: 525850646
Change-Id: I64387f5b933beb79cd05636dca81b7a75213383e
2 years ago
Tom Hughes
9c1efac2a1
Use std::make_unique
...
PiperOrigin-RevId: 525828947
Change-Id: I66f47c835bc93ba171eba0da8df09eff89c6c77b
2 years ago
Tom Hughes
d7fb5e1af4
Fix spelling
...
PiperOrigin-RevId: 525820426
Change-Id: Ib5baa8da4a54ebb17b6ace12240ed03eedb46091
2 years ago
Tom Hughes
d8a5fb7ee6
Add missing std includes
...
PiperOrigin-RevId: 525794940
Change-Id: Ib2639058610c91cbffbb0f22a5e71573e0cbd651
2 years ago
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
2 years ago
Copybara-Service
d25e625364
Merge pull request #4219 from jerylvaz:main
...
PiperOrigin-RevId: 524932412
Change-Id: Ie70282f7e82cb3b9442bd15bbe49bb9b00e56eb9
2 years ago
Abseil Team
922e0b7d80
Update gMock Cookbook to reflect deprecation of testing::ByMove
...
PiperOrigin-RevId: 524868227
Change-Id: I702ede27570e3d3f06d534d6ccf8b39689105d07
2 years ago
Jeryl Vaz
952560d3ec
Suppress a clang-tidy warning in the MATCHER_P macro
2 years ago
Copybara-Service
12a5852e45
Merge pull request #3993 from pgroke-dt:work-around-GCC-11-ADL-bug
...
PiperOrigin-RevId: 523706897
Change-Id: If6dcc97c81a20f8fe675241518ae1d6cf23ebf39
2 years ago
Abseil Team
8fa9461cc2
Fix FunctionMocker compilation slowdown in 9d21db9e0a
...
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
2 years ago
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
2 years ago
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
2 years ago
Abseil Team
7ee260c549
Rolled back due to breaking existing tests.
...
PiperOrigin-RevId: 521555658
Change-Id: I09742faceb82b2b7ceb423e850a8b50d532ad6ff
2 years ago
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
2 years ago
Abseil Team
0cd05c6ea9
Update naming to "GoogleTest" in the GoogleTest Primer.
...
PiperOrigin-RevId: 520409541
Change-Id: I75a0b8615ece923137d4f5dcdb915f38e4c3b1b2
2 years ago
Copybara-Service
ca0d46e95d
Merge pull request #4103 from gonzalobg:bugfix/nvcxx_support
...
PiperOrigin-RevId: 520017251
Change-Id: Ib2be28787b739344c80a5d937f875737ba44a0ec
2 years ago
Derek Mauro
3656c2713e
Fix redundant redeclaration warning
...
Fixes #4200
PiperOrigin-RevId: 520017094
Change-Id: Id707a1c0489edde083771ccd412d7035612474dc
2 years ago
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
2 years ago
Derek Mauro
88af49efa7
Migrate CI builds to MSVC 2022
...
PiperOrigin-RevId: 519792199
Change-Id: Ic821b264bf1aef5e03f22fb0e288dd9d56fd536b
2 years ago
Abseil Team
e9fb5c7bac
Replace `const char*` with `absl::string_view` as the latter is preferred.
...
PiperOrigin-RevId: 519122695
Change-Id: I7dcf969d15d26ccc4b376e3ab6db7f4c08c7386f
2 years ago
Abseil Team
a0ced33ac6
Internal Code Change
...
PiperOrigin-RevId: 519071084
Change-Id: I6459d60606e93bf658e505544538367508722857
2 years ago
Abseil Team
6f01e3dc12
Internal Code Change
...
PiperOrigin-RevId: 518810140
Change-Id: Id3f9471f827894761080bc9199b0a092dc829b5f
2 years ago
gonzalobg
5d6ba6d3b0
Add doc comment
2 years ago
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
2 years ago
Abseil Team
974e18ee6f
Fix minor bug -- if ExecDeathTestChildMain() ever returns, we should exit
...
with a non-zero status.
PiperOrigin-RevId: 518306642
Change-Id: I72fb2764e477acb0362593c63f7748c4f64db0c6
2 years ago
Abseil Team
e9faae170f
Internal Code Change
...
PiperOrigin-RevId: 518213370
Change-Id: I88d0acc195dadf8d03cd15c8534c721141db14ea
2 years ago
Copybara-Service
fa87209829
Merge pull request #4157 from dpogue:patch-1
...
PiperOrigin-RevId: 518065122
Change-Id: I3a71c85626050b9aecebd4aa10d668ea3c48c82c
2 years ago
Phoebe Liang
3288c4deae
Revise documentation to include AbslStringify
...
PiperOrigin-RevId: 518039451
Change-Id: Ife548d0f83266746ce1981bea31e70e6b43027c9
2 years ago
Abseil Team
471087fbfc
Introduce std::make_unique and bool literals where possible
...
PiperOrigin-RevId: 517910526
Change-Id: I398704f4b2ca0a55c86a06ca8b47d34c8670ddd7
2 years ago
Abseil Team
9fd3fb00ff
Remove unused using-declarations in sample unit tests
...
PiperOrigin-RevId: 517910369
Change-Id: I87f29fb09bc83e7d1c7cffdf267b2f691d261c26
2 years ago
Abseil Team
28219b169c
Fix typo in test case name.
...
PiperOrigin-RevId: 517814929
Change-Id: I2bc498ba048d4deab1cf2a021487f63fe44c466d
2 years ago
Copybara-Service
837f2229a9
Merge pull request #4182 from venik:venik-char8-lib-fix
...
PiperOrigin-RevId: 517470997
Change-Id: I12b079dc1536f136dd0514871fe79f9678b1fd6a
2 years ago
Copybara-Service
e49c6b946a
Merge pull request #4180 from sergio-nsk:patch-3
...
PiperOrigin-RevId: 517200256
Change-Id: I2ad5d4644f9e2095909ef646a7207c42a38082cf
2 years ago
Deanna Garcia
f53219cdcb
Move transitive dependencies of googletest to googletest_deps.bzl to allow other bazel projects to depend on that rule instead of googletests' transitive dependencies directly.
...
PiperOrigin-RevId: 517166391
Change-Id: I9158e24d3f9613f3bcc811c028e1a15f213b7c40
2 years ago
Maciej Sroczyński
abad8af018
Add COMPONENT to install
2 years ago