Lines Matching refs:unescape_cases
159 const UnescapeURLCaseASCII unescape_cases[] = {
193 for (size_t i = 0; i < arraysize(unescape_cases); i++) {
194 std::string str(unescape_cases[i].input);
195 EXPECT_EQ(std::string(unescape_cases[i].output),
196 UnescapeURLComponent(str, unescape_cases[i].rules));
220 const UnescapeURLCase unescape_cases[] = {
261 for (size_t i = 0; i < arraysize(unescape_cases); i++) {
262 string16 str(WideToUTF16(unescape_cases[i].input));
263 EXPECT_EQ(WideToUTF16(unescape_cases[i].output),
264 UnescapeURLComponent(str, unescape_cases[i].rules));
288 const UnescapeAndDecodeCase unescape_cases[] = {
331 for (size_t i = 0; i < arraysize(unescape_cases); i++) {
332 std::string unescaped = UnescapeURLComponent(unescape_cases[i].input,
334 EXPECT_EQ(std::string(unescape_cases[i].url_unescaped), unescaped);
336 unescaped = UnescapeURLComponent(unescape_cases[i].input,
338 EXPECT_EQ(std::string(unescape_cases[i].query_unescaped), unescaped);
342 unescape_cases[i].input, UnescapeRule::NORMAL, NULL);
343 EXPECT_EQ(WideToUTF16Hack(std::wstring(unescape_cases[i].decoded)),