• Home
  • Raw
  • Download

Lines Matching refs:EXPECT_EQ

20   EXPECT_EQ(1, valid_utf8_string("The greek word 'kosme': "  in TEST()
24 EXPECT_EQ(35, pos); in TEST()
26 EXPECT_EQ(1, valid_utf8_string("Playback", &pos)); in TEST()
27 EXPECT_EQ(8, pos); in TEST()
29 EXPECT_EQ(1, valid_utf8_string("The Euro sign: \xe2\x82\xac", &pos)); in TEST()
30 EXPECT_EQ(18, pos); in TEST()
33 EXPECT_EQ(1, valid_utf8_string("\x01", &pos)); in TEST()
34 EXPECT_EQ(1, pos); in TEST()
35 EXPECT_EQ(1, valid_utf8_string("\xc2\x80", &pos)); in TEST()
36 EXPECT_EQ(2, pos); in TEST()
37 EXPECT_EQ(1, valid_utf8_string("\xe0\xa0\x80", &pos)); in TEST()
38 EXPECT_EQ(3, pos); in TEST()
39 EXPECT_EQ(1, valid_utf8_string("\xe1\x80\x80", &pos)); in TEST()
40 EXPECT_EQ(3, pos); in TEST()
41 EXPECT_EQ(1, valid_utf8_string("\xf0\x90\x80\x80", &pos)); in TEST()
42 EXPECT_EQ(4, pos); in TEST()
43 EXPECT_EQ(1, valid_utf8_string("\xf1\x80\x80\x80", &pos)); in TEST()
44 EXPECT_EQ(4, pos); in TEST()
47 EXPECT_EQ(1, valid_utf8_string("\x7f", &pos)); in TEST()
48 EXPECT_EQ(1, pos); in TEST()
49 EXPECT_EQ(1, valid_utf8_string("\xdf\xbf", &pos)); in TEST()
50 EXPECT_EQ(2, pos); in TEST()
51 EXPECT_EQ(1, valid_utf8_string("\xef\xbf\xbf", &pos)); in TEST()
52 EXPECT_EQ(3, pos); in TEST()
53 EXPECT_EQ(1, valid_utf8_string("\xf4\x8f\xbf\xbf", &pos)); in TEST()
54 EXPECT_EQ(4, pos); in TEST()
57 EXPECT_EQ(1, valid_utf8_string("\xed\x9f\xbf", &pos)); in TEST()
58 EXPECT_EQ(3, pos); in TEST()
59 EXPECT_EQ(1, valid_utf8_string("\xee\x80\x80", &pos)); in TEST()
60 EXPECT_EQ(3, pos); in TEST()
61 EXPECT_EQ(1, valid_utf8_string("\xef\xbf\xbd", &pos)); in TEST()
62 EXPECT_EQ(3, pos); in TEST()
63 EXPECT_EQ(1, valid_utf8_string("\xf0\xbf\xbf\xbf", &pos)); in TEST()
64 EXPECT_EQ(4, pos); in TEST()
67 EXPECT_EQ(1, valid_utf8_string("\xef\xbb\xbf", &pos)); in TEST()
68 EXPECT_EQ(3, pos); in TEST()
72 EXPECT_EQ(1, valid_utf8_string("U+FFFE: \xef\xbf\xbe", &pos)); in TEST()
73 EXPECT_EQ(11, pos); in TEST()
74 EXPECT_EQ(1, valid_utf8_string("U+FDD0: \xef\xb7\x90", &pos)); in TEST()
75 EXPECT_EQ(11, pos); in TEST()
76 EXPECT_EQ(1, valid_utf8_string("\xf0\x9f\xbf\xbe", &pos)); in TEST()
77 EXPECT_EQ(4, pos); in TEST()
84 EXPECT_EQ(0, valid_utf8_string("\x80", &pos)); in TEST()
85 EXPECT_EQ(0, pos); in TEST()
86 EXPECT_EQ(0, valid_utf8_string("\xbf", &pos)); in TEST()
87 EXPECT_EQ(0, pos); in TEST()
88 EXPECT_EQ(0, valid_utf8_string("\x80\xbf", &pos)); in TEST()
89 EXPECT_EQ(0, pos); in TEST()
90 EXPECT_EQ(0, valid_utf8_string("\xc2\x80\xbf", &pos)); in TEST()
91 EXPECT_EQ(2, pos); in TEST()
94 EXPECT_EQ(0, valid_utf8_string("\xc2 \xc3 \xc4 ", &pos)); in TEST()
95 EXPECT_EQ(1, pos); in TEST()
98 EXPECT_EQ(0, valid_utf8_string("\xf4\x90\xbf\xbf", &pos)); in TEST()
99 EXPECT_EQ(1, pos); in TEST()
100 EXPECT_EQ(0, valid_utf8_string(" \xf5\x80", &pos)); in TEST()
101 EXPECT_EQ(1, pos); in TEST()
102 EXPECT_EQ(0, valid_utf8_string(" \xe0\x80\x80", &pos)); in TEST()
103 EXPECT_EQ(2, pos); in TEST()
104 EXPECT_EQ(0, valid_utf8_string("\xf4\x80\x80\xcf", &pos)); in TEST()
105 EXPECT_EQ(3, pos); in TEST()
108 EXPECT_EQ(0, valid_utf8_string("\xf4\x80", &pos)); in TEST()
109 EXPECT_EQ(2, pos); in TEST()
112 EXPECT_EQ(0, valid_utf8_string("\xff", &pos)); in TEST()
113 EXPECT_EQ(0, pos); in TEST()
114 EXPECT_EQ(0, valid_utf8_string("\xfe", &pos)); in TEST()
115 EXPECT_EQ(0, pos); in TEST()
118 EXPECT_EQ(0, valid_utf8_string("This represents the / character with too" in TEST()
121 EXPECT_EQ(53, pos); in TEST()
122 EXPECT_EQ(0, valid_utf8_string("This represents the / character with too" in TEST()
125 EXPECT_EQ(53, pos); in TEST()
128 EXPECT_EQ(0, valid_utf8_string("This represents the NUL character with too" in TEST()
131 EXPECT_EQ(55, pos); in TEST()
132 EXPECT_EQ(0, valid_utf8_string("This represents the NUL character with too" in TEST()
135 EXPECT_EQ(55, pos); in TEST()
138 EXPECT_EQ(0, valid_utf8_string("\xed\xa0\x80", &pos)); in TEST()
139 EXPECT_EQ(1, pos); in TEST()
140 EXPECT_EQ(0, valid_utf8_string("\xed\xad\xbf", &pos)); in TEST()
141 EXPECT_EQ(1, pos); in TEST()
142 EXPECT_EQ(0, valid_utf8_string("\xed\xae\x80", &pos)); in TEST()
143 EXPECT_EQ(1, pos); in TEST()
144 EXPECT_EQ(0, valid_utf8_string("\xed\xaf\xbf", &pos)); in TEST()
145 EXPECT_EQ(1, pos); in TEST()
146 EXPECT_EQ(0, valid_utf8_string("\xed\xb0\x80", &pos)); in TEST()
147 EXPECT_EQ(1, pos); in TEST()
148 EXPECT_EQ(0, valid_utf8_string("\xed\xbe\x80", &pos)); in TEST()
149 EXPECT_EQ(1, pos); in TEST()
150 EXPECT_EQ(0, valid_utf8_string("\xed\xbf\xbf", &pos)); in TEST()
151 EXPECT_EQ(1, pos); in TEST()