#include "chrome/browser/media/router/discovery/dial/dial_service_impl.h"
#include <stddef.h>
#include <memory>
#include "base/memory/ref_counted.h"
#include "base/run_loop.h"
#include "base/time/time.h"
#include "build/buildflag.h"
#include "chrome/browser/media/router/discovery/dial/dial_device_data.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/test/browser_task_environment.h"
#include "net/base/ip_address.h"
#include "net/base/ip_endpoint.h"
#include "net/base/net_errors.h"
#include "net/base/network_interfaces.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#if BUILDFLAG(IS_MAC)
#include "base/mac/mac_util.h"
#endif
Time;
A;
AtLeast;
Return;
namespace {
const char kValidResponse[] = …;
}
namespace media_router {
class MockDialServiceClient : public DialService::Client { … };
class DialServiceImplTest : public testing::Test { … };
TEST_F(DialServiceImplTest, TestSendMultipleRequests) { … }
TEST_F(DialServiceImplTest, TestMultipleNetworkInterfaces) { … }
TEST_F(DialServiceImplTest, TestOnDiscoveryRequest) { … }
TEST_F(DialServiceImplTest, TestNotifyOnError) { … }
TEST_F(DialServiceImplTest, TestOnDeviceDiscovered) { … }
TEST_F(DialServiceImplTest, TestOnDiscoveryFinished) { … }
TEST_F(DialServiceImplTest, TestResponseParsing) { … }
}