chromium/net/spdy/buffered_spdy_framer_unittest.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40284755): Remove this and spanify to fix the errors.
#pragma allow_unsafe_buffers
#endif

#include "net/spdy/buffered_spdy_framer.h"

#include <algorithm>
#include <string_view>
#include <utility>

#include "base/logging.h"
#include "net/log/net_log_with_source.h"
#include "net/spdy/spdy_test_util_common.h"
#include "net/third_party/quiche/src/quiche/common/http/http_header_block.h"
#include "testing/platform_test.h"

namespace net {

namespace {

class TestBufferedSpdyVisitor : public BufferedSpdyFramerVisitorInterface {};

}  // namespace

class BufferedSpdyFramerTest : public PlatformTest {};

TEST_F(BufferedSpdyFramerTest, OnSetting) {}

TEST_F(BufferedSpdyFramerTest, HeaderListTooLarge) {}

TEST_F(BufferedSpdyFramerTest, ValidHeadersAfterInvalidHeaders) {}

TEST_F(BufferedSpdyFramerTest, ReadHeadersHeaderBlock) {}

TEST_F(BufferedSpdyFramerTest, ReadPushPromiseHeaderBlock) {}

TEST_F(BufferedSpdyFramerTest, GoAwayDebugData) {}

// ALTSVC frame on stream 0 must have an origin.
TEST_F(BufferedSpdyFramerTest, OnAltSvcOnStreamZero) {}

// ALTSVC frame on a non-zero stream must not have an origin.
TEST_F(BufferedSpdyFramerTest, OnAltSvcOnNonzeroStream) {}

}  // namespace net