#include "components/cast_streaming/renderer/control/playback_command_forwarding_renderer.h"
#include "base/memory/raw_ptr.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "components/cast_streaming/common/public/mojom/renderer_controller.mojom.h"
#include "media/base/media_util.h"
#include "media/base/mock_filters.h"
#include "media/base/test_helpers.h"
#include "media/mojo/mojom/renderer.mojom.h"
#include "mojo/public/cpp/bindings/associated_receiver.h"
#include "mojo/public/cpp/bindings/associated_remote.h"
#include "mojo/public/cpp/bindings/pending_associated_receiver.h"
#include "mojo/public/cpp/bindings/pending_associated_remote.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace cast_streaming {
namespace {
class MockMojoRendererClient : public media::mojom::RendererClient { … };
}
class PlaybackCommandForwardingRendererTest : public testing::Test { … };
TEST_F(PlaybackCommandForwardingRendererTest, StartPlaybackAsMirroring) { … }
TEST_F(PlaybackCommandForwardingRendererTest, MojoCallsCorrectlyForwarded) { … }
TEST_F(PlaybackCommandForwardingRendererTest, RendererClientCallbacksCalled) { … }
}