Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/google/googletest.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-11-10Export Test - Do Not Merge4523B6410BFCD3289597FA2B5B6E18DEAbseil Team
Update example for SetUpTestSuite/TearDownTestSuite to use modern C++ standards. Currently it is using an outdated C++ construct (defining static member variables separately from the declaration). PiperOrigin-RevId: 408663014
2021-11-09Googletest exportAbseil Team
Add missing InitGoogleTest line in "Registering tests" example code Copying the original code gives the following error message """ IMPORTANT NOTICE - DO NOT IGNORE: This test program did NOT call testing::InitGoogleTest() before calling RUN_ALL_TESTS(). This is INVALID. Soon Google Test will start to enforce the valid usage. Please fix it ASAP, or IT WILL START TO FAIL. """ PiperOrigin-RevId: 408385714
2021-11-09Googletest exportAbseil Team
Add printer for std::type_info. PiperOrigin-RevId: 408375407
2021-11-09Googletest exportAbseil Team
Style only change. Make use of advanced testing functions `FloatLE` and `DoubleLE` consistent. PiperOrigin-RevId: 407660542
2021-11-03Googletest exportAbseil Team
Address unused variable warning in gtest.h Closes #3645 PiperOrigin-RevId: 407393922
2021-11-03Merge pull request #3638 from limitedAtonement:3637-disabled-outputCJ Johnson
PiperOrigin-RevId: 407356792
2021-11-03Googletest exportdmauro
Guard #includes for threading related headers with GTEST_IS_THREADSAFE Some platforms that don't support threading give errors for including these headers PiperOrigin-RevId: 406133623
2021-11-03Googletest exportdmauro
Remove the subprocess fallback code for older versions of Python PiperOrigin-RevId: 405967578
2021-11-03Googletest exportAbseil Team
Add docs section on test sharding Fixes #3622 PiperOrigin-RevId: 405712812
2021-11-03Googletest exportAbseil Team
Internal change PiperOrigin-RevId: 405710296
2021-11-03Googletest exportdmauro
Remove GoogleTest's SleepMilliseconds function. It is only used in tests and a portable implementation is available. PiperOrigin-RevId: 405437102
2021-11-03Googletest exportdmauro
Replace the multiple implementations of Notification with a single portable implementation. The also removes the awkward loop with sleep in Notification and will allow the removal of SleepMilliseconds. PiperOrigin-RevId: 405399733
2021-11-01Re #3637 Show Disabled Tests in testing outputlmat
Showing disabled tests is implemented by a new member function on the TestEventListener interface (which is responsible for printing testing output). The new function is called OnTestSkipped and it is invoked when a disabled test is encountered. The PrettyUnitTestResultPrinter has the canonical implementation of this new function. The BriefUnitTestResultPrinter and the EmptyTestEventListener get a nullary implementation. The JsonUnitTestResultPrinter and XmlUnitTestResultPrinter inherit that trivial implementation from the EmptyTestEventListener.
2021-10-13Googletest exportAbseil Team
Add printer for __{u,}int128_t. PiperOrigin-RevId: 402417369
2021-10-13Googletest exportAbseil Team
add missing using ::testing::DoAll when DoAll used in example PiperOrigin-RevId: 402416497
2021-10-13Merge pull request #3602 from yesudeep:try-fix-linker-errors-on-freebsdAndy Soffer
PiperOrigin-RevId: 402414489
2021-10-13Googletest exportAbseil Team
Use newer Docker images in CI The new floor image contains GCC 5.5.0, like the old one. PiperOrigin-RevId: 402402465
2021-10-08Fix linker errors on FreeBSD.Yesudeep Mangalapilly
2021-10-05Merge pull request #3581 from cclauss:codespelldinord
PiperOrigin-RevId: 400792845
2021-10-01Googletest exportAbseil Team
googletest: Add printer for {std,absl}::nullopt. PiperOrigin-RevId: 399928554
2021-09-28Googletest exportAbseil Team
Ensure `.what()` is printed in `ThrowsMessage(...)` to address https://github.com/google/googletest/issues/3582 Closes #3582 PiperOrigin-RevId: 399462851
2021-09-24Fix remaining typos discovered by codespellChristian Clauss
2021-09-24Merge pull request #3195 from Inujel:fix-3194dinord
PiperOrigin-RevId: 398271948
2021-09-24Merge pull request #3573 from cclauss:patch-1dinord
PiperOrigin-RevId: 397998384
2021-09-24Merge pull request #3574 from Vertexwahn:switch_to_native_cc_rulesdinord
PiperOrigin-RevId: 397995447
2021-09-24Googletest exportAbseil Team
Do not attempt to continue running a test suite if it already failed during `SetUpTestSuite`. The suite already failed and running the tests might just add noise to the run, or even crash the process unnecessarily. Fixes #2187 PiperOrigin-RevId: 397770405
2021-09-24Internal changeAbseil Team
PiperOrigin-RevId: 397651677
2021-09-17Remove bazelbuild/rules_cc dependencyVertexwahn
2021-09-16Fix typos discovered by codespellChristian Clauss
2021-09-16Fix typos discovered by codespellChristian Clauss
2021-09-16Fix typo discovered by codespellChristian Clauss
https://pypi.org/project/codespell/
2021-09-16Merge pull request #3519 from AkashKumarSingh11032001:masterDerek Mauro
PiperOrigin-RevId: 397082478
2021-09-16Googletest exportAbseil Team
Add a caveat section for potential memory leak with derived classes using `SetUpTestSuite`. PiperOrigin-RevId: 396986728
2021-09-15Googletest exportdmauro
Delete unsupported/deprecated scripts PiperOrigin-RevId: 396847020
2021-09-15Googletest exportAbseil Team
gmock-internal-utils.cc: Use `static_cast` instead of implicit conversion between signed and unsigned types Fixes #3550 PiperOrigin-RevId: 396826071
2021-09-15Googletest exportdmauro
Rollback delete of unsupported/deprecated scripts PiperOrigin-RevId: 396699187
2021-09-15Googletest exportdmauro
Delete unsupported/deprecated scripts PiperOrigin-RevId: 396685976
2021-09-15Googletest exportAbseil Team
Introduce GMOCK_FLAG_GET and GMOCK_FLAG_SET macros. PiperOrigin-RevId: 396649214
2021-09-15Revert grammatically incorrect changeDerek Mauro
2021-09-14Googletest exportAbseil Team
Avoid segfault on null premature_exit_filepath. PiperOrigin-RevId: 395965853
2021-08-26Merge pull request #3531 from theidexisted:patch-1CJ Johnson
PiperOrigin-RevId: 392720416
2021-08-24Merge pull request #3513 from victordk13:patch-1CJ Johnson
PiperOrigin-RevId: 392665206
2021-08-24Googletest exportAbseil Team
Bump `cmake_minimum_required` to 3.5. Delete conditional branches exclusive to older versions. Notable dependents: - github.com/grpc/grpc >= 3.5.1 - github.com/abseil/abseil-cpp >= 3.5 - github.com/googleapis/google-cloud-cpp >= 3.5 On the other hand, github.com/protocolbuffers/protobuf is >= 3.1.3, but it only depends on GoogleTest 1.10. Fixes #3523 PiperOrigin-RevId: 392073834
2021-08-20Googletest exportAbseil Team
Standardize access to GoogleTest flags on GTEST_FLAG_GET/GTEST_FLAG_SET Custom implementations can decide how access to flags is performed depending on the implementation of flags being used. PiperOrigin-RevId: 391971115
2021-08-19Simplify example code with c++11theidexisted
2021-08-13Merge pull request #3504 from duianto:patch-1Derek Mauro
PiperOrigin-RevId: 390486428
2021-08-13Merge pull request #3511 from berkeyvx:typoDerek Mauro
PiperOrigin-RevId: 390467627
2021-08-13Googletest exportAbseil Team
Identify bad specs of the type (const something, ...). PiperOrigin-RevId: 390346843
2021-08-10Googletest exportdmauro
Remove deprecated/unsupported scripts PiperOrigin-RevId: 389873391
2021-08-10Googletest exportdmauro
Fix a Python 2 to 3 issue PiperOrigin-RevId: 389720056