chromium/chrome/browser/media/router/discovery/dial/safe_dial_device_description_parser_unittest.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/media/router/discovery/dial/safe_dial_device_description_parser.h"

#include <string>

#include "base/functional/bind.h"
#include "base/run_loop.h"
#include "base/strings/string_util.h"
#include "content/public/test/browser_task_environment.h"
#include "services/data_decoder/public/cpp/test_support/in_process_data_decoder.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace media_router {

namespace {

constexpr char kDeviceDescriptionWithService[] =;

constexpr char kDeviceDescriptionWithoutService[] =;

std::string& Replace(std::string& input,
                     const std::string& from,
                     const std::string& to) {}

}  // namespace

class SafeDialDeviceDescriptionParserTest : public testing::Test {};

TEST_F(SafeDialDeviceDescriptionParserTest, TestInvalidXml) {}

TEST_F(SafeDialDeviceDescriptionParserTest, TestParse) {}

TEST_F(SafeDialDeviceDescriptionParserTest, TestParseWithSpecialCharacter) {}

TEST_F(SafeDialDeviceDescriptionParserTest,
       TestParseWithoutFriendlyNameModelName) {}

TEST_F(SafeDialDeviceDescriptionParserTest, TestParseWithoutFriendlyName) {}

}  // namespace media_router