Age | Commit message (Collapse) | Author |
|
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
|
|
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
|
|
Add printer for std::type_info.
PiperOrigin-RevId: 408375407
|
|
Style only change. Make use of advanced testing functions `FloatLE` and `DoubleLE` consistent.
PiperOrigin-RevId: 407660542
|
|
Address unused variable warning in gtest.h
Closes #3645
PiperOrigin-RevId: 407393922
|
|
PiperOrigin-RevId: 407356792
|
|
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
|
|
Remove the subprocess fallback code for older versions of Python
PiperOrigin-RevId: 405967578
|
|
Add docs section on test sharding
Fixes #3622
PiperOrigin-RevId: 405712812
|
|
Internal change
PiperOrigin-RevId: 405710296
|
|
Remove GoogleTest's SleepMilliseconds function.
It is only used in tests and a portable implementation is available.
PiperOrigin-RevId: 405437102
|
|
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
|
|
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.
|
|
Add printer for __{u,}int128_t.
PiperOrigin-RevId: 402417369
|
|
add missing using ::testing::DoAll when DoAll used in example
PiperOrigin-RevId: 402416497
|
|
PiperOrigin-RevId: 402414489
|
|
Use newer Docker images in CI
The new floor image contains GCC 5.5.0, like the old one.
PiperOrigin-RevId: 402402465
|
|
|
|
PiperOrigin-RevId: 400792845
|
|
googletest: Add printer for {std,absl}::nullopt.
PiperOrigin-RevId: 399928554
|
|
Ensure `.what()` is printed in `ThrowsMessage(...)` to address https://github.com/google/googletest/issues/3582
Closes #3582
PiperOrigin-RevId: 399462851
|
|
|
|
PiperOrigin-RevId: 398271948
|
|
PiperOrigin-RevId: 397998384
|
|
PiperOrigin-RevId: 397995447
|
|
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
|
|
PiperOrigin-RevId: 397651677
|
|
|
|
|
|
|
|
https://pypi.org/project/codespell/
|
|
PiperOrigin-RevId: 397082478
|
|
Add a caveat section for potential memory leak with derived classes using `SetUpTestSuite`.
PiperOrigin-RevId: 396986728
|
|
Delete unsupported/deprecated scripts
PiperOrigin-RevId: 396847020
|
|
gmock-internal-utils.cc: Use `static_cast` instead of implicit conversion between signed and unsigned types
Fixes #3550
PiperOrigin-RevId: 396826071
|
|
Rollback delete of unsupported/deprecated scripts
PiperOrigin-RevId: 396699187
|
|
Delete unsupported/deprecated scripts
PiperOrigin-RevId: 396685976
|
|
Introduce GMOCK_FLAG_GET and GMOCK_FLAG_SET macros.
PiperOrigin-RevId: 396649214
|
|
|
|
Avoid segfault on null premature_exit_filepath.
PiperOrigin-RevId: 395965853
|
|
PiperOrigin-RevId: 392720416
|
|
PiperOrigin-RevId: 392665206
|
|
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
|
|
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
|
|
|
|
PiperOrigin-RevId: 390486428
|
|
PiperOrigin-RevId: 390467627
|
|
Identify bad specs of the type (const something, ...).
PiperOrigin-RevId: 390346843
|
|
Remove deprecated/unsupported scripts
PiperOrigin-RevId: 389873391
|
|
Fix a Python 2 to 3 issue
PiperOrigin-RevId: 389720056
|