googletest icon indicating copy to clipboard operation
googletest copied to clipboard

GoogleTest - Google Testing and Mocking Framework

Results 460 googletest issues
Sort by recently updated
recently updated
newest added

**Does the feature exist in the most recent commit?** No **Why do we need this feature?** When implementing a custom `PrintTo` that needs to print some generic types, I currently...

enhancement

fixes #3535 Use a temporary tuple_args instead of forwarding directly to Perform

cla: yes

When compiling tests with bazel with clang on linux, I get a linker error `undefined reference to nextafter`. **Does the bug persist in the most recent commit?** Yes. **What operating...

bug

The new wrappers allow a platform port to use something different than stdout, for example using OutputDebugString; This is a follow up on https://github.com/google/googletest/pull/1201 which was rejected because it relied...

Guard functions in `internal/gtest-port.h` so they can be redefined in `internal/custom/gtest-port.h` Maybe I am misunderstanding how ports should be made, but it seems like some settings can be set in...

The logic to convert `time_t` to `tm` is unfortunately quite platform dependant; This PR moves the selection of the right `localtime` function (`localtime`, `localtime_r` or `localtime_s`) to `gtest-port.h` so it...

Problem: when operating “CMake compile and VS2022 **Debug** build”, meets VS “LNK1107 invalid or corrupt file: cannot read at 0x378” and "gmock_mainpdb_debug_postfix-NOTFOUND.pdb" creates in file systems Environment: Win10 Process: 1...

bug

According to https://stackoverflow.com/questions/23250863/difference-between-pthread-and-lpthread-while-compiling https://stackoverflow.com/questions/2127797/significance-of-pthread-flag-when-compiling -pthread should be used instead of -lpthread in order to get the correct preprocessor defines set. This also affects pkg-config, which currently has -lpthread in Cflags...

Since `gtest_main` intercepts `argc` and `argv`, users are not given the opportunity to parse flags unless they write a custom main function. Consider calling `absl::ParseCommandLine` from `gtest_main` (or a similar...

enhancement