#include "media/remoting/stream_provider.h"
#include "base/memory/raw_ptr.h"
#include "base/task/single_thread_task_runner.h"
#include "base/test/task_environment.h"
#include "media/base/audio_decoder_config.h"
#include "media/base/demuxer_stream.h"
#include "media/base/media_util.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"
RpcMessenger;
NiceMock;
namespace {
constexpr int kBufferSize = …;
}
namespace media {
namespace remoting {
class StreamProviderTest : public testing::Test { … };
TEST_F(StreamProviderTest, InitializeBeforeRpcAcquireDemuxer) { … }
TEST_F(StreamProviderTest, InitializeAfterRpcAcquireDemuxer) { … }
TEST_F(StreamProviderTest, ReadBuffer) { … }
TEST_F(StreamProviderTest, FlushUntil) { … }
}
}