Skip to content
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

GTestConvertor using legacy version of Google Test #1469

Open
mickeykkim opened this issue Jun 18, 2021 · 0 comments
Open

GTestConvertor using legacy version of Google Test #1469

mickeykkim opened this issue Jun 18, 2021 · 0 comments

Comments

@mickeykkim
Copy link

mickeykkim commented Jun 18, 2021

References of TestCase should be changed to TestSuite in GTestConvertor.h. TestCase is Google Test legacy API and should be updated to reflect the current version of Google Test.

Otherwise this error occurs:

shared/libs/googletest/googletest/include/gtest/gtest.h:199:7: error: typedef redefinition with different types ('testing::TestSuite' vs 'testing::TestCase')
using TestCase = TestSuite;
      ^
cpputest/include/CppUTestExt/GTestConvertor.h:57:11: note: previous definition is here
    class TestCase;

#1470 was created to introduce this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant