chromium/base/containers/buffer_iterator_unittest.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.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/341324165): Fix and remove.
#pragma allow_unsafe_buffers
#endif

#include "base/containers/buffer_iterator.h"

#include <string.h>

#include <limits>
#include <optional>
#include <vector>

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

namespace base {
namespace {

struct TestStruct {};

bool operator==(const TestStruct& lhs, const TestStruct& rhs) {}

TestStruct CreateTestStruct() {}

TEST(BufferIteratorTest, Object) {}

TEST(BufferIteratorTest, MutableObject) {}

TEST(BufferIteratorTest, ObjectSizeOverflow) {}

TEST(BufferIteratorTest, Span) {}

TEST(BufferIteratorTest, FixedSpan) {}

TEST(BufferIteratorTest, SpanOverflow) {}

TEST(BufferIteratorTest, Position) {}

TEST(BufferIteratorTest, CopyObject) {}

TEST(BufferIteratorTest, SeekWithSizeConfines) {}

}  // namespace
}  // namespace base