#include "chrome/browser/media/router/discovery/access_code/access_code_media_sink_util.h"
#include "base/strings/stringprintf.h"
#include "base/test/mock_callback.h"
#include "base/test/task_environment.h"
#include "chrome/browser/media/router/discovery/access_code/access_code_test_util.h"
#include "chrome/browser/media/router/discovery/mdns/media_sink_util.h"
#include "chrome/test/base/testing_browser_process.h"
#include "components/media_router/common/providers/cast/channel/cast_socket.h"
#include "content/public/test/browser_task_environment.h"
#include "net/base/ip_address.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace media_router {
DiscoveryDevice;
FieldsAre;
class AccessCodeMediaSinkUtilTest : public testing::Test { … };
TEST_F(AccessCodeMediaSinkUtilTest, MissingDisplayName) { … }
TEST_F(AccessCodeMediaSinkUtilTest, MissingId) { … }
TEST_F(AccessCodeMediaSinkUtilTest, MissingNetworkInfo) { … }
TEST_F(AccessCodeMediaSinkUtilTest, MissingBothIpAddresses) { … }
TEST_F(AccessCodeMediaSinkUtilTest, MissingIp4Addresses) { … }
TEST_F(AccessCodeMediaSinkUtilTest, MissingIp6Addresses) { … }
TEST_F(AccessCodeMediaSinkUtilTest, InvalidIp4Address) { … }
TEST_F(AccessCodeMediaSinkUtilTest, InvalidIp6Address) { … }
TEST_F(AccessCodeMediaSinkUtilTest, MissingPort) { … }
TEST_F(AccessCodeMediaSinkUtilTest, InvalidPort) { … }
TEST_F(AccessCodeMediaSinkUtilTest, MissingDeviceCapabilities) { … }
TEST_F(AccessCodeMediaSinkUtilTest, MediaSinkCreatedCorrectly) { … }
TEST_F(AccessCodeMediaSinkUtilTest, ParsedMediaSinkInternalEqualToOriginal) { … }
TEST_F(AccessCodeMediaSinkUtilTest, AddSinkResultMetricsHelper) { … }
TEST_F(AccessCodeMediaSinkUtilTest, GetIPEndPointFromValueDict) { … }
}