chromium/base/strings/escape_unittest.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include <algorithm>
#include <string>

#include "base/strings/escape.h"

#include "base/strings/string_util.h"
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace base {
namespace {

struct EscapeCase {};

struct EscapeForHTMLCase {};

struct UnescapeURLCase {};

struct UnescapeAndDecodeCase {};

struct AdjustOffsetCase {};

TEST(EscapeTest, EscapeTextForFormSubmission) {}

TEST(EscapeTest, EscapePath) {}

TEST(EscapeTest, EscapeUrlEncodedData) {}

TEST(EscapeTest, EscapeUrlEncodedDataSpace) {}

TEST(EscapeTest, EscapeForHTML) {}

TEST(EscapeTest, UnescapeForHTML) {}

TEST(EscapeTest, EscapeExternalHandlerValue) {}

TEST(EscapeTest, EscapeNonASCII) {}

TEST(EscapeTest, DataURLWithAccentedCharacters) {}

TEST(EscapeTest, UnescapeURLComponent) {}

TEST(EscapeTest, UnescapeAndDecodeUTF8URLComponentWithAdjustments) {}

TEST(EscapeTest, AdjustOffset) {}

TEST(EscapeTest, UnescapeBinaryURLComponent) {}

TEST(EscapeTest, UnescapeBinaryURLComponentSafe) {}

TEST(EscapeTest, ContainsEncodedBytes) {}

}  // namespace
}  // namespace base