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

#include <optional>

#include "src/base/platform/condition-variable.h"
#include "src/base/platform/mutex.h"
#include "src/heap/heap.h"
#include "src/heap/parked-scope.h"
#include "src/heap/safepoint.h"
#include "test/unittests/heap/heap-utils.h"
#include "test/unittests/test-utils.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace v8 {
namespace internal {

using LocalHeapTest = TestWithIsolate;

TEST_F(LocalHeapTest, Initialize) {}

TEST_F(LocalHeapTest, Current) {}

namespace {
class BackgroundThread final : public v8::base::Thread {};
}  // anonymous namespace

TEST_F(LocalHeapTest, CurrentBackground) {}

namespace {

class GCEpilogue {};

class BackgroundThreadForGCEpilogue final : public v8::base::Thread {};

}  // anonymous namespace

TEST_F(LocalHeapTest, GCEpilogue) {}

}  // namespace internal
}  // namespace v8