chromium/media/mojo/services/video_decode_stats_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 <memory>
#include <string>

#include "base/functional/bind.h"
#include "base/memory/ptr_util.h"
#include "media/base/video_codecs.h"
#include "media/learning/common/value.h"
#include "media/mojo/mojom/media_types.mojom.h"
#include "media/mojo/services/test_helpers.h"
#include "media/mojo/services/video_decode_stats_recorder.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/geometry/rect.h"

_;

namespace media {

namespace {

// Aliases for readability.
const ukm::SourceId kSourceIdA =;
const ukm::SourceId kSourceIdB =;
const bool kIsTopFrameA =;
const bool kIsTopFrameB =;
const uint64_t kPlayerIdA =;
const uint64_t kPlayerIdB =;
const VideoCodecProfile kProfileA =;
const VideoCodecProfile kProfileB =;
const int kFpsA =;
const int kFpsB =;

MATCHER_P(MojoEq, value, "") {}

}  // namespace

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

TEST_F(VideoDecodeStatsRecorderTest, SaveOnStartNewRecord) {}

TEST_F(VideoDecodeStatsRecorderTest, SaveOnDestruction) {}

}  // namespace media