chromium/base/allocator/partition_allocator/src/partition_alloc/lightweight_quarantine_unittest.cc

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

#include "partition_alloc/lightweight_quarantine.h"

#include "partition_alloc/partition_alloc_for_testing.h"
#include "partition_alloc/partition_page.h"
#include "partition_alloc/partition_root.h"
#include "partition_alloc/partition_stats.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace partition_alloc {

#if !defined(MEMORY_TOOL_REPLACES_ALLOCATOR)

namespace {

QuarantineConfig;
QuarantineRoot;
QuarantineBranch;

class PartitionAllocLightweightQuarantineTest
    : public testing::TestWithParam<QuarantineConfig> {};

constexpr QuarantineConfig kConfigSmall =;
constexpr QuarantineConfig kConfigLarge =;
constexpr QuarantineConfig kConfigSmallThreadSafe =;
constexpr QuarantineConfig kConfigLargeThreadSafe =;
INSTANTIATE_TEST_SUITE_P();

}  // namespace

TEST_P(PartitionAllocLightweightQuarantineTest, Basic) {}

TEST_P(PartitionAllocLightweightQuarantineTest, TooLargeAllocation) {}

#endif  // !defined(MEMORY_TOOL_REPLACES_ALLOCATOR)

}  // namespace partition_alloc