Fix QUIC core test display
Tests names will now display a pretty name instead of the test index.
For example new string is:
QuicStreamTests/QuicStreamTest.PendingStreamStaticness/Q048
as opposed to old:
QuicStreamTests/QuicStreamTest.PendingStreamStaticness/33
gfe-relnote: n/a, test-only
PiperOrigin-RevId: 269934211
Change-Id: I44552e9730c57e00a3829f5a15ba10d8af2dc207
diff --git a/quic/core/quic_stream_id_manager_test.cc b/quic/core/quic_stream_id_manager_test.cc
index 67f20f4..7c1233b 100644
--- a/quic/core/quic_stream_id_manager_test.cc
+++ b/quic/core/quic_stream_id_manager_test.cc
@@ -189,7 +189,10 @@
: QuicStreamIdManagerTestBase(Perspective::IS_CLIENT) {}
};
-INSTANTIATE_TEST_SUITE_P(Tests, QuicStreamIdManagerTestClient, testing::Bool());
+INSTANTIATE_TEST_SUITE_P(Tests,
+ QuicStreamIdManagerTestClient,
+ ::testing::Bool(),
+ ::testing::PrintToStringParamName());
// Check that the parameters used by the stream ID manager are properly
// initialized.
@@ -721,7 +724,10 @@
session_->OnConfigNegotiated();
}
-INSTANTIATE_TEST_SUITE_P(Tests, QuicStreamIdManagerTestServer, testing::Bool());
+INSTANTIATE_TEST_SUITE_P(Tests,
+ QuicStreamIdManagerTestServer,
+ ::testing::Bool(),
+ ::testing::PrintToStringParamName());
// This test checks that the initialization for the maximum allowed outgoing
// stream id is correct.