#include "media/base/silent_sink_suspender.h"
#include "base/run_loop.h"
#include "base/test/gmock_callback_support.h"
#include "base/test/test_message_loop.h"
#include "media/base/fake_audio_render_callback.h"
#include "media/base/mock_audio_renderer_sink.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
RunClosure;
namespace media {
class SilentSinkSuspenderTest : public testing::Test { … };
TEST_F(SilentSinkSuspenderTest, BasicPassthough) { … }
TEST_F(SilentSinkSuspenderTest, SuspendResumeTriggered) { … }
TEST_F(SilentSinkSuspenderTest, MultipleSuspend) { … }
TEST_F(SilentSinkSuspenderTest, MultipleResume) { … }
TEST_F(SilentSinkSuspenderTest, SetDetectSilence) { … }
TEST_F(SilentSinkSuspenderTest, OnPaused) { … }
}