Homec4science

Googletest export

Authored by Abseil Team <absl-team@google.com> on Oct 10 2019, 00:14.

Description

Googletest export

Add a compile time check to ensure that the parameters to TEST_P and INSTANTIATE_TEST_SUITE_P are not empty. Some compilers already fail in that case and, even where it works, it's likely to result in technically invalid code by virtue of creating reserved identifiers:
https://en.cppreference.com/w/cpp/language/identifiers

PiperOrigin-RevId: 273832263

Details

Committed
Gennadiy Civil <misterg@google.com>Oct 10 2019, 15:21
Pushed
trottetDec 4 2019, 13:52
Parents
R9484:5395345ca4f0: Merge pull request #2497 from thejcannon:handle_null_filename
Branches
Unknown
Tags
Unknown

Event Timeline

Gennadiy Civil <misterg@google.com> committed R9484:20b5b8ecc7a8: Googletest export (authored by Abseil Team <absl-team@google.com>).Oct 10 2019, 15:21