chromium/media/capabilities/pending_operations_unittest.cc

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

#include <string>

#include "base/functional/bind.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "media/capabilities/pending_operations.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace media {
namespace {

class PendingOperationsTest : public ::testing::Test {};

// Test that histogram is created with correct data.
TEST_F(PendingOperationsTest, OperationTiming) {}

// Test that timeout histogram works.
TEST_F(PendingOperationsTest, OperationTimeout) {}

// Nested operations.
struct SimulatedOperation {};

TEST_F(PendingOperationsTest, NestedOperation) {}

}  // namespace
}  // namespace media