chromium/third_party/ipcz/src/ipcz/buffer_pool_test.cc

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

#include "ipcz/buffer_pool.h"

#include <vector>

#include "ipcz/block_allocator.h"
#include "ipcz/driver_memory.h"
#include "ipcz/driver_memory_mapping.h"
#include "ipcz/node.h"
#include "reference_drivers/sync_reference_driver.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/abseil-cpp/absl/types/span.h"
#include "util/ref_counted.h"

namespace ipcz {
namespace {

class BufferPoolTest : public testing::Test {};

TEST_F(BufferPoolTest, AddBlockBuffer) {}

TEST_F(BufferPoolTest, AddBlockBufferNoDuplicateBufferId) {}

TEST_F(BufferPoolTest, AddBlockBufferNoDuplicateAllocatorBlockSizes) {}

TEST_F(BufferPoolTest, AddBlockBufferRequireBlockSizePowerOfTwo) {}

TEST_F(BufferPoolTest, GetFragment) {}

TEST_F(BufferPoolTest, BasicBlockAllocation) {}

TEST_F(BufferPoolTest, BlockAllocationSizing) {}

TEST_F(BufferPoolTest, BestEffortBlockAllocation) {}

}  // namespace
}  // namespace ipcz