chromium/v8/test/unittests/heap/cppgc/caged-heap-unittest.cc

// Copyright 2024 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#if defined(CPPGC_CAGED_HEAP)

#include "src/heap/cppgc/caged-heap.h"

#include "include/cppgc/internal/caged-heap-local-data.h"
#include "src/base/page-allocator.h"
#include "test/unittests/heap/cppgc/tests.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace cppgc::internal {

class CagedHeapDeathTest : public testing::TestWithHeap {};

TEST_F(CagedHeapDeathTest, AgeTableUncommittedBeforeGenerationalGCEnabled) {}

class CagedHeapTest : public testing::TestWithHeap {};

TEST_F(CagedHeapTest, AgeTableCommittedAfterGenerationalGCEnabled) {}

}  // namespace cppgc::internal

#endif  // defined(CPPGC_CAGED_HEAP)