jdk/test/java/net/URL/ftp_urls
changeset 15631 ad9db22b3490
parent 15630 f644cf0bda45
parent 15572 d17eb2e13e36
child 15632 3d36eadad78f
equal deleted inserted replaced
15630:f644cf0bda45 15631:ad9db22b3490
     1 URL: null
       
     2 spec: ftp://ftp.foo.com/dir1/entry.txt
       
     3 expected: ftp://ftp.foo.com/dir1/entry.txt
       
     4 
       
     5 URL: null
       
     6 spec: ftp://br:pwd@ftp.foo.com/dir1/jar.jar
       
     7 expected: ftp://br:pwd@ftp.foo.com/dir1/jar.jar
       
     8 
       
     9 URL: ftp://ftp.foo.com/dir1/foo.txt
       
    10 spec: bar.txt
       
    11 expected: ftp://ftp.foo.com/dir1/bar.txt
       
    12 
       
    13 URL: ftp://ftp.foo.com/dir1/jar.jar
       
    14 spec: /entry.txt
       
    15 expected: ftp://ftp.foo.com/entry.txt
       
    16 
       
    17 URL: ftp://ftp.foo.com/dir1/jar.jar
       
    18 spec: dir1/entry.txt
       
    19 expected: ftp://ftp.foo.com/dir1/dir1/entry.txt
       
    20 
       
    21 URL: ftp://ftp.foo.com/dir1/jar.jar
       
    22 spec: /dir1/entry.txt
       
    23 expected: ftp://ftp.foo.com/dir1/entry.txt
       
    24 
       
    25 URL: ftp://br:pwd@ftp.foo.com/dir1/jar.jar
       
    26 spec: /dir1/entry.txt
       
    27 expected: ftp://br:pwd@ftp.foo.com/dir1/entry.txt