src/net/third_party/quiche/src/quic/core/quic_stream_id_manager_test.cc
TEST_P(QuicStreamIdManagerTest, CheckMaxStreamsWindowForSingleStream) {
  stream_id_manager_.SetMaxOpenIncomingStreams(1);
  EXPECT_EQ(1u, stream_id_manager_.incoming_initial_max_open_streams());
  EXPECT_EQ(1u, stream_id_manager_.incoming_actual_max_streams());
}
// This test checks that the stream advertisement window is set to 1
// if the number of stream ids is 1. This is a special case in the code.
This test checks that the stream advertisement window is set to 1
if the number of stream ids is 1. This is a special case in the code.
This test checks that the stream advertisement window is set to 1 if the number of stream ids is 1 . This is a special case in the code .
TEST_P(QuicStreamIdManagerTest, CheckMaxStreamsWindowForSingleStream) {
  stream_id_manager_.SetMaxOpenIncomingStreams(1);
  EXPECT_EQ(1u, stream_id_manager_.incoming_initial_max_open_streams());
  EXPECT_EQ(1u, stream_id_manager_.incoming_actual_max_streams());
}
TEST_P ( QuicStreamIdManagerTest , CheckMaxStreamsWindowForSingleStream ) { stream_id_manager_ . SetMaxOpenIncomingStreams ( 1 ) ; EXPECT_EQ ( 1u , stream_id_manager_ . incoming_initial_max_open_streams ( ) ) ; EXPECT_EQ ( 1u , stream_id_manager_ . incoming_actual_max_streams ( ) ) ; }
This test checks that the stream advertisement window is set to 1
if the number of stream ids is 1.
This test checks that the stream advertisement window is set to 1 if the number of stream ids is 1 .