- 15 Dec, 2021 1 commit
-
-
Dino Radakovic authored
PiperOrigin-RevId: 416567004 Change-Id: Ic407e0fcdf8ffd1c012a1b12df2837bdac1dccb4
-
- 08 Dec, 2021 1 commit
-
-
Copybara-Service authored
PiperOrigin-RevId: 415014511 Change-Id: If2e20eb9408a23b5574a2c87f651c2905f14fcac
-
- 07 Dec, 2021 1 commit
-
-
Abseil Team authored
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
-
- 04 Dec, 2021 1 commit
-
-
Ayush Joshi authored
This commit fixes issue #3681 Signed-off-by:Ayush Joshi <ayush854032@gmail.com>
-
- 03 Dec, 2021 1 commit
-
-
Abseil Team authored
PiperOrigin-RevId: 413963503 Change-Id: I33440780bf087698f4e4325399227405885430b3
-
- 02 Dec, 2021 1 commit
-
-
Abseil Team authored
PiperOrigin-RevId: 413674665 Change-Id: I466f87348390f42434a70f183efdf0557be9dddd
-
- 30 Nov, 2021 1 commit
-
-
Abseil Team authored
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
-
- 24 Nov, 2021 1 commit
-
-
Copybara-Service authored
PiperOrigin-RevId: 411929458 Change-Id: Id102172091fb708c0c8252da6d3570771fc15dba
-
- 18 Nov, 2021 3 commits
-
-
Copybara-Service authored
PiperOrigin-RevId: 410816561 Change-Id: I466575011dd468dd93b5ecb683955713d261e96b
-
Copybara-Service authored
PiperOrigin-RevId: 410816213 Change-Id: Ic33a2f432b2a125ce36355fa802b51a33a1eea23
-
Copybara-Service authored
PiperOrigin-RevId: 410816204 Change-Id: Ib4c4851ae4e8a612d60184f53cd565c75671c4c6
-
- 17 Nov, 2021 1 commit
-
-
Denis Samoilov authored
When _DEBUG is not defined the _CrtSetDbgFlag turns into ((int)0), which causes unused-value warning for clang.
-
- 16 Nov, 2021 3 commits
-
-
assafpr authored
-
assafpr authored
-
Krystian Kuzniarek authored
-
- 15 Nov, 2021 2 commits
-
-
Taylor Cramer authored
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
-
Derek Mauro authored
PiperOrigin-RevId: 410041507 Change-Id: I6ca514249a54e7fbe6d8fbf4f07317a39af40929
-
- 12 Nov, 2021 2 commits
-
-
Abseil Team authored
Fix typo in gmock-matchers_test.cc: CanDescribeNegationOfExpectingOneElment => CanDescribeNegationOfExpectingOneElement PiperOrigin-RevId: 409484263 Change-Id: I7448d6f04a9868602e0bc8dec40ea3eb63d3e387
-
dinord authored
PiperOrigin-RevId: 409417242
-
- 10 Nov, 2021 4 commits
-
-
Abseil Team authored
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
-
dinord authored
PiperOrigin-RevId: 408896910
-
dmauro authored
Explicitly used unsigned chars for testing for valid XML characters PiperOrigin-RevId: 408692969
-
Mario Emmenlauer authored
-
- 09 Nov, 2021 4 commits
-
-
Abseil Team authored
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
-
Abseil Team authored
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
-
Abseil Team authored
Add printer for std::type_info. PiperOrigin-RevId: 408375407
-
Abseil Team authored
Style only change. Make use of advanced testing functions `FloatLE` and `DoubleLE` consistent. PiperOrigin-RevId: 407660542
-
- 05 Nov, 2021 1 commit
-
-
Raul Tambre authored
This was deprecated by P0174 in C++17.
-
- 03 Nov, 2021 8 commits
-
-
Abseil Team authored
Address unused variable warning in gtest.h Closes #3645 PiperOrigin-RevId: 407393922
-
CJ Johnson authored
PiperOrigin-RevId: 407356792
-
dmauro authored
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
-
dmauro authored
Remove the subprocess fallback code for older versions of Python PiperOrigin-RevId: 405967578
-
Abseil Team authored
Add docs section on test sharding Fixes #3622 PiperOrigin-RevId: 405712812
-
Abseil Team authored
Internal change PiperOrigin-RevId: 405710296
-
dmauro authored
Remove GoogleTest's SleepMilliseconds function. It is only used in tests and a portable implementation is available. PiperOrigin-RevId: 405437102
-
dmauro authored
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
-
- 01 Nov, 2021 1 commit
-
-
lmat authored
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.
-
- 20 Oct, 2021 1 commit
-
-
Henner Zeller authored
Running on major platforms. Signed-off-by:Henner Zeller <h.zeller@acm.org>
-
- 13 Oct, 2021 2 commits
-
-
Abseil Team authored
Add printer for __{u,}int128_t. PiperOrigin-RevId: 402417369 -
Abseil Team authored
add missing using ::testing::DoAll when DoAll used in example PiperOrigin-RevId: 402416497
-