Homec4science

Googletest export

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

Description

Googletest export

  • Fix a bug in dealing with paramaterized tests where the name is it self a macro expansion.
  • Add a compile time check to ensure that the parameters to TEST_P and INSTANTIATE_TEST_SUITE_P are not empty. The above fix causes some compilers to 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: 274047249

Details

Committed
Gennadiy Civil <misterg@google.com>Oct 11 2019, 13:07
Pushed
trottetDec 4 2019, 13:52
Parents
R9484:ed78e54f38ab: Googletest export
Branches
Unknown
Tags
Unknown

Event Timeline

Gennadiy Civil <misterg@google.com> committed R9484:a4a5a7c768ce: Googletest export (authored by Abseil Team <absl-team@google.com>).Oct 11 2019, 13:07