Lines Matching refs:Validate
58 void Validate(const string& in_word, const string& gold_word) {
79 Validate(word, word + escape_);
87 Validate(string(1, ch), escaped);
160 Validate("mysite.com&x", "mysite.com" + escape_ + "26x" + escape_);
161 Validate("/./", "/" + escape_ + "./" + escape_);
162 Validate("/../", "/" + escape_ + "../" + escape_);
163 Validate("//", "/" + escape_ + "2F" + escape_);
164 Validate("/./leaf", "/" + escape_ + "./leaf" + escape_);
165 Validate("/../leaf", "/" + escape_ + "../leaf" + escape_);
166 Validate("//leaf", "/" + escape_ + "2Fleaf" + escape_);
167 Validate("mysite/u?param1=x¶m2=y",
170 Validate("search?q=dogs&go=&form=QBLH&qs=n", // from Latency Labs bing test.
173 Validate("~joebob/my_neeto-website+with_stuff.asp?id=138&content=true",
230 Validate("/", "/" + escape_);
231 Validate("//", "/" + escape_ + "2F" + escape_);
232 Validate("///", "/" + escape_ + "2F" + "/" + escape_);
260 Validate(long_word, gold_long_word);
294 Validate(long_word, gold_long_word);
319 Validate("/a/b/c", "/a/b/c" + escape_); // c is leaf file "c,"
320 Validate("/a/b/c/d", "/a/b/c/d" + escape_); // c is directory "c"
321 Validate("/a/b/c/d/", "/a/b/c/d/" + escape_);