Homec4science

Googletest export

Authored by Abseil Team <absl-team@google.com> on Aug 28 2018, 15:40.

Description

Googletest export

Add the possibility of specifying the name in type parameterized tests.

Similar to how the last parameter of INSTANTIATE_TEST_CASE_P allows to override the name for (non-type) parametrized tests, this adds the possibility of adding a parameter to INSTANTIATE_TYPED_TEST_CASE_P. The argument has to be a class, which contains a static templated function GetName<T>(int), returning the name for type T.

PiperOrigin-RevId: 210532231

Details

Committed
Gennadiy Civil <misterg@google.com>Aug 28 2018, 22:53
Pushed
trottetDec 4 2019, 13:52
Parents
R9484:52f8183e7f36: Googletest export
Branches
Unknown
Tags
Unknown

Event Timeline

Gennadiy Civil <misterg@google.com> committed R9484:03867b538951: Googletest export (authored by Abseil Team <absl-team@google.com>).Aug 28 2018, 22:53