Amp\Test\Artax\UriTest::provideResolvables PHP Method

provideResolvables() public method

public provideResolvables ( )
    public function provideResolvables()
    {
        return array(array('http://localhost/1/2/a.php', 'http://google.com/', 'http://google.com/'), array('http://www.google.com/', '/level1/level2/test.php', 'http://www.google.com/level1/level2/test.php'), array('http://localhost/1/2/a.php', '../b.php', 'http://localhost/1/b.php'), array('http://localhost/1/2/a.php', '../../b.php', 'http://localhost/b.php'), array('http://localhost/', './', 'http://localhost/'), array('http://localhost/', './dir/', 'http://localhost/dir/'), array('http://localhost/', '././', 'http://localhost/'), array('http://localhost/', '././dir/', 'http://localhost/dir/'), array('http://localhost/', '#frag', 'http://localhost/#frag'), array('http://localhost/', '?query', 'http://localhost/?query'), array('http://localhost/', 'http://www.google.com/%22-%3Eresolve%28%22..%2F..%2F%22%29', 'http://www.google.com/%22-%3Eresolve%28%22..%2F..%2F%22%29'), array("http://a/b/c/d;p?q", "g", "http://a/b/c/g"), array("http://a/b/c/d;p?q", "./g", "http://a/b/c/g"), array("http://a/b/c/d;p?q", "g/", "http://a/b/c/g/"), array("http://a/b/c/d;p?q", "/g", "http://a/g"), array("http://a/b/c/d;p?q", "//g", "http://g"), array("http://a/b/c/d;p?q", "?y", "http://a/b/c/d;p?y"), array("http://a/b/c/d;p?q", "g?y", "http://a/b/c/g?y"), array("http://a/b/c/d;p?q", "#s", "http://a/b/c/d;p?q#s"), array("http://a/b/c/d;p?q", "g#s", "http://a/b/c/g#s"), array("http://a/b/c/d;p?q", "g?y#s", "http://a/b/c/g?y#s"), array("http://a/b/c/d;p?q", ";x", "http://a/b/c/;x"), array("http://a/b/c/d;p?q", "g;x", "http://a/b/c/g;x"), array("http://a/b/c/d;p?q", "g;x?y#s", "http://a/b/c/g;x?y#s"), array("http://a/b/c/d;p?q", "", "http://a/b/c/d;p?q"), array("http://a/b/c/d;p?q", ".", "http://a/b/c/"), array("http://a/b/c/d;p?q", "./", "http://a/b/c/"), array("http://a/b/c/d;p?q", "..", "http://a/b/"), array("http://a/b/c/d;p?q", "../", "http://a/b/"), array("http://a/b/c/d;p?q", "../g", "http://a/b/g"), array("http://a/b/c/d;p?q", "../..", "http://a/"), array("http://a/b/c/d;p?q", "../../", "http://a/"), array("http://a/b/c/d;p?q", "../../g", "http://a/g"));
    }