chromium/net/third_party/quiche/src/quiche/quic/core/qpack/qpack_encoder_stream_receiver_test.cc

// Copyright (c) 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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) {}

// Name Length value is too large for varint decoder to decode.
TEST_F(QpackEncoderStreamReceiverTest,
       InsertWithoutNameReferenceNameTooLongForVarintDecoder) {}

// Name Length value can be decoded by varint decoder but exceeds 1 MB limit.
TEST_F(QpackEncoderStreamReceiverTest,
       InsertWithoutNameReferenceNameExceedsLimit) {}

// Value Length value is too large for varint decoder to decode.
TEST_F(QpackEncoderStreamReceiverTest,
       InsertWithoutNameReferenceValueTooLongForVarintDecoder) {}

// Value Length value can be decoded by varint decoder but exceeds 1 MB limit.
TEST_F(QpackEncoderStreamReceiverTest,
       InsertWithoutNameReferenceValueExceedsLimit) {}

TEST_F(QpackEncoderStreamReceiverTest, Duplicate) {}

TEST_F(QpackEncoderStreamReceiverTest, DuplicateIndexTooLarge) {}

TEST_F(QpackEncoderStreamReceiverTest, SetDynamicTableCapacity) {}

TEST_F(QpackEncoderStreamReceiverTest, SetDynamicTableCapacityTooLarge) {}

TEST_F(QpackEncoderStreamReceiverTest, InvalidHuffmanEncoding) {}

}  // namespace
}  // namespace test
}  // namespace quic