src/net/third_party/quiche/src/quic/core/quic_stream_id_manager_test.cc
TEST_P(QuicStreamIdManagerTest, IsIncomingStreamIdInValidAboveLimit) {
  QuicStreamId stream_id =
      GetNthIncomingStreamId(stream_id_manager_.incoming_actual_max_streams());
  std::string error_details;
  EXPECT_FALSE(stream_id_manager_.MaybeIncreaseLargestPeerStreamId(
      stream_id, &error_details));
  EXPECT_EQ(error_details,
            absl::StrCat("Stream id ", stream_id,
                         " would exceed stream count limit 100"));
}
// Close the connection if the id exceeds the limit.
Close the connection if the id exceeds the limit.
Close the connection if the id exceeds the limit .
TEST_P(QuicStreamIdManagerTest, IsIncomingStreamIdInValidAboveLimit) {
  QuicStreamId stream_id =
      GetNthIncomingStreamId(stream_id_manager_.incoming_actual_max_streams());
  std::string error_details;
  EXPECT_FALSE(stream_id_manager_.MaybeIncreaseLargestPeerStreamId(
      stream_id, &error_details));
  EXPECT_EQ(error_details,
            absl::StrCat("Stream id ", stream_id,
                         " would exceed stream count limit 100"));
}
TEST_P ( QuicStreamIdManagerTest , IsIncomingStreamIdInValidAboveLimit ) { QuicStreamId stream_id = GetNthIncomingStreamId ( stream_id_manager_ . incoming_actual_max_streams ( ) ) ; std :: string error_details ; EXPECT_FALSE ( stream_id_manager_ . MaybeIncreaseLargestPeerStreamId ( stream_id , & error_details ) ) ; EXPECT_EQ ( error_details , absl :: StrCat ( " " , stream_id , " " ) ) ; }
Close the connection if the id exceeds the limit.
Close the connection if the id exceeds the limit .