summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo in version number example in READMEHEADmainDino Radakovic2023-05-171-1/+1
| | | | | PiperOrigin-RevId: 532796425 Change-Id: If81029216cf12b9b05f8e2d79671ba106ebd28fb
* Explicitly document googletest release tag formatDino Radakovic2023-05-161-0/+2
| | | | | | | Fixes #4235 PiperOrigin-RevId: 532446854 Change-Id: If7e1dade02a80d9a30813c136bba3f20c796f0fa
* Merge pull request #4231 from yagneshprajapati:mainCopybara-Service2023-05-151-12/+34
|\ | | | | | | | | PiperOrigin-RevId: 532204016 Change-Id: Ifa309f31bb959b43faa54c5ce631a823e6a2888a
| * Update README.mdyagneshprajapati2023-05-111-1/+0
| | | | | | xml report gan removed
| * Update README.mdyagneshprajapati2023-05-111-2/+2
| | | | | | xUnit link
| * Update README.mdyagneshprajapati2023-05-111-1/+1
| | | | | | xunit link
| * Update README.mdyagneshprajapati2023-05-071-13/+14
| |
* | Merge pull request #4234 from pateldeev:missing_depCopybara-Service2023-05-151-0/+1
|\ \ | | | | | | | | | | | | PiperOrigin-RevId: 532143036 Change-Id: I3dd57e975006478eb6b16b8ea289531738a8a0b5
| * | Add missing absl dependency from build.pateldeev2023-05-081-0/+1
| |/
* | Give CreateArgvFromArgs internal linkageAbseil Team2023-05-111-1/+4
|/ | | | | | | It isn't declared in any header or referenced from any other file. PiperOrigin-RevId: 531209642 Change-Id: I9e7df37f737b00994f8845ed38c3b775879cb25c
* This trips up when compiling with -Wvla otherwise.Abseil Team2023-05-051-2/+2
| | | | | PiperOrigin-RevId: 529762901 Change-Id: I6ce4d630191bf265f847aef2d5dcc12a712faa60
* Merge pull request #4146 from lygstate:fixes_std_pair_diffCopybara-Service2023-05-024-14/+35
|\ | | | | | | | | PiperOrigin-RevId: 528781910 Change-Id: I4038332a6255921792bfb4a8098aa84243d48e15
| * Merge branch 'main' into fixes_std_pair_diffAndy Soffer2023-05-0192-1079/+1324
| |\ | |/ |/|
* | Merge pull request #4227 from Vertexwahn:fix-spellingCopybara-Service2023-05-014-4/+4
|\ \ | | | | | | | | | | | | PiperOrigin-RevId: 528474013 Change-Id: I60cd509aded8d8b02423ea1b07c2c27e3709a808
| * | Fix spellingVertexwahn2023-04-254-4/+4
| | |
* | | Use GTEST_INTERNAL_CPLUSPLUS_LANG instead of __cplusplusDino Radakovic2023-04-283-10/+14
| | | | | | | | | | | | | | | | | | | | | | | | Some versions of MSVC provide incorrect values for the latter and rely on _MSVC_LANG instead. Fixes #4226. PiperOrigin-RevId: 527919195 Change-Id: Ifcca4612074f5ebc5337094426866a187f79f90a
* | | Add qualifier to avoid argument dependent lookupTom Hughes2023-04-271-1/+1
| | | | | | | | | | | | | | | PiperOrigin-RevId: 527740306 Change-Id: I61308cc232c346d5ff8b0548d4c552a59633fffc
* | | Use Abseil Flag public API for flag parsing.Abseil Team2023-04-264-30/+67
|/ / | | | | | | | | | | | | 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
* | Merge pull request #4225 from TurboGawron:non_moveable_struct_fixCopybara-Service2023-04-251-13/+13
|\ \ | | | | | | | | | | | | PiperOrigin-RevId: 526972449 Change-Id: I77d8bd37807f6c6ab5256f1e6c4abc64cceee740
| * | gmock: fix issue #4222Patryk Gawroński2023-04-251-13/+13
|/ / | | | | | | | | Rename 'Result' struct to 'NonMoveableStruct' in gmock-spec-builders_test.cc in ExpectCallTest.NonMoveableType test
* | Use '=default' to define trivial constructor/destructorsTom Hughes2023-04-2130-96/+96
| | | | | | | | | | | | | | https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-equals-default.html PiperOrigin-RevId: 526079054 Change-Id: Ia4db21e3e5f58b90de05d52fd94b291ed06d785d
* | Use the empty method to check for emptinessTom Hughes2023-04-211-1/+1
| | | | | | | | | | PiperOrigin-RevId: 526046714 Change-Id: I6ad0deff2a7f6dfef75a643c95ad914c83b9ba38
* | Add missing std includesTom Hughes2023-04-2028-0/+80
| | | | | | | | | | PiperOrigin-RevId: 525850646 Change-Id: I64387f5b933beb79cd05636dca81b7a75213383e
* | Use std::make_uniqueTom Hughes2023-04-201-1/+1
| | | | | | | | | | PiperOrigin-RevId: 525828947 Change-Id: I66f47c835bc93ba171eba0da8df09eff89c6c77b
* | Fix spellingTom Hughes2023-04-201-4/+4
| | | | | | | | | | PiperOrigin-RevId: 525820426 Change-Id: Ib5baa8da4a54ebb17b6ace12240ed03eedb46091
* | Add missing std includesTom Hughes2023-04-207-59/+66
| | | | | | | | | | PiperOrigin-RevId: 525794940 Change-Id: Ib2639058610c91cbffbb0f22a5e71573e0cbd651
* | Make parameter names in function declaration match the names in theTom Hughes2023-04-201-10/+10
| | | | | | | | | | | | | | | | | | definitions https://clang.llvm.org/extra/clang-tidy/checks/readability/inconsistent-declaration-parameter-name.html PiperOrigin-RevId: 525752102 Change-Id: Ibf9d3d1dbae8f95cfc7c6ad29fe4b677f4ee19cf
* | Merge pull request #4219 from jerylvaz:mainCopybara-Service2023-04-171-1/+2
|\ \ | | | | | | | | | | | | PiperOrigin-RevId: 524932412 Change-Id: Ie70282f7e82cb3b9442bd15bbe49bb9b00e56eb9
| * | Suppress a clang-tidy warning in the MATCHER_P macroJeryl Vaz2023-04-141-0/+1
| | |
* | | Update gMock Cookbook to reflect deprecation of testing::ByMoveAbseil Team2023-04-171-18/+13
|/ / | | | | | | | | PiperOrigin-RevId: 524868227 Change-Id: I702ede27570e3d3f06d534d6ccf8b39689105d07
* | Merge pull request #3993 from pgroke-dt:work-around-GCC-11-ADL-bugCopybara-Service2023-04-121-6/+7
|\ \ | | | | | | | | | | | | PiperOrigin-RevId: 523706897 Change-Id: If6dcc97c81a20f8fe675241518ae1d6cf23ebf39
| * | work around GCC 6~11 ADL bugPaul Groke2022-09-151-6/+7
| | | | | | | | | | | | | | | | | | | | | see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 ADL seems to work properly when we do the SFINAE check via the return type, but not when using a dummy template parameter fix #3992
* | | Fix FunctionMocker compilation slowdown in ↵Abseil Team2023-04-111-18/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Support --gtest_stream_result_to on macOSAbseil Team2023-04-112-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | gtest.cc: run tests within a test suite in a deterministic order.Abseil Team2023-04-051-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Rolled back due to breaking existing tests.Abseil Team2023-04-031-20/+0
| | | | | | | | | | | | | | | PiperOrigin-RevId: 521555658 Change-Id: I09742faceb82b2b7ceb423e850a8b50d532ad6ff
* | | gtest.cc: run tests within a test suite in a deterministic order.Aaron Jacobs2023-03-301-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Update naming to "GoogleTest" in the GoogleTest Primer.Abseil Team2023-03-291-34/+34
| | | | | | | | | | | | | | | PiperOrigin-RevId: 520409541 Change-Id: I75a0b8615ece923137d4f5dcdb915f38e4c3b1b2
* | | Merge pull request #4103 from gonzalobg:bugfix/nvcxx_supportCopybara-Service2023-03-281-1/+1
|\ \ \ | | | | | | | | | | | | | | | | PiperOrigin-RevId: 520017251 Change-Id: Ib2be28787b739344c80a5d937f875737ba44a0ec
| * | | Add doc commentgonzalobg2023-03-231-1/+1
| | | |
| * | | Fix warnings with nvc++ as the compilerGonzalo Brito Gadeschi2022-12-281-1/+1
| | | | | | | | | | | | | | | | Closes #3849.
* | | | Fix redundant redeclaration warningDerek Mauro2023-03-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #4200 PiperOrigin-RevId: 520017094 Change-Id: Id707a1c0489edde083771ccd412d7035612474dc
* | | | Remove the Win64 arch from the CMake Generator sinceDerek Mauro2023-03-281-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Migrate CI builds to MSVC 2022Derek Mauro2023-03-271-9/+11
| | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 519792199 Change-Id: Ic821b264bf1aef5e03f22fb0e288dd9d56fd536b
* | | | Replace `const char*` with `absl::string_view` as the latter is preferred.Abseil Team2023-03-241-4/+4
| | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 519122695 Change-Id: I7dcf969d15d26ccc4b376e3ab6db7f4c08c7386f
* | | | Internal Code ChangeAbseil Team2023-03-242-5/+5
| | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 519071084 Change-Id: I6459d60606e93bf658e505544538367508722857
* | | | Internal Code ChangeAbseil Team2023-03-235-12/+9
| | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 518810140 Change-Id: Id3f9471f827894761080bc9199b0a092dc829b5f
* | | | gtest.cc: add a newline after a failure when there is no OS stack trace.Aaron Jacobs2023-03-225-15/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Fix minor bug -- if ExecDeathTestChildMain() ever returns, we should exitAbseil Team2023-03-211-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | with a non-zero status. PiperOrigin-RevId: 518306642 Change-Id: I72fb2764e477acb0362593c63f7748c4f64db0c6
* | | | Internal Code ChangeAbseil Team2023-03-211-5/+5
| | | | | | | | | | | | | | | | | | | | PiperOrigin-RevId: 518213370 Change-Id: I88d0acc195dadf8d03cd15c8534c721141db14ea