#include "components/media_router/common/discovery/media_sink_internal.h"
#include "components/media_router/common/test/test_helper.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
constexpr char kSinkId[] = …;
constexpr char kSinkName[] = …;
constexpr char kIPAddress[] = …;
constexpr char kModelName[] = …;
constexpr char kAppUrl[] = …;
media_router::DialSinkExtraData CreateDialSinkExtraData(
const std::string& model_name,
const std::string& ip_address,
const std::string& app_url) { … }
media_router::CastSinkExtraData CreateCastSinkExtraData(
const std::string& model_name,
const std::string& ip_address,
uint8_t capabilities,
int cast_channel_id) { … }
media_router::DialSinkExtraData CreateDialSinkExtraData() { … }
media_router::CastSinkExtraData CreateCastSinkExtraData() { … }
}
namespace media_router {
TEST(MediaSinkInternalTest, TestIsValidSinkId) { … }
TEST(MediaSinkInternalTest, TestConstructorAndAssignment) { … }
TEST(MediaSinkInternalTest, TestSetExtraData) { … }
TEST(MediaSinkInternalTest, TestProcessDeviceUUID) { … }
}