| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
PiperOrigin-RevId: 421915817
Change-Id: I22800e8943f9eb050304c521701d4040b1b7a914
|
|
|
|
|
|
|
| |
CMake 3.22.1, and Bazel 4.2.2
PiperOrigin-RevId: 421814198
Change-Id: Ief4e39d7f077089f10afdc8d63cc1e51dc18e97f
|
|
|
|
|
|
|
| |
dispatch. It will use the definition from the class the constructor of which
PiperOrigin-RevId: 421291241
Change-Id: If81e3d6d3774edfbbb4baaec8a3cd96566b3b09c
|
|\
| |
| |
| |
| | |
PiperOrigin-RevId: 421044680
Change-Id: If585089811f1b67eab6f339125c27174ee5bc290
|
| |
| |
| |
| |
| |
| | |
They were all removed in #2815, but it looks like this one got added
from a Google export which missed the update. See #2815 for reasons why
removing this is desirable.
|
|\ \
| |/
|/|
| |
| | |
PiperOrigin-RevId: 420863433
Change-Id: Ie8c43caff6fb2493ecd47bed50de9db87221f46f
|
| | |
|
| |
| |
| |
| |
| | |
PiperOrigin-RevId: 418497526
Change-Id: Ie53c3c0810c10a32cbcb941e3ca1ee8fb1ddd9f9
|
| |
| |
| |
| |
| |
| |
| | |
than `testing` sub-directory.
PiperOrigin-RevId: 417945818
Change-Id: I8686ee0414fb80269528677f291877a231d1c991
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
unifying the behavior between Bazel and CMake
This fixes one of the CI failures on Windows
PiperOrigin-RevId: 417872531
Change-Id: I156989323b7e6d4a4420f4f9691b078829db933d
|
|/
|
|
|
| |
PiperOrigin-RevId: 417678422
Change-Id: I8e42a906459b8fd5a7789a7ed728d12448046c44
|
|\
| |
| |
| |
| | |
PiperOrigin-RevId: 417474317
Change-Id: I4c84f59ba272a6bec3f992f7afae36e1c5617fad
|
| | |
|
| |
| |
| |
| |
| | |
PiperOrigin-RevId: 416567004
Change-Id: Ic407e0fcdf8ffd1c012a1b12df2837bdac1dccb4
|
|\ \
| | |
| | |
| | |
| | | |
PiperOrigin-RevId: 415014511
Change-Id: If2e20eb9408a23b5574a2c87f651c2905f14fcac
|
| | |
| | |
| | |
| | |
| | |
| | | |
This commit fixes issue #3681
Signed-off-by: Ayush Joshi <ayush854032@gmail.com>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Example command:
```
clang_tidy '--config={Checks: "modernize-use-trailing-return-type"}' googletest-death-test-test.cc
```
Example error:
```
warning: use a trailing return type for this function [modernize-use-trailing-return-type]
TEST(NotADeathTest, Test) {
^
```
PiperOrigin-RevId: 414836261
Change-Id: I5f758423667559abfbf313190543666bc4ce0e6e
|
| |
| |
| |
| |
| | |
PiperOrigin-RevId: 413963503
Change-Id: I33440780bf087698f4e4325399227405885430b3
|
| |
| |
| |
| |
| | |
PiperOrigin-RevId: 413674665
Change-Id: I466f87348390f42434a70f183efdf0557be9dddd
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
On KitKat, calling tzset with UTC+nn doesn't initialize all the
timezone state. If the previous timezone was something like
America/Chicago, then changing it to UTC+nn might have no effect.
Setting the timezone to an intermediate value like "UTC" avoids the
problem.
Works around https://github.com/android/ndk/issues/1604.
PiperOrigin-RevId: 413050236
Change-Id: I99b2d3330ae68f1d58cd2ca278d3eaae30bd1e83
|
|\
| |
| |
| |
| | |
PiperOrigin-RevId: 411929458
Change-Id: Id102172091fb708c0c8252da6d3570771fc15dba
|
| |
| |
| |
| |
| |
| | |
Running on major platforms.
Signed-off-by: Henner Zeller <h.zeller@acm.org>
|
|\ \
| | |
| | |
| | |
| | | |
PiperOrigin-RevId: 410816561
Change-Id: I466575011dd468dd93b5ecb683955713d261e96b
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 410816213
Change-Id: Ic33a2f432b2a125ce36355fa802b51a33a1eea23
|
| | | | |
|
| |/ / |
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
PiperOrigin-RevId: 410816204
Change-Id: Ib4c4851ae4e8a612d60184f53cd565c75671c4c6
|
|/ /
| |
| |
| |
| | |
When _DEBUG is not defined the _CrtSetDbgFlag turns into ((int)0),
which causes unused-value warning for clang.
|
| |
| |
| |
| |
| |
| |
| |
| | |
The previous error message could be misinterpreted to mean that `Times` could not be
used in combination with `WillRepeatedly`, when in fact the call to `Times` just needs to happen *first*.
PiperOrigin-RevId: 410070405
Change-Id: I747d34a4334cf2e56d589dcad3a08a8f322d77c8
|
| |
| |
| |
| |
| | |
PiperOrigin-RevId: 410041507
Change-Id: I6ca514249a54e7fbe6d8fbf4f07317a39af40929
|
| |
| |
| |
| |
| |
| |
| | |
=> CanDescribeNegationOfExpectingOneElement
PiperOrigin-RevId: 409484263
Change-Id: I7448d6f04a9868602e0bc8dec40ea3eb63d3e387
|
|\ \
| | |
| | |
| | | |
PiperOrigin-RevId: 409417242
|
| | |
| | |
| | |
| | | |
This was deprecated by P0174 in C++17.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Revert CL that updated example for SetUpTestSuite/TearDownTestSuite to initialize static member variables inline.
It seems that non-const static data members for some reason still must be initialized out-of-line.
PiperOrigin-RevId: 408913846
|
|\ \ \
| | | |
| | | |
| | | | |
PiperOrigin-RevId: 408896910
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
Explicitly used unsigned chars for testing for valid XML characters
PiperOrigin-RevId: 408692969
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|