chromium/base/strings/utf_offset_string_conversions_unittest.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40284755): Remove this and spanify to fix the errors.
#pragma allow_unsafe_buffers
#endif

#include "base/strings/utf_offset_string_conversions.h"

#include <stddef.h>

#include <algorithm>

#include "testing/gtest/include/gtest/gtest.h"

namespace base {

namespace {

static const size_t kNpos =;

}  // namespace

TEST(UTFOffsetStringConversionsTest, AdjustOffset) {}

TEST(UTFOffsetStringConversionsTest, LimitOffsets) {}

TEST(UTFOffsetStringConversionsTest, AdjustOffsets) {}

TEST(UTFOffsetStringConversionsTest, UnadjustOffsets) {}

// MergeSequentialAdjustments is used by net/base/escape.{h,cc} and
// net/base/net_util.{h,cc}.  The two tests EscapeTest.AdjustOffset and
// NetUtilTest.FormatUrlWithOffsets test its behavior extensively.  This
// is simply a short, additional test.
TEST(UTFOffsetStringConversionsTest, MergeSequentialAdjustments) {}

}  // namespace base