mirror of
https://github.com/google/googletest.git
synced 2026-09-25 04:09:59 +03:00
Fix misc-override-with-different-visibility warning
TEST_P overrides TestBody() with public visibility instead of private as defined in the Test base class PiperOrigin-RevId: 981828756 Change-Id: I9ad0852642520b6b8585df15c3e63885f6fbd135
This commit is contained in:
committed by
Copybara-Service
parent
8eff9e3366
commit
f840327b0f
@@ -510,9 +510,9 @@ auto ConvertGenerator(Gen&& gen, Func&& f) {
|
||||
private ::testing::internal::GTestNonCopyable { \
|
||||
public: \
|
||||
GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)() {} \
|
||||
void TestBody() override; \
|
||||
\
|
||||
private: \
|
||||
void TestBody() override; \
|
||||
static int AddToRegistry() { \
|
||||
::testing::UnitTest::GetInstance() \
|
||||
->parameterized_test_registry() \
|
||||
|
||||
Reference in New Issue
Block a user