chromium/v8/test/unittests/heap/cppgc/explicit-management-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 "include/cppgc/explicit-management.h"

#include "include/cppgc/garbage-collected.h"
#include "src/heap/cppgc/globals.h"
#include "src/heap/cppgc/heap-base.h"
#include "src/heap/cppgc/heap-object-header.h"
#include "src/heap/cppgc/heap-space.h"
#include "src/heap/cppgc/page-memory.h"
#include "src/heap/cppgc/sweeper.h"
#include "test/unittests/heap/cppgc/tests.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace cppgc {
namespace internal {

class ExplicitManagementTest : public testing::TestWithHeap {};

namespace {

class DynamicallySized final : public GarbageCollected<DynamicallySized> {};

}  // namespace

TEST_F(ExplicitManagementTest, FreeRegularObjectToLAB) {}

TEST_F(ExplicitManagementTest, FreeRegularObjectToFreeList) {}

TEST_F(ExplicitManagementTest, FreeLargeObject) {}

TEST_F(ExplicitManagementTest, FreeBailsOutDuringGC) {}

TEST_F(ExplicitManagementTest, GrowAtLAB) {}

TEST_F(ExplicitManagementTest, GrowShrinkAtLAB) {}

TEST_F(ExplicitManagementTest, ShrinkFreeList) {}

TEST_F(ExplicitManagementTest, ShrinkFreeListBailoutAvoidFragmentation) {}

TEST_F(ExplicitManagementTest, ResizeBailsOutDuringGC) {}

}  // namespace internal
}  // namespace cppgc