chromium/net/websockets/websocket_inflater_test.cc

// Copyright 2013 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/websockets/websocket_inflater.h"

#include <string>
#include <vector>

#include "net/base/io_buffer.h"
#include "net/websockets/websocket_deflater.h"
#include "net/websockets/websocket_test_util.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace net {

namespace {

std::string ToString(IOBufferWithSize* buffer) {}

TEST(WebSocketInflaterTest, Construct) {}

TEST(WebSocketInflaterTest, InflateHelloTakeOverContext) {}

TEST(WebSocketInflaterTest, InflateHelloSmallCapacity) {}

TEST(WebSocketInflaterTest, InflateHelloSmallCapacityGetTotalOutput) {}

TEST(WebSocketInflaterTest, InflateInvalidData) {}

TEST(WebSocketInflaterTest, ChokedInvalidData) {}

TEST(WebSocketInflaterTest, MultipleAddBytesCalls) {}

TEST(WebSocketInflaterTest, Reset) {}

TEST(WebSocketInflaterTest, ResetAndLostContext) {}

TEST(WebSocketInflaterTest, CallAddBytesAndFinishWithoutGetOutput) {}

TEST(WebSocketInflaterTest, CallAddBytesAndFinishWithoutGetOutputChoked) {}

TEST(WebSocketInflaterTest, LargeRandomDeflateInflate) {}

}  // unnamed namespace

}  // namespace net