chromium/components/discardable_memory/common/discardable_shared_memory_heap_unittest.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/discardable_memory/common/discardable_shared_memory_heap.h"

#include <inttypes.h>
#include <stddef.h>
#include <utility>

#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/memory/discardable_shared_memory.h"
#include "base/memory/page_size.h"
#include "base/strings/stringprintf.h"
#include "base/test/scoped_feature_list.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace discardable_memory {
namespace {

void NullTask() {}

TEST(DiscardableSharedMemoryHeapTest, Basic) {}

TEST(DiscardableSharedMemoryHeapTest, SplitAndMerge) {}

TEST(DiscardableSharedMemoryHeapTest, MergeSingleBlockSpan) {}

TEST(DiscardableSharedMemoryHeapTest, Grow) {}

TEST(DiscardableSharedMemoryHeapTest, ReleaseFreeMemory) {}

TEST(DiscardableSharedMemoryHeapTest, ReleasePurgedMemory) {}

TEST(DiscardableSharedMemoryHeapTest, Slack) {}

void OnDeleted(bool* deleted) {}

TEST(DiscardableSharedMemoryHeapTest, DeletedCallback) {}

TEST(DiscardableSharedMemoryHeapTest, CreateMemoryAllocatorDumpTest) {}

TEST(DiscardableSharedMemoryHeapTest, OnMemoryDumpTest) {}

TEST(DiscardableSharedMemoryHeapTest, DetailedDumpsDontContainRedundantData) {}

}  // namespace
}  // namespace discardable_memory