Lines Matching refs:StringPiece16
29 StringPiece16 trimmed = util::trimWhitespace(full); in TEST()
43 EXPECT_EQ(StringPiece16(u"this is a new\nline."), in TEST()
50 EXPECT_EQ(StringPiece16(u"hey guys this is so cool"), in TEST()
55 EXPECT_EQ(StringPiece16(u" wow, so many \t spaces. what?"), in TEST()
60 EXPECT_EQ(StringPiece16(u"where is the pie?"), in TEST()
67 EXPECT_EQ(StringPiece16(u"hey guys\n this \t is so\\ cool"), in TEST()
72 EXPECT_EQ(StringPiece16(u"@?#\\\'"), in TEST()
83 EXPECT_EQ(StringPiece16(u"\u00AF\u0AF0 woah"), in TEST()
91 auto tokenizer = util::tokenize(StringPiece16(u"this| is|the|end"), u'|'); in TEST()
93 ASSERT_EQ(*iter, StringPiece16(u"this")); in TEST()
95 ASSERT_EQ(*iter, StringPiece16(u" is")); in TEST()
97 ASSERT_EQ(*iter, StringPiece16(u"the")); in TEST()
99 ASSERT_EQ(*iter, StringPiece16(u"end")); in TEST()
105 auto tokenizer = util::tokenize(StringPiece16(u""), u'|'); in TEST()
108 ASSERT_EQ(StringPiece16(), *iter); in TEST()
114 auto tokenizer = util::tokenize(StringPiece16(u"one."), u'.'); in TEST()
116 ASSERT_EQ(*iter, StringPiece16(u"one")); in TEST()
119 ASSERT_EQ(*iter, StringPiece16()); in TEST()
173 StringPiece16 prefix, entry, suffix; in TEST()