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

// Copyright 2015 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/symbols_iterator.h"

#include <string>

#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/platform/wtf/text/string_builder.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
#include "third_party/blink/renderer/platform/wtf/vector.h"

namespace blink {

struct FallbackTestRun {};

struct FallbackExpectedRun {};

class SymbolsIteratorTest : public testing::Test {};

TEST_F(SymbolsIteratorTest, Empty) {}

TEST_F(SymbolsIteratorTest, Space) {}

TEST_F(SymbolsIteratorTest, Latin) {}

TEST_F(SymbolsIteratorTest, BMPEmoji) {}

TEST_F(SymbolsIteratorTest, LatinColorEmojiTextEmoji) {}

TEST_F(SymbolsIteratorTest, IgnoreVSInMath) {}

TEST_F(SymbolsIteratorTest, IgnoreVS15InText) {}

TEST_F(SymbolsIteratorTest, IgnoreVS16InText) {}

TEST_F(SymbolsIteratorTest, AllHexValuesText) {}

TEST_F(SymbolsIteratorTest, NumbersAndHashNormalAndEmoji) {}

TEST_F(SymbolsIteratorTest, VS16onDigits) {}

TEST_F(SymbolsIteratorTest, EmojiVS15AndVS16) {}

TEST_F(SymbolsIteratorTest, MultipleMisplacedVS) {}

TEST_F(SymbolsIteratorTest, SingleFlag) {}

TEST_F(SymbolsIteratorTest, CombiningCircle) {}

TEST_F(SymbolsIteratorTest, CombiningEnclosingCircleBackslash) {}

// TODO: Perhaps check for invalid country indicator combinations?

TEST_F(SymbolsIteratorTest, FlagsVsNonFlags) {}

TEST_F(SymbolsIteratorTest, EmojiVS15) {}

TEST_F(SymbolsIteratorTest, EmojiZWSSequences) {}

TEST_F(SymbolsIteratorTest, AllEmojiZWSSequences) {}

TEST_F(SymbolsIteratorTest, ModifierPlusGender) {}

TEST_F(SymbolsIteratorTest, TextMemberZwjSequence) {}

TEST_F(SymbolsIteratorTest, FacepalmCartwheelShrugModifierFemale) {}

TEST_F(SymbolsIteratorTest, AesculapiusMaleFemalEmoji) {}

TEST_F(SymbolsIteratorTest, EyeSpeechBubble) {}

TEST_F(SymbolsIteratorTest, Modifier) {}

TEST_F(SymbolsIteratorTest, DingbatsMiscSymbolsModifier) {}

TEST_F(SymbolsIteratorTest, ExtraZWJPrefix) {}

TEST_F(SymbolsIteratorTest, StrayZWJAndVS) {}

TEST_F(SymbolsIteratorTest, Arrows) {}

TEST_F(SymbolsIteratorTest, JudgePilot) {}

TEST_F(SymbolsIteratorTest, EmojiPunctuationText) {}

// Extracted from http://unicode.org/emoji/charts/emoji-released.html for Emoji
// v5.0, except for the subdivision-flag section.
// Before ICU 59 new emoji sequences and new single emoji are not detected as
// emoji type text and sequences get split up in the middle so that shaping
// cannot form the right glyph from the emoji font. Running this as one run in
// one test ensures that the new emoji form an unbroken emoji-type sequence.
TEST_F(SymbolsIteratorTest, Emoji5AdditionsExceptFlags) {}

TEST_F(SymbolsIteratorTest, EmojiSubdivisionFlags) {}

// Extracted from http://unicode.org/emoji/charts/emoji-released.html for Emoji
// v11, removed U+265F Chess Pawn and U+267E as they do not have default emoji
// presentation.
TEST_F(SymbolsIteratorTest, Emoji11Additions) {}

}  // namespace blink