#include "chrome/browser/media/router/providers/cast/cast_app_discovery_service.h"
#include "base/functional/bind.h"
#include "base/test/simple_test_tick_clock.h"
#include "base/test/task_environment.h"
#include "base/test/test_simple_task_runner.h"
#include "chrome/browser/media/router/test/provider_test_helpers.h"
#include "components/media_router/common/discovery/media_sink_service_base.h"
#include "components/media_router/common/providers/cast/cast_media_source.h"
#include "components/media_router/common/providers/cast/channel/cast_test_util.h"
#include "components/media_router/common/test/test_helper.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
GetAppAvailabilityResult;
_;
Invoke;
namespace media_router {
class CastAppDiscoveryServiceTest : public testing::Test { … };
TEST_F(CastAppDiscoveryServiceTest, StartObservingMediaSinks) { … }
TEST_F(CastAppDiscoveryServiceTest, ReAddSinkQueryUsesCachedValue) { … }
TEST_F(CastAppDiscoveryServiceTest, SinkQueryUpdatedOnSinkUpdate) { … }
TEST_F(CastAppDiscoveryServiceTest, Refresh) { … }
TEST_F(CastAppDiscoveryServiceTest, StartObservingMediaSinksAfterSinkAdded) { … }
TEST_F(CastAppDiscoveryServiceTest, StartObservingMediaSinksCachedValue) { … }
TEST_F(CastAppDiscoveryServiceTest, AvailabilityUnknownOrUnavailable) { … }
}