chromium/third_party/blink/renderer/platform/fonts/font_test.cc

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

#include "third_party/blink/renderer/platform/fonts/font.h"

#include "cc/paint/paint_flags.h"
#include "third_party/blink/renderer/platform/fonts/text_run_paint_info.h"
#include "third_party/blink/renderer/platform/testing/font_test_base.h"
#include "third_party/blink/renderer/platform/testing/font_test_helpers.h"
#include "third_party/blink/renderer/platform/testing/unit_test_helpers.h"
#include "third_party/blink/renderer/platform/text/tab_size.h"
#include "third_party/blink/renderer/platform/text/text_direction.h"
#include "third_party/blink/renderer/platform/text/text_run.h"
#include "third_party/blink/renderer/platform/wtf/text/string_view.h"

CreateTestFont;

namespace blink {

namespace {

Font CreateVerticalUprightTestFont(const AtomicString& family_name,
                                   const String& font_path,
                                   float size) {}

}  // namespace

class FontTest : public FontTestBase {};

TEST_F(FontTest, FonteMetricsCapHeight) {}

TEST_F(FontTest, ConvertBaseline) {}

TEST_F(FontTest, IdeographicFullWidthAhem) {}

TEST_F(FontTest, IdeographicFullWidthCjkFull) {}

TEST_F(FontTest, IdeographicFullWidthCjkNarrow) {}

// A font that does not have the CJK "water" glyph.
TEST_F(FontTest, IdeographicFullWidthUprightAhem) {}

// A Japanese font, with the "water" glyph, but the `vmtx` table is missing.
TEST_F(FontTest, IdeographicFullWidthUprightCjkNoVmtx) {}

// A Japanese font, with the "water" glyph, with the `vmtx` table.
TEST_F(FontTest, IdeographicFullWidthUprightCjkVmtx) {}

TEST_F(FontTest, TextIntercepts) {}

TEST_F(FontTest, TabWidthZero) {}

TEST_F(FontTest, NullifyPrimaryFontForTesting) {}

}  // namespace blink