#include "quiche/quic/core/qpack/qpack_encoder_stream_receiver.h"
#include <string>
#include "absl/strings/escaping.h"
#include "absl/strings/string_view.h"
#include "quiche/quic/platform/api/quic_test.h"
Eq;
StrictMock;
namespace quic {
namespace test {
namespace {
class MockDelegate : public QpackEncoderStreamReceiver::Delegate { … };
class QpackEncoderStreamReceiverTest : public QuicTest { … };
TEST_F(QpackEncoderStreamReceiverTest, InsertWithNameReference) { … }
TEST_F(QpackEncoderStreamReceiverTest, InsertWithNameReferenceIndexTooLarge) { … }
TEST_F(QpackEncoderStreamReceiverTest, InsertWithNameReferenceValueTooLong) { … }
TEST_F(QpackEncoderStreamReceiverTest, InsertWithoutNameReference) { … }
TEST_F(QpackEncoderStreamReceiverTest,
InsertWithoutNameReferenceNameTooLongForVarintDecoder) { … }
TEST_F(QpackEncoderStreamReceiverTest,
InsertWithoutNameReferenceNameExceedsLimit) { … }
TEST_F(QpackEncoderStreamReceiverTest,
InsertWithoutNameReferenceValueTooLongForVarintDecoder) { … }
TEST_F(QpackEncoderStreamReceiverTest,
InsertWithoutNameReferenceValueExceedsLimit) { … }
TEST_F(QpackEncoderStreamReceiverTest, Duplicate) { … }
TEST_F(QpackEncoderStreamReceiverTest, DuplicateIndexTooLarge) { … }
TEST_F(QpackEncoderStreamReceiverTest, SetDynamicTableCapacity) { … }
TEST_F(QpackEncoderStreamReceiverTest, SetDynamicTableCapacityTooLarge) { … }
TEST_F(QpackEncoderStreamReceiverTest, InvalidHuffmanEncoding) { … }
}
}
}