chromium/services/resource_coordinator/public/cpp/memory_instrumentation/memory_instrumentation_mojom_traits_unittest.cc

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

#include <utility>

#include "base/trace_event/memory_allocator_dump.h"
#include "base/trace_event/memory_dump_request_args.h"
#include "base/trace_event/process_memory_dump.h"
#include "services/resource_coordinator/public/cpp/memory_instrumentation/memory_instrumentation_mojom_traits.h"
#include "services/resource_coordinator/public/mojom/memory_instrumentation/memory_instrumentation.mojom.h"
#include "testing/gmock/include/gmock/gmock.h"  // for testing::Contains.
#include "testing/gtest/include/gtest/gtest.h"

namespace memory_instrumentation {

MemoryAllocatorDump;
MemoryAllocatorDumpGuid;
MemoryDumpArgs;
MemoryDumpLevelOfDetail;
MemoryDumpRequestArgs;
MemoryDumpType;
ProcessMemoryDump;
ByRef;
Contains;
Eq;
Pointee;

namespace {

StructTraitsTest;

// Test StructTrait serialization and deserialization for copyable type. |input|
// will be serialized and then deserialized into |output|.
template <class MojomType, class Type>
void SerializeAndDeserialize(const Type& input, Type* output) {}

}  // namespace

TEST_F(StructTraitsTest, MemoryDumpRequestArgs) {}

TEST_F(StructTraitsTest, MemoryAllocatorDumpEdge) {}

TEST_F(StructTraitsTest, MemoryAllocatorDumpEdgeWithStringIDs) {}

TEST_F(StructTraitsTest, MemoryAllocatorDumpEntry) {}

TEST_F(StructTraitsTest, MemoryAllocatorDump) {}

TEST_F(StructTraitsTest, ProcessMemoryDump) {}

}  // namespace memory_instrumentation