-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GTest deprecated TYPED_TEST_CASE
#3373
Comments
Which version of GTest is that? I don't get any warnings with 1.8.0. If we are to fix these, a solution that works with GTest 1.7.0 (default on Ubuntu 16.04) is needed. |
I use master (simple git clone) and point CMake to the current default.
That... might be difficult. I did a grep and no search showed up that might suggest that TYPED_TEST_SUITE would work on 1.7.0 |
These warnings don't seem to appear when using GCC |
The warnings arise while using
I reproduced them with the following details:
Here, EDIT: Updated. Also, ninja isn't required, I just prefer it. |
Just to mention: This is deprecated since GoogleTest 1.10.x. |
I was planning to put in a PR for this but I see that some work has already been done here #3419 |
|
You just needs to checkout to this pr, set a local branch (a nice to remember name) for it and set its upstream remote as the PR. No need to push to author's fork, right? I didn't have to push to Sergio's branch in order to modify his work. I might be wrong though |
I don't think I can push directly to the PR. |
Forgot I was a maintainer 🤣 |
Warning is as follows:
This occurs in many places throughout tests.
Your Environment
The GTest used is from the master branch as per the "gtest" best-practices instead of OS installed version.
Expected Behavior
No warnings
Possible Solution
A simple
sed
might solve thisThe text was updated successfully, but these errors were encountered: