#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) { … }
}
}