Lines Matching refs:UTF8ToUTF16
20 string16 word(UTF8ToUTF16("simple"));
23 EXPECT_EQ(UTF8ToUTF16("simple"), iter.GetCurrentTerm());
28 string16 word(UTF8ToUTF16("CamelCase"));
31 EXPECT_EQ(UTF8ToUTF16("Camel"), iter.GetCurrentTerm());
33 EXPECT_EQ(UTF8ToUTF16("Case"), iter.GetCurrentTerm());
38 string16 word(UTF8ToUTF16("lowerToUpper"));
41 EXPECT_EQ(UTF8ToUTF16("lower"), iter.GetCurrentTerm());
43 EXPECT_EQ(UTF8ToUTF16("To"), iter.GetCurrentTerm());
45 EXPECT_EQ(UTF8ToUTF16("Upper"), iter.GetCurrentTerm());
50 string16 word(UTF8ToUTF16("Chromium26.0.0.0"));
53 EXPECT_EQ(UTF8ToUTF16("Chromium"), iter.GetCurrentTerm());
55 EXPECT_EQ(UTF8ToUTF16("26.0.0.0"), iter.GetCurrentTerm());
60 string16 word(UTF8ToUTF16("123startWithNumber"));
63 EXPECT_EQ(UTF8ToUTF16("123"), iter.GetCurrentTerm());
65 EXPECT_EQ(UTF8ToUTF16("start"), iter.GetCurrentTerm());
67 EXPECT_EQ(UTF8ToUTF16("With"), iter.GetCurrentTerm());
69 EXPECT_EQ(UTF8ToUTF16("Number"), iter.GetCurrentTerm());
75 string16 word(UTF8ToUTF16("English\xe4\xb8\xad\xe6\x96\x87Word"));
78 EXPECT_EQ(UTF8ToUTF16("English"), iter.GetCurrentTerm());
80 EXPECT_EQ(UTF8ToUTF16("\xe4\xb8\xad\xe6\x96\x87"), iter.GetCurrentTerm());
82 EXPECT_EQ(UTF8ToUTF16("Word"), iter.GetCurrentTerm());