Add names to tuple-parameterized tests
Test names can only contain alphanumeric characters, plus underscores. testing::PrintToStringParamName() stringifies tuples using characters that aren't valid for test names. Add a similar function which joins each element using underscores. This will generate valid names for test parameterization, provided each element of the tuple can be written using valid characters. Bug: 1092945, 1117587 Change-Id: I868b1d4040a93bdbf763dbb45b94ff15f181dd18 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2376882Reviewed-by:kylechar <kylechar@chromium.org> Commit-Queue: Sean Gilhuly <sgilhuly@chromium.org> Cr-Commit-Position: refs/heads/master@{#803182}
Showing
Please register or sign in to comment