Lines Matching refs:expected
97 std::string expected = StringPrintf("%%%02X", i); in TEST() local
98 EXPECT_EQ(expected, out); in TEST()
201 std::string expected("Null"); in TEST() local
202 expected.push_back(0); in TEST()
203 expected.push_back(0); in TEST()
204 expected.append("9Test"); in TEST()
205 EXPECT_EQ(expected, UnescapeURLComponent(input, UnescapeRule::CONTROL_CHARS)); in TEST()
208 expected = "Null"; in TEST()
209 expected.push_back(0); in TEST()
210 expected.append("%009Test"); in TEST()
211 EXPECT_EQ(expected, UnescapeURLComponent(input, UnescapeRule::NORMAL)); in TEST()
265 string16 expected(WideToUTF16(L"Null")); in TEST() local
266 expected.push_back(0); in TEST()
267 expected.push_back(0); in TEST()
268 expected.append(ASCIIToUTF16("9Test")); in TEST()
269 EXPECT_EQ(expected, UnescapeURLComponent(input, UnescapeRule::CONTROL_CHARS)); in TEST()
272 expected = WideToUTF16(L"Null"); in TEST()
273 expected.push_back(0); in TEST()
274 expected.append(WideToUTF16(L"%009Test")); in TEST()
275 EXPECT_EQ(expected, UnescapeURLComponent(input, UnescapeRule::NORMAL)); in TEST()