#include "cast/sender/cast_app_discovery_service_impl.h"
#include <utility>
#include "cast/common/channel/testing/fake_cast_socket.h"
#include "cast/common/channel/testing/mock_socket_error_handler.h"
#include "cast/common/channel/virtual_connection_router.h"
#include "cast/common/public/receiver_info.h"
#include "cast/sender/testing/test_helpers.h"
#include "gtest/gtest.h"
#include "platform/test/fake_clock.h"
#include "platform/test/fake_task_runner.h"
#include "util/osp_logging.h"
namespace openscreen::cast {
CastMessage;
_;
class CastAppDiscoveryServiceImplTest : public ::testing::Test { … };
TEST_F(CastAppDiscoveryServiceImplTest, StartObservingAvailability) { … }
TEST_F(CastAppDiscoveryServiceImplTest, ReAddAvailQueryUsesCachedValue) { … }
TEST_F(CastAppDiscoveryServiceImplTest, AvailQueryUpdatedOnReceiverUpdate) { … }
TEST_F(CastAppDiscoveryServiceImplTest, Refresh) { … }
TEST_F(CastAppDiscoveryServiceImplTest,
StartObservingAvailabilityAfterReceiverAdded) { … }
TEST_F(CastAppDiscoveryServiceImplTest, StartObservingAvailabilityCachedValue) { … }
TEST_F(CastAppDiscoveryServiceImplTest, AvailabilityUnknownOrUnavailable) { … }
}