jdk/test/java/net/URL/normal_http_urls
author chegar
Wed, 21 Jul 2010 13:52:38 +0100
changeset 6116 3880a05ff32e
parent 2 90ce3da70b43
permissions -rw-r--r--
6970262: TEST_BUG: test/java/net/NetworkInterface/IPv4Only.java has wrong test name in @run tag Reviewed-by: alanb, dsamersoff

URL: http://a/b/c/d;p?q
spec: g
expected: http://a/b/c/g

URL: http://a/b/c/d;p?q
spec: ./g
expected: http://a/b/c/g

URL: http://a/b/c/d;p?q
spec: g/
expected: http://a/b/c/g/

URL: http://a/b/c/d;p?q
spec: /g
expected: http://a/g

URL: http://a/b/c/d;p?q
spec: //g
expected: http://g

URL: http://a/b/c/d;p?q
spec: ?y
expected: http://a/b/c/?y

URL: http://a/b/c/d;p?q
spec: g?y
expected: http://a/b/c/g?y

URL: http://a/b/c/d;p?q
spec: g#s
expected: http://a/b/c/g#s

URL: http://a/b/c/d;p?q
spec: g?y#s
expected: http://a/b/c/g?y#s

URL: http://a/b/c/d;p?q
spec: ;x
expected: http://a/b/c/;x

URL: http://a/b/c/d;p?q
spec: g;x
expected: http://a/b/c/g;x

URL: http://a/b/c/d;p?q
spec: g;x?y#s
expected: http://a/b/c/g;x?y#s

URL: http://a/b/c/d;p?q
spec: .
expected: http://a/b/c/

URL: http://a/b/c/d;p?q
spec: ./
expected: http://a/b/c/

URL: http://a/b/c/d;p?q
spec: ..
expected: http://a/b/

URL: http://a/b/c/d;p?q
spec: ../
expected: http://a/b/

URL: http://a/b/c/d;p?q
spec: ../g
expected: http://a/b/g

URL: http://a/b/c/d;p?q
spec: ../..
expected: http://a/

URL: http://a/b/c/d;p?q
spec: ../../
expected: http://a/

URL: http://a/b/c/d;p?q
spec: ../../g
expected: http://a/g

URL: null
spec: http://www.javasoft.com/jdc/community/chat/index.html#javalive?frontpage-jdc
expected: http://www.javasoft.com/jdc/community/chat/index.html#javalive?frontpage-jdc