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

### Describe the issue It seems like the address sanitizer currently finds a false-positive in gtest regarding validation of vtable pointers. The code is correct but the compiler can't know...

Fixed 2 bugs at building with cmake: CMake Error at CMakeLists.txt:124 (set_target_properties): set_target_properties called with incorrect number of arguments. CMake Error at CMakeLists.txt:142 (set_target_properties): set_target_properties called with incorrect number of...

### Does the feature exist in the most recent commit? N/A ### Why do we need this feature? The Bazel ecosystem is gradually migrating to use [bzlmod](https://bazel.build/external/overview#bzlmod). Bzlmod is great...

enhancement

This PR optimizes the Bazel dependency loading script for GoogleTest by introducing a helper function (maybe_http_archive) to reduce redundancy and improve maintainability.

This PR optimizes the Bazel dependency loading script for GoogleTest by introducing a helper function (maybe_http_archive) to reduce redundancy and improve maintainability.

### Does the feature exist in the most recent commit? No ### Why do we need this feature? The existing `(Safe)MatcherCast` and `WhenDynamicCastTo` do not work well for pointers such...

enhancement

I've found some warnings when compiling my tests using the `-Wuseless-cast` flag. The proposed changes seems to fix it. ``` --- stderr: robot_health_checker In file included from /opt/ros/humble/src/gtest_vendor/./src/gtest.cc:122, from /opt/ros/humble/src/gtest_vendor/src/gtest-all.cc:41:...

### Does the feature exist in the most recent commit? NA ### Why do we need this feature? NA ### Describe the proposal. ## Description For aarch64 platform, I have...

enhancement

### Describe the issue I cross-compile the gtest lib for QNX. But the libgtest.so.1.12.1, **it doesn't have the symbol 'regexec'**. ### Steps to reproduce the problem I do `source /opt/qnx/qnx710_v45601/qnxsdp-env.sh...