chromium/services/network/web_bundle/web_bundle_chunked_buffer_unittest.cc

// Copyright 2021 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/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "services/network/web_bundle/web_bundle_chunked_buffer.h"

#include "base/check.h"
#include "base/containers/span.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace network {
namespace {
constexpr char kNumeric10Chars[] =;
constexpr char kSmallAlphabet10Chars[] =;
constexpr char kLargeAlphabet10Chars[] =;
}  // namespace

class WebBundleChunkedBufferTest : public ::testing::Test {};

TEST_F(WebBundleChunkedBufferTest, Chunk) {}

TEST_F(WebBundleChunkedBufferTest, EmptyBuffer) {}

TEST_F(WebBundleChunkedBufferTest, ReadTest_OneChunk) {}

TEST_F(WebBundleChunkedBufferTest, ReadTest_MultipleChunks) {}

TEST_F(WebBundleChunkedBufferTest, PartialBuffer) {}

TEST_F(WebBundleChunkedBufferTest, FindChunk) {}

TEST_F(WebBundleChunkedBufferTest, DataSource) {}

}  // namespace network