#include "quiche/quic/core/quic_control_frame_manager.h"
#include <memory>
#include <utility>
#include <vector>
#include "quiche/quic/core/crypto/null_encrypter.h"
#include "quiche/quic/core/frames/quic_ack_frequency_frame.h"
#include "quiche/quic/core/frames/quic_retire_connection_id_frame.h"
#include "quiche/quic/core/quic_types.h"
#include "quiche/quic/platform/api/quic_expect_bug.h"
#include "quiche/quic/platform/api/quic_flags.h"
#include "quiche/quic/platform/api/quic_test.h"
#include "quiche/quic/test_tools/quic_test_utils.h"
_;
InSequence;
Invoke;
Return;
StrictMock;
namespace quic {
namespace test {
class QuicControlFrameManagerPeer { … };
namespace {
const QuicStreamId kTestStreamId = …;
const QuicRstStreamErrorCode kTestStopSendingCode = …;
class QuicControlFrameManagerTest : public QuicTest { … };
TEST_F(QuicControlFrameManagerTest, InitialState) { … }
TEST_F(QuicControlFrameManagerTest, WriteOrBufferRstStream) { … }
TEST_F(QuicControlFrameManagerTest, WriteOrBufferGoAway) { … }
TEST_F(QuicControlFrameManagerTest, WriteOrBufferWindowUpdate) { … }
TEST_F(QuicControlFrameManagerTest, WriteOrBufferBlocked) { … }
TEST_F(QuicControlFrameManagerTest, WriteOrBufferStopSending) { … }
TEST_F(QuicControlFrameManagerTest, BufferWhenWriteControlFrameReturnsFalse) { … }
TEST_F(QuicControlFrameManagerTest, BufferThenSendThenBuffer) { … }
TEST_F(QuicControlFrameManagerTest, OnControlFrameAcked) { … }
TEST_F(QuicControlFrameManagerTest, OnControlFrameLost) { … }
TEST_F(QuicControlFrameManagerTest, RetransmitControlFrame) { … }
TEST_F(QuicControlFrameManagerTest, SendAndAckAckFrequencyFrame) { … }
TEST_F(QuicControlFrameManagerTest, NewAndRetireConnectionIdFrames) { … }
TEST_F(QuicControlFrameManagerTest, DonotRetransmitOldWindowUpdates) { … }
TEST_F(QuicControlFrameManagerTest, RetransmitWindowUpdateOfDifferentStreams) { … }
TEST_F(QuicControlFrameManagerTest, TooManyBufferedControlFrames) { … }
TEST_F(QuicControlFrameManagerTest, NumBufferedMaxStreams) { … }
}
}
}