#include "media/remoting/receiver.h"
#include <optional>
#include <utility>
#include "base/check.h"
#include "base/memory/raw_ptr.h"
#include "base/task/single_thread_task_runner.h"
#include "base/test/gmock_callback_support.h"
#include "base/test/task_environment.h"
#include "media/base/audio_decoder_config.h"
#include "media/base/media_util.h"
#include "media/base/mock_filters.h"
#include "media/base/renderer.h"
#include "media/base/test_helpers.h"
#include "media/base/video_decoder_config.h"
#include "media/cast/openscreen/remoting_proto_enum_utils.h"
#include "media/cast/openscreen/remoting_proto_utils.h"
#include "media/remoting/mock_receiver_controller.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
RunOnceCallback;
RpcMessenger;
_;
AtLeast;
NiceMock;
StrictMock;
namespace media {
namespace remoting {
class MockSender { … };
class ReceiverTest : public ::testing::Test { … };
TEST_F(ReceiverTest, AcquireRendererBeforeCreateReceiver) { … }
TEST_F(ReceiverTest, AcquireRendererAfterCreateReceiver) { … }
TEST_F(ReceiverTest, InitializeBeforeRpcInitialize) { … }
TEST_F(ReceiverTest, InitializeAfterRpcInitialize) { … }
TEST_F(ReceiverTest, RpcRendererMessages) { … }
TEST_F(ReceiverTest, RendererClientInterface) { … }
}
}