jdk/test/java/net/URL/normal_http_urls
changeset 15631 ad9db22b3490
parent 15630 f644cf0bda45
parent 15572 d17eb2e13e36
child 15632 3d36eadad78f
equal deleted inserted replaced
15630:f644cf0bda45 15631:ad9db22b3490
     1 URL: http://a/b/c/d;p?q
       
     2 spec: g
       
     3 expected: http://a/b/c/g
       
     4 
       
     5 URL: http://a/b/c/d;p?q
       
     6 spec: ./g
       
     7 expected: http://a/b/c/g
       
     8 
       
     9 URL: http://a/b/c/d;p?q
       
    10 spec: g/
       
    11 expected: http://a/b/c/g/
       
    12 
       
    13 URL: http://a/b/c/d;p?q
       
    14 spec: /g
       
    15 expected: http://a/g
       
    16 
       
    17 URL: http://a/b/c/d;p?q
       
    18 spec: //g
       
    19 expected: http://g
       
    20 
       
    21 URL: http://a/b/c/d;p?q
       
    22 spec: ?y
       
    23 expected: http://a/b/c/?y
       
    24 
       
    25 URL: http://a/b/c/d;p?q
       
    26 spec: g?y
       
    27 expected: http://a/b/c/g?y
       
    28 
       
    29 URL: http://a/b/c/d;p?q
       
    30 spec: g#s
       
    31 expected: http://a/b/c/g#s
       
    32 
       
    33 URL: http://a/b/c/d;p?q
       
    34 spec: g?y#s
       
    35 expected: http://a/b/c/g?y#s
       
    36 
       
    37 URL: http://a/b/c/d;p?q
       
    38 spec: ;x
       
    39 expected: http://a/b/c/;x
       
    40 
       
    41 URL: http://a/b/c/d;p?q
       
    42 spec: g;x
       
    43 expected: http://a/b/c/g;x
       
    44 
       
    45 URL: http://a/b/c/d;p?q
       
    46 spec: g;x?y#s
       
    47 expected: http://a/b/c/g;x?y#s
       
    48 
       
    49 URL: http://a/b/c/d;p?q
       
    50 spec: .
       
    51 expected: http://a/b/c/
       
    52 
       
    53 URL: http://a/b/c/d;p?q
       
    54 spec: ./
       
    55 expected: http://a/b/c/
       
    56 
       
    57 URL: http://a/b/c/d;p?q
       
    58 spec: ..
       
    59 expected: http://a/b/
       
    60 
       
    61 URL: http://a/b/c/d;p?q
       
    62 spec: ../
       
    63 expected: http://a/b/
       
    64 
       
    65 URL: http://a/b/c/d;p?q
       
    66 spec: ../g
       
    67 expected: http://a/b/g
       
    68 
       
    69 URL: http://a/b/c/d;p?q
       
    70 spec: ../..
       
    71 expected: http://a/
       
    72 
       
    73 URL: http://a/b/c/d;p?q
       
    74 spec: ../../
       
    75 expected: http://a/
       
    76 
       
    77 URL: http://a/b/c/d;p?q
       
    78 spec: ../../g
       
    79 expected: http://a/g
       
    80 
       
    81 URL: null
       
    82 spec: http://www.javasoft.com/jdc/community/chat/index.html#javalive?frontpage-jdc
       
    83 expected: http://www.javasoft.com/jdc/community/chat/index.html#javalive?frontpage-jdc