#include "quiche/quic/core/http/http_decoder.h"
#include <memory>
#include <string>
#include <utility>
#include "absl/base/macros.h"
#include "absl/strings/escaping.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/string_view.h"
#include "quiche/quic/core/http/http_encoder.h"
#include "quiche/quic/core/http/http_frames.h"
#include "quiche/quic/core/quic_data_writer.h"
#include "quiche/quic/core/quic_versions.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_test_utils.h"
_;
AnyNumber;
ElementsAre;
Eq;
InSequence;
Return;
namespace quic {
namespace test {
class HttpDecoderPeer { … };
namespace {
class HttpDecoderTest : public QuicTest { … };
TEST_F(HttpDecoderTest, InitialState) { … }
TEST_F(HttpDecoderTest, UnknownFrame) { … }
TEST_F(HttpDecoderTest, CancelPush) { … }
TEST_F(HttpDecoderTest, PushPromiseFrame) { … }
TEST_F(HttpDecoderTest, MaxPushId) { … }
TEST_F(HttpDecoderTest, SettingsFrame) { … }
TEST_F(HttpDecoderTest, CorruptSettingsFrame) { … }
TEST_F(HttpDecoderTest, DuplicateSettingsIdentifier) { … }
TEST_F(HttpDecoderTest, DataFrame) { … }
TEST_F(HttpDecoderTest, FrameHeaderPartialDelivery) { … }
TEST_F(HttpDecoderTest, PartialDeliveryOfLargeFrameType) { … }
TEST_F(HttpDecoderTest, GoAway) { … }
TEST_F(HttpDecoderTest, HeadersFrame) { … }
TEST_F(HttpDecoderTest, MetadataFrame) { … }
TEST_F(HttpDecoderTest, EmptyDataFrame) { … }
TEST_F(HttpDecoderTest, EmptyHeadersFrame) { … }
TEST_F(HttpDecoderTest, GoawayWithOverlyLargePayload) { … }
TEST_F(HttpDecoderTest, MaxPushIdWithOverlyLargePayload) { … }
TEST_F(HttpDecoderTest, FrameWithOverlyLargePayload) { … }
TEST_F(HttpDecoderTest, MalformedSettingsFrame) { … }
TEST_F(HttpDecoderTest, Http2Frame) { … }
TEST_F(HttpDecoderTest, HeadersPausedThenData) { … }
TEST_F(HttpDecoderTest, CorruptFrame) { … }
TEST_F(HttpDecoderTest, EmptySettingsFrame) { … }
TEST_F(HttpDecoderTest, EmptyGoAwayFrame) { … }
TEST_F(HttpDecoderTest, EmptyMaxPushIdFrame) { … }
TEST_F(HttpDecoderTest, LargeStreamIdInGoAway) { … }
TEST_F(HttpDecoderTest, ObsoletePriorityUpdateFrame) { … }
TEST_F(HttpDecoderTest, PriorityUpdateFrame) { … }
TEST_F(HttpDecoderTest, CorruptPriorityUpdateFrame) { … }
TEST_F(HttpDecoderTest, AcceptChFrame) { … }
TEST_F(HttpDecoderTest, OriginFrame) { … }
TEST_F(HttpDecoderTest, OriginFrameDisabled) { … }
TEST_F(HttpDecoderTest, WebTransportStreamDisabled) { … }
TEST(HttpDecoderTestNoFixture, WebTransportStream) { … }
TEST(HttpDecoderTestNoFixture, WebTransportStreamError) { … }
TEST_F(HttpDecoderTest, DecodeSettings) { … }
}
}
}