#include "media/filters/pipeline_controller.h"
#include <memory>
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/ref_counted.h"
#include "base/notreached.h"
#include "base/run_loop.h"
#include "base/test/gmock_callback_support.h"
#include "base/test/gmock_move_support.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "media/base/mock_filters.h"
#include "media/base/pipeline.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
RunOnceClosure;
_;
AnyNumber;
DoAll;
Mock;
NiceMock;
Return;
SaveArg;
StrictMock;
namespace media {
class PipelineControllerTest : public ::testing::Test, public Pipeline::Client { … };
TEST_F(PipelineControllerTest, Startup) { … }
TEST_F(PipelineControllerTest, StartSuspendedSeekAndResume) { … }
TEST_F(PipelineControllerTest, StartSuspendedAndResume) { … }
TEST_F(PipelineControllerTest, SuspendResume) { … }
TEST_F(PipelineControllerTest, Seek) { … }
TEST_F(PipelineControllerTest, DecoderStateLost) { … }
TEST_F(PipelineControllerTest, DecoderStateLost_DuringPendingSeek) { … }
TEST_F(PipelineControllerTest, SuspendResumeTime) { … }
TEST_F(PipelineControllerTest, SuspendResumeTime_WithStreamingData) { … }
TEST_F(PipelineControllerTest, SeekAborted) { … }
TEST_F(PipelineControllerTest, PendingSuspend) { … }
TEST_F(PipelineControllerTest, SeekMergesWithResume) { … }
TEST_F(PipelineControllerTest, SeekMergesWithSeek) { … }
TEST_F(PipelineControllerTest, SeekToSeekTimeElided) { … }
TEST_F(PipelineControllerTest, SeekToSeekTimeNotElided) { … }
TEST_F(PipelineControllerTest, VideoTrackChangeWhileSuspending) { … }
TEST_F(PipelineControllerTest, AudioTrackChangeWhileSuspending) { … }
TEST_F(PipelineControllerTest, AudioTrackChangeDuringVideoTrackChange) { … }
TEST_F(PipelineControllerTest, SuspendDuringVideoTrackChange) { … }
TEST_F(PipelineControllerTest, SuspendDuringAudioTrackChange) { … }
TEST_F(PipelineControllerTest, ResumePlaybackDuringSwitchingTracksState) { … }
TEST_F(PipelineControllerTest, PreservesPitch) { … }
}