chromium/ui/gfx/text_utils_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.

#include "ui/gfx/text_utils.h"

#include <stddef.h>

#include <vector>

#include "base/check_op.h"
#include "base/logging.h"
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/font_list.h"
#include "ui/gfx/geometry/insets.h"
#include "ui/gfx/geometry/point.h"
#include "ui/gfx/geometry/rect.h"

namespace gfx {
namespace {

TEST(TextUtilsTest, GetStringWidth) {}

TEST(TextUtilsTest, GetStringSize) {}

TEST(TextUtilsTest, AdjustVisualBorderForFont_BorderLargerThanFont) {}

TEST(TextUtilsTest, AdjustVisualBorderForFont_BorderSmallerThanFont) {}

TEST(TextUtilsTest, GetFontCapHeightCenterOffset_SecondFontIsSmaller) {}

TEST(TextUtilsTest, GetFontCapHeightCenterOffset_SecondFontIsLarger) {}

TEST(TextUtilsTest, GetFontCapHeightCenterOffset_SameSize) {}

struct RemoveAcceleratorCharData {};

class RemoveAcceleratorCharTest
    : public testing::TestWithParam<RemoveAcceleratorCharData> {};

const RemoveAcceleratorCharData RemoveAcceleratorCharTest::kCases[] =;

INSTANTIATE_TEST_SUITE_P();

TEST_P(RemoveAcceleratorCharTest, RemoveAcceleratorChar) {}

struct FindValidBoundaryData {};

class FindValidBoundaryBeforeTest
    : public testing::TestWithParam<FindValidBoundaryData> {};

const FindValidBoundaryData FindValidBoundaryBeforeTest::kCases[] =;

INSTANTIATE_TEST_SUITE_P();

TEST_P(FindValidBoundaryBeforeTest, FindValidBoundaryBefore) {}

class FindValidBoundaryAfterTest
    : public testing::TestWithParam<FindValidBoundaryData> {};

const FindValidBoundaryData FindValidBoundaryAfterTest::kCases[] =;

INSTANTIATE_TEST_SUITE_P();

TEST_P(FindValidBoundaryAfterTest, FindValidBoundaryAfter) {}

}  // namespace
}  // namespace gfx