googletest
googletest copied to clipboard
GoogleTest - Google Testing and Mocking Framework
When we run clang-tidy on our source code, it finds hundreds of issues related to usages of gtest. We currently have to disable a few clang-tidy checks because of this....
The linking process fails when a test use scoped enums with this error; an older version would fallback to print the hexadecimal values of the variable instead of failing. Library...
**Describe the bug** gtest_premature_exit_test expects to find an environment variable "TEST_PREMATURE_EXIT_FILE" telling it where to find a file needed to run the test properly. If this environment variable isn't set,...
**Describe the bug** googletest-output-test.py has a feature where you can set the environment variable DEBUG_GTEST_OUTPUT_TEST to get dumps of the output it saw and the output it expected to see....
MSVC warns about unreachable code in `BuiltInDefaultValueGetter::Get`. The `C4702` warning has been disabled globally in the GoogleTest project itself but might pop up in downstream code.
**Describe the bug** During an uplift of our gtest version we got compilation failures for our QNX compiler but not for gcc or clang. I bisected it to this commit:...
**Describe the bug** I built GoogleTest without **pthread** on Linux and successful compile tests with it using mocks. When running these tests all of them crash with a final message...
**Problem**: switch statements should cover all cases. **Solution**: Added missing enumerations in switch statements and added [[fallthrough]] attribute to denote that the default case is the desired case for these...
gMock outputs text like: NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't...
**Describe the bug** It fails testsuite with -flto=auto -ffat-lto-objects CFLAGS on ppc64el **Steps to reproduce the bug** export CXXFLAGS="-flto=auto -ffat-lto-objects" **Does the bug persist in the most recent commit?** Yes,...