GuzzleHttp\Tests\Psr7\UriResolverTest::getRelativizeTestCases PHP Method

getRelativizeTestCases() public method

Some additional tests to getResolveTestCases() that only make sense for relativize.
    public function getRelativizeTestCases()
    {
        return [['a/b', 'b/c', 'b/c'], ['a/b/c', '../b/c', '../b/c'], ['a', '', ''], ['a', './', './'], ['a', 'a/..', 'a/..'], ['/a/b/?q', '?q#h', '?q#h'], ['/a/b/?q', '#h', '#h'], ['/a/b/?q', 'c#h', 'c#h'], ['/a/b/?q', '/a/b/#h', './#h'], ['/', '/#h', '#h'], ['/', '/', ''], ['http://a', 'http://a/', './'], ['urn:a/b?q', 'urn:x/y?q', '../x/y?q'], ['urn:', 'urn:/', './/'], ['urn:a/b?q', 'urn:', '../'], ['http://a/b/', '//a/b/c', 'c'], ['http://a/b/', '/b/c', 'c'], ['http://a/b/', '/x/y', '../x/y'], ['http://a/b/', '/', '../'], ['urn://a/b/', 'urn:/b/', 'urn:/b/']];
    }