chromium/third_party/blink/renderer/modules/websockets/websocket_message_chunk_accumulator_test.cc

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

#include "third_party/blink/renderer/modules/websockets/websocket_message_chunk_accumulator.h"

#include "base/time/time.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/platform/scheduler/test/fake_task_runner.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"

namespace blink {

namespace {

class WebSocketMessageChunkAccumulatorTest : public testing::Test {};

constexpr size_t WebSocketMessageChunkAccumulatorTest::kSegmentSize;
constexpr base::TimeDelta WebSocketMessageChunkAccumulatorTest::kFreeDelay;

TEST_F(WebSocketMessageChunkAccumulatorTest, Empty) {}

TEST_F(WebSocketMessageChunkAccumulatorTest, Append) {}

TEST_F(WebSocketMessageChunkAccumulatorTest, AppendChunkWithInternalChunkSize) {}

TEST_F(WebSocketMessageChunkAccumulatorTest, AppendLargeChunk) {}

TEST_F(WebSocketMessageChunkAccumulatorTest, AppendRepeatedly) {}

TEST_F(WebSocketMessageChunkAccumulatorTest, ClearAndAppend) {}

TEST_F(WebSocketMessageChunkAccumulatorTest, ClearTimer) {}

}  // namespace

}  // namespace blink