chromium/media/remoting/courier_renderer_unittest.cc

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

#include "media/remoting/courier_renderer.h"

#include <memory>
#include <utility>
#include <vector>

#include "base/check.h"
#include "base/functional/bind.h"
#include "base/run_loop.h"
#include "base/task/single_thread_task_runner.h"
#include "base/test/simple_test_tick_clock.h"
#include "base/test/task_environment.h"
#include "media/base/media_util.h"
#include "media/base/pipeline_status.h"
#include "media/base/renderer_client.h"
#include "media/base/test_helpers.h"
#include "media/cast/openscreen/remoting_proto_enum_utils.h"
#include "media/cast/openscreen/remoting_proto_utils.h"
#include "media/remoting/fake_media_resource.h"
#include "media/remoting/fake_remoter.h"
#include "media/remoting/renderer_controller.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/openscreen/src/cast/streaming/rpc_messenger.h"

RpcMessenger;
_;
Invoke;
Return;

namespace media {
namespace remoting {

namespace {

PipelineMetadata DefaultMetadata() {}

PipelineStatistics DefaultStats() {}

class RendererClientImpl final : public RendererClient {};

}  // namespace

class CourierRendererTest : public testing::Test {};

TEST_F(CourierRendererTest, Initialize) {}

TEST_F(CourierRendererTest, InitializeBackwardCompatible) {}

TEST_F(CourierRendererTest, InitializeFailed) {}

TEST_F(CourierRendererTest, Flush) {}

TEST_F(CourierRendererTest, StartPlayingFrom) {}

TEST_F(CourierRendererTest, SetVolume) {}

TEST_F(CourierRendererTest, SetPlaybackRate) {}

TEST_F(CourierRendererTest, OnTimeUpdate) {}

TEST_F(CourierRendererTest, OnBufferingStateChange) {}

TEST_F(CourierRendererTest, OnAudioConfigChange) {}

TEST_F(CourierRendererTest, OnVideoConfigChange) {}

TEST_F(CourierRendererTest, OnVideoNaturalSizeChange) {}

TEST_F(CourierRendererTest, OnVideoNaturalSizeChangeWithInvalidValue) {}

TEST_F(CourierRendererTest, OnVideoOpacityChange) {}

TEST_F(CourierRendererTest, OnStatisticsUpdate) {}

TEST_F(CourierRendererTest, OnPacingTooSlowly) {}

TEST_F(CourierRendererTest, OnFrameDropRateHigh) {}

}  // namespace remoting
}  // namespace media