Homec4science

Add GTEST_ATTRIBUTE_UNUSED_ to REGISTER_TYPED_TEST_CASE_P

Authored by Mike Bjorge <mbjorge@google.com> on Jan 10 2017, 01:02.

Description

Add GTEST_ATTRIBUTE_UNUSED_ to REGISTER_TYPED_TEST_CASE_P

If REGISTER_TYPED_TEST_CASE_P is included in a header file, but
the .cc file does not declare INSTANTIATE_TYPED_TEST_CASE_P, an
unused-variable warning may be raised by the compiler.

Details

Committed
Mike Bjorge <mbjorge@google.com>Jan 10 2017, 01:02
Pushed
trottetDec 4 2019, 13:52
Parents
R9484:5e7fd50e17b6: Merge pull request #658 from audiofanatic/ExternalProject_at_configure_time
Branches
Unknown
Tags
Unknown

Event Timeline

Mike Bjorge <mbjorge@google.com> committed R9484:06a81e9357b6: Add GTEST_ATTRIBUTE_UNUSED_ to REGISTER_TYPED_TEST_CASE_P (authored by Mike Bjorge <mbjorge@google.com>).Jan 10 2017, 01:02