chromium/v8/test/cctest/heap/test-memory-measurement.cc

// Copyright 2019 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/memory-measurement-inl.h"
#include "src/heap/memory-measurement.h"
#include "src/objects/smi.h"
#include "test/cctest/cctest.h"
#include "test/cctest/heap/heap-tester.h"
#include "test/cctest/heap/heap-utils.h"

namespace v8 {
namespace internal {
namespace heap {

namespace {
Handle<NativeContext> GetNativeContext(Isolate* isolate,
                                       v8::Local<v8::Context> v8_context) {}
}  // anonymous namespace

TEST(NativeContextInferrerGlobalObject) {}

TEST(NativeContextInferrerJSFunction) {}

TEST(NativeContextInferrerJSObject) {}

TEST(NativeContextStatsMerge) {}

TEST(NativeContextStatsArrayBuffers) {}

namespace {

class TestResource : public v8::String::ExternalStringResource {};

}  // anonymous namespace

TEST(NativeContextStatsExternalString) {}

namespace {

class MockPlatform : public TestPlatform {};

class MockMeasureMemoryDelegate : public v8::MeasureMemoryDelegate {};

}  // namespace

TEST_WITH_PLATFORM(RandomizedTimeout, MockPlatform) {}

TEST(LazyMemoryMeasurement) {}

TEST(PartiallyInitializedJSFunction) {}

TEST(PartiallyInitializedContext) {}

}  // namespace heap
}  // namespace internal
}  // namespace v8