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

#include <memory>

#include "src/heap/cppgc/object-allocator.h"
#include "test/unittests/heap/cppgc/test-platform.h"

#if !CPPGC_IS_STANDALONE
#include "include/v8-initialization.h"
#include "src/init/v8.h"
#endif  // !CPPGC_IS_STANDALONE

namespace cppgc {
namespace internal {
namespace testing {

// static
std::shared_ptr<TestPlatform> TestWithPlatform::platform_;

// static
void TestWithPlatform::SetUpTestSuite() {}

// static
void TestWithPlatform::TearDownTestSuite() {}

TestWithHeap::TestWithHeap()
    :{}

TestWithHeap::~TestWithHeap() = default;

void TestWithHeap::ResetLinearAllocationBuffers() {}

TestSupportingAllocationOnly::TestSupportingAllocationOnly()
    :{}

}  // namespace testing
}  // namespace internal
}  // namespace cppgc