#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "third_party/blink/renderer/platform/text/character.h"
#include <ubidi_props.h>
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/platform/text/emoji_segmentation_category.h"
#include "third_party/blink/renderer/platform/text/emoji_segmentation_category_inline_header.h"
#include "third_party/blink/renderer/platform/wtf/text/character_names.h"
#include "third_party/blink/renderer/platform/wtf/text/string_builder.h"
namespace blink {
testing::AssertionResult IsCJKIdeographOrSymbolWithMessage(UChar32 codepoint) { … }
TEST(CharacterTest, Derived) { … }
static void TestSpecificUChar32RangeIdeograph(UChar32 range_start,
UChar32 range_end,
bool before = true,
bool after = true) { … }
TEST(CharacterTest, TestIsCJKIdeograph) { … }
static void TestSpecificUChar32RangeIdeographSymbol(UChar32 range_start,
UChar32 range_end) { … }
TEST(CharacterTest, TestIsCJKIdeographOrSymbol) { … }
TEST(CharacterTest, HanKerning) { … }
TEST(CharacterTest, CanTextDecorationSkipInk) { … }
TEST(CharacterTest, TestEmojiTextDefault) { … }
TEST(CharacterTest, TestEmojiEmojiDefault) { … }
TEST(CharacterTest, EmojificationV11) { … }
TEST(CharacterTest, TestEmojiModifierBase) { … }
TEST(CharacterTest, TestEmoji40Data) { … }
TEST(CharacterTest, LineBreakAndQuoteNotEmoji) { … }
TEST(CharacterTest, Truncation) { … }
TEST(CharacterTest, IsBidiControl) { … }
TEST(CharacterTest, IsNonCharacter) { … }
TEST(CharacterTest, TransformedIsUprightInMixedVertical) { … }
TEST(CharacterTest, IsVerticalMathCharacter) { … }
TEST(CharacterTest, ExtendedPictographic) { … }
TEST(CharacterTest, EmojiComponents) { … }
TEST(CharacterTest, MaybeEmojiPresentationNoIllegalShortcut) { … }
TEST(CharacterTest, TestIsStandardizedVariationSequence) { … }
TEST(CharacterTest, TestIsEmojiVariationSequence) { … }
TEST(CharacterTest, TestIsIdeographicVariationSequence) { … }
}