chromium/v8/test/unittests/base/virtual-address-space-unittest.cc

// Copyright 2022 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/base/virtual-address-space.h"

#include "src/base/emulated-virtual-address-subspace.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace v8 {
namespace base {

constexpr size_t KB =;
constexpr size_t MB =;

void TestRandomPageAddressGeneration(v8::VirtualAddressSpace* space) {}

void TestBasicPageAllocation(v8::VirtualAddressSpace* space) {}

void TestPageAllocationAlignment(v8::VirtualAddressSpace* space) {}

void TestParentSpaceCannotAllocateInChildSpace(v8::VirtualAddressSpace* parent,
                                               v8::VirtualAddressSpace* child) {}

void TestSharedPageAllocation(v8::VirtualAddressSpace* space) {}

TEST(VirtualAddressSpaceTest, TestPagePermissionSubsets) {}

TEST(VirtualAddressSpaceTest, TestRootSpace) {}

TEST(VirtualAddressSpaceTest, TestSubspace) {}

TEST(VirtualAddressSpaceTest, TestEmulatedSubspace) {}

}  // namespace base
}  // namespace v8