• Home
  • Raw
  • Download

Lines Matching refs:text_

27     text_.push_back(0x1C0);  in UnicodeTextTest()
28 text_.push_back(0x4E8C); in UnicodeTextTest()
29 text_.push_back(0xD7DB); in UnicodeTextTest()
30 text_.push_back(0x34); in UnicodeTextTest()
31 text_.push_back(0x1D11E); in UnicodeTextTest()
35 UnicodeText text_; member in libtextclassifier3::__anon0150ba3f0111::UnicodeTextTest
102 UnicodeText::const_iterator iter = text_.begin(); in TEST_F()
111 ASSERT_TRUE(iter != text_.end()); in TEST_F()
113 EXPECT_TRUE(iter == text_.end()); in TEST_F()
119 i1 = text_.begin(); in TEST_F()
130 UnicodeText::const_iterator iter = text_.end(); in TEST_F()
131 EXPECT_TRUE(iter == text_.end()); in TEST_F()
133 ASSERT_TRUE(iter != text_.end()); in TEST_F()
142 EXPECT_TRUE(iter == text_.begin()); in TEST_F()
147 i1 = text_.begin(); in TEST_F()
152 EXPECT_TRUE(text_.begin() <= i1); in TEST_F()
154 EXPECT_FALSE(i1 > text_.end()); in TEST_F()
158 UnicodeText::const_iterator iter = text_.begin(); in TEST_F()
163 EXPECT_TRUE(iter == text_.end()); in TEST_F()
167 UnicodeText::const_iterator iter = text_.begin(); in TEST_F()
168 EXPECT_EQ(0, std::distance(text_.begin(), iter)); in TEST_F()
169 EXPECT_EQ(5, std::distance(iter, text_.end())); in TEST_F()
172 EXPECT_EQ(2, std::distance(text_.begin(), iter)); in TEST_F()
173 EXPECT_EQ(3, std::distance(iter, text_.end())); in TEST_F()
176 EXPECT_EQ(4, std::distance(text_.begin(), iter)); in TEST_F()
178 EXPECT_EQ(0, std::distance(iter, text_.end())); in TEST_F()
185 EXPECT_FALSE(text_ == empty_text); in TEST_F()
186 text_.clear(); in TEST_F()
187 EXPECT_TRUE(text_ == empty_text); in TEST_F()
192 EXPECT_FALSE(text_.empty()); in TEST_F()
193 text_.clear(); in TEST_F()
194 EXPECT_TRUE(text_.empty()); in TEST_F()