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

// Copyright 2020 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.

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

#include <optional>

#include "include/cppgc/platform.h"
#include "src/heap/cppgc/heap.h"
#include "src/heap/cppgc/stats-collector.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace cppgc::internal {

namespace {

class FakeGarbageCollector : public GarbageCollector {};

class MockGarbageCollector : public GarbageCollector {};

void FakeAllocate(StatsCollector* stats_collector, size_t bytes) {}

static constexpr Platform* kNoPlatform =;

}  // namespace

TEST(HeapGrowingTest, ConservativeGCInvoked) {}

TEST(HeapGrowingTest, InitialHeapSize) {}

TEST(HeapGrowingTest, ConstantGrowingFactor) {}

TEST(HeapGrowingTest, SmallHeapGrowing) {}

TEST(HeapGrowingTest, IncrementalGCStarted) {}

TEST(HeapGrowingTest, IncrementalGCFinalized) {}

}  // namespace cppgc::internal