#include "quiche/quic/core/quic_stream_send_buffer.h"
#include <string>
#include <utility>
#include <vector>
#include "absl/strings/string_view.h"
#include "quiche/quic/core/quic_data_writer.h"
#include "quiche/quic/core/quic_utils.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_stream_send_buffer_peer.h"
#include "quiche/quic/test_tools/quic_test_utils.h"
#include "quiche/common/simple_buffer_allocator.h"
namespace quic {
namespace test {
namespace {
class QuicStreamSendBufferTest : public QuicTest { … };
TEST_F(QuicStreamSendBufferTest, CopyDataToBuffer) { … }
TEST_F(QuicStreamSendBufferTest,
WriteStreamDataContainsBothRetransmissionAndNewData) { … }
TEST_F(QuicStreamSendBufferTest, RemoveStreamFrame) { … }
TEST_F(QuicStreamSendBufferTest, RemoveStreamFrameAcrossBoundries) { … }
TEST_F(QuicStreamSendBufferTest, AckStreamDataMultipleTimes) { … }
TEST_F(QuicStreamSendBufferTest, AckStreamDataOutOfOrder) { … }
TEST_F(QuicStreamSendBufferTest, PendingRetransmission) { … }
TEST_F(QuicStreamSendBufferTest, EndOffset) { … }
TEST_F(QuicStreamSendBufferTest, SaveMemSliceSpan) { … }
TEST_F(QuicStreamSendBufferTest, SaveEmptyMemSliceSpan) { … }
}
}
}