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

#include "src/base/logging.h"
#include "test/unittests/test-utils.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace v8 {
namespace internal {

namespace {
class UnusedObserver : public AllocationObserver {};
}  // namespace

TEST(AllocationObserverTest, AddAndRemoveUnusedObservers) {}

namespace {
class VerifyStepObserver : public AllocationObserver {};
}  // namespace

TEST(AllocationObserverTest, Step) {}

namespace {
class RecursiveAddObserver : public AllocationObserver {};
}  // namespace

TEST(AllocationObserverTest, RecursiveAdd) {}

namespace {
class RecursiveRemoveObserver : public AllocationObserver {};
}  // namespace

TEST(AllocationObserverTest, RecursiveRemove) {}

}  // namespace internal
}  // namespace v8