#include "third_party/blink/renderer/platform/text/text_break_iterator.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
namespace blink {
class TextBreakIteratorTest : public testing::Test { … };
TEST_F(TextBreakIteratorTest, PooledBreakIterator) { … }
static const LineBreakType all_break_types[] = …;
class BreakTypeTest : public TextBreakIteratorTest,
public testing::WithParamInterface<LineBreakType> { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(BreakTypeTest, EmptyString) { … }
TEST_P(BreakTypeTest, EmptyNullString) { … }
TEST_F(TextBreakIteratorTest, Strictness) { … }
TEST_F(TextBreakIteratorTest, Basic) { … }
TEST_F(TextBreakIteratorTest, Newline) { … }
TEST_F(TextBreakIteratorTest, Tab) { … }
TEST_F(TextBreakIteratorTest, LatinPunctuation) { … }
TEST_F(TextBreakIteratorTest, Chinese) { … }
TEST_F(TextBreakIteratorTest, ChineseMixed) { … }
TEST_F(TextBreakIteratorTest, ChineseSpaces) { … }
TEST_F(TextBreakIteratorTest, KeepEmojiZWJFamilyIsolate) { … }
TEST_F(TextBreakIteratorTest, KeepEmojiModifierSequenceIsolate) { … }
TEST_F(TextBreakIteratorTest, KeepEmojiZWJSequence) { … }
TEST_F(TextBreakIteratorTest, KeepEmojiModifierSequence) { … }
TEST_P(BreakTypeTest, NextBreakOpportunityAtEnd) { … }
TEST_F(TextBreakIteratorTest, Phrase) { … }
TEST_F(TextBreakIteratorTest, LengthOfGraphemeCluster) { … }
TEST_F(TextBreakIteratorTest, GraphemesClusterListTest) { … }
TEST_F(TextBreakIteratorTest, SoftHyphen) { … }
}