chromium/net/third_party/quiche/src/quiche/quic/core/http/spdy_utils_test.cc

// Copyright 2016 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/http/spdy_utils.h"

#include <memory>
#include <string>

#include "absl/base/macros.h"
#include "absl/strings/string_view.h"
#include "quiche/quic/core/quic_versions.h"
#include "quiche/quic/platform/api/quic_test.h"

HttpHeaderBlock;
Pair;
UnorderedElementsAre;

namespace quic {
namespace test {
namespace {

const bool kExpectFinalByteOffset =;
const bool kDoNotExpectFinalByteOffset =;

static std::unique_ptr<QuicHeaderList> FromList(
    const QuicHeaderList::ListType& src) {}

}  // anonymous namespace

CopyAndValidateHeaders;

TEST_F(CopyAndValidateHeaders, NormalUsage) {}

TEST_F(CopyAndValidateHeaders, EmptyName) {}

TEST_F(CopyAndValidateHeaders, UpperCaseName) {}

TEST_F(CopyAndValidateHeaders, MultipleContentLengths) {}

TEST_F(CopyAndValidateHeaders, InconsistentContentLengths) {}

TEST_F(CopyAndValidateHeaders, LargeContentLength) {}

TEST_F(CopyAndValidateHeaders, NonDigitContentLength) {}

TEST_F(CopyAndValidateHeaders, MultipleValues) {}

TEST_F(CopyAndValidateHeaders, MoreThanTwoValues) {}

TEST_F(CopyAndValidateHeaders, Cookie) {}

TEST_F(CopyAndValidateHeaders, MultipleCookies) {}

CopyAndValidateTrailers;

TEST_F(CopyAndValidateTrailers, SimplestValidList) {}

TEST_F(CopyAndValidateTrailers, EmptyTrailerListWithFinalByteOffsetExpected) {}

TEST_F(CopyAndValidateTrailers,
       EmptyTrailerListWithFinalByteOffsetNotExpected) {}

TEST_F(CopyAndValidateTrailers, FinalByteOffsetExpectedButNotPresent) {}

TEST_F(CopyAndValidateTrailers, FinalByteOffsetNotExpectedButPresent) {}

TEST_F(CopyAndValidateTrailers, FinalByteOffsetNotExpectedAndNotPresent) {}

TEST_F(CopyAndValidateTrailers, EmptyName) {}

TEST_F(CopyAndValidateTrailers, PseudoHeaderInTrailers) {}

TEST_F(CopyAndValidateTrailers, DuplicateTrailers) {}

TEST_F(CopyAndValidateTrailers, DuplicateCookies) {}

PopulateHeaderBlockFromUrl;

TEST_F(PopulateHeaderBlockFromUrl, NormalUsage) {}

TEST_F(PopulateHeaderBlockFromUrl, UrlWithNoPath) {}

TEST_F(PopulateHeaderBlockFromUrl, Failure) {}

ExtractQuicVersionFromAltSvcEntry;

TEST_F(ExtractQuicVersionFromAltSvcEntry, SupportedVersion) {}

TEST_F(ExtractQuicVersionFromAltSvcEntry, UnsupportedVersion) {}

}  // namespace test
}  // namespace quic