chromium/base/profiler/metadata_recorder_unittest.cc

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

#include "base/profiler/metadata_recorder.h"

#include <optional>

#include "base/ranges/algorithm.h"
#include "base/test/gtest_util.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace base {

bool operator==(const MetadataRecorder::Item& lhs,
                const MetadataRecorder::Item& rhs) {}

bool operator<(const MetadataRecorder::Item& lhs,
               const MetadataRecorder::Item& rhs) {}

TEST(MetadataRecorderTest, GetItems_Empty) {}

TEST(MetadataRecorderTest, Set_NewNameHash) {}

TEST(MetadataRecorderTest, Set_ExistingNameNash) {}

TEST(MetadataRecorderTest, Set_ReAddRemovedNameNash) {}

TEST(MetadataRecorderTest, Set_AddPastMaxCount) {}

TEST(MetadataRecorderTest, Set_NulloptKeyIsIndependentOfNonNulloptKey) {}

TEST(MetadataRecorderTest, Set_ThreadIdIsScoped) {}

TEST(MetadataRecorderTest, Set_NulloptThreadAndNonNulloptThread) {}

TEST(MetadataRecorderTest, Remove) {}

TEST(MetadataRecorderTest, Remove_DoesntExist) {}

TEST(MetadataRecorderTest, Remove_NulloptKeyIsIndependentOfNonNulloptKey) {}

TEST(MetadataRecorderTest,
     Remove_NulloptThreadIsIndependentOfNonNulloptThread) {}

TEST(MetadataRecorderTest, ReclaimInactiveSlots) {}

}  // namespace base