langtools/test/com/sun/javadoc/DocRootSlash/overview.html
changeset 10 06bc494ca11e
child 25292 35285e9cdf70
equal deleted inserted replaced
0:fd16c54261b3 10:06bc494ca11e
       
     1 <HTML>
       
     2 <HEAD>
       
     3 </HEAD>
       
     4 
       
     5 <BODY>
       
     6 
       
     7 Dummy first sentence to suppress BreakIterator warning.
       
     8 <p>
       
     9 
       
    10 Case 0 Actual: <A HREF=".">.</A> &nbsp; Current directory
       
    11 <p>
       
    12 Sub-test 23 Actual: <A HREF="{@docroot}">{&#064;docroot}</A> Bare tag - ALL LOWERCASE <br>
       
    13 Sub-test 23 Expect: <A HREF=""></A> <br>
       
    14 (Expect empty string because lowercase docroot is illegal) 
       
    15 <p>
       
    16 
       
    17 Sub-test 24 Actual: <A HREF="{@docRoot}">{&#064;docRoot}</A> Bare tag - "R" UPPERCASE <br>
       
    18 Sub-test 24 Expect: <A HREF=".">.</A>
       
    19 <p>
       
    20 
       
    21 Sub-test 25 Actual: <A HREF="{@docRoot}/package-list">{&#064;docRoot}/package-list</A>  <br>
       
    22 Sub-test 25 Expect: <A HREF="./package-list">./package-list</A>
       
    23 <p>
       
    24 
       
    25 Sub-test 26 Actual: <A HREF="{@docRoot}/p2/C2.html">{&#064;docRoot}/p2/C2.html</A>  <br>
       
    26 Sub-test 26 Expect: <A HREF="./p2/C2.html">./p2/C2.html</A>
       
    27 <p>
       
    28 
       
    29 Sub-test 27 Actual: <A HREF="{@docRoot}/../docs1/p2/C2.html">{&#064;docRoot}/../docs1/p2/C2.html</A> <br>
       
    30 Sub-test 27 Expect: <A HREF="./../docs1/p2/C2.html">./../docs1/p2/C2.html</A>
       
    31 <p>
       
    32 
       
    33 Sub-test 28 Actual: <A HREF="{@docRoot}/p2/package-summary.html#package_description">{&#064;docRoot}/p2/package-summary.html#package_description</A>  <br>
       
    34 Sub-test 28 Expect: <A HREF="./p2/package-summary.html#package_description">./p2/package-summary.html#package_description</A>
       
    35 <p>
       
    36 
       
    37 Sub-test 29 Actual: <A HREF="{@docRoot}/../docs1/p2/package-summary.html#package_description">{&#064;docRoot}/../docs1/p2/package-summary.html#package_description</A> <br>
       
    38 Sub-test 29 Expect: <A HREF="./../docs1/p2/package-summary.html#package_description">./../docs1/p2/package-summary.html#package_description</A>
       
    39 <p>
       
    40 
       
    41 <!-- ----------------------------------------------- -->
       
    42 
       
    43 Allow docRoot to work without a trailing slash for those who had to change their comments
       
    44 to work with the 1.4.0 bug:
       
    45 <p>
       
    46 
       
    47 Sub-test 30 Actual: <A HREF="{@docRoot}p2/C2.html">{&#064;docRoot}p2/C2.html</A>  <br>
       
    48 Sub-test 30 Expect: <A HREF=".p2/C2.html">./p2/C2.html</A>
       
    49 <p>
       
    50 
       
    51 Sub-test 31 Actual: <A HREF="{@docRoot}../docs1/p2/C2.html">{&#064;docRoot}../docs1/p2/C2.html</A> <br>
       
    52 Sub-test 31 Expect: <A HREF=".../docs1/p2/C2.html">./../docs1/p2/C2.html</A>
       
    53 <p>
       
    54 
       
    55 Sub-test 32 Actual: <A HREF="{@docRoot}p2/package-summary.html#package_description">{&#064;docRoot}/p2/package-summary.html#package_description</A>  <br>
       
    56 Sub-test 32 Expect: <A HREF=".p2/package-summary.html#package_description">./p2/package-summary.html#package_description</A>
       
    57 
       
    58 <p>
       
    59 Sub-test 33 Actual: <A HREF="{@docRoot}../docs1/p2/package-summary.html#package_description">{&#064;docRoot}/../docs1/p2/package-summary.html#package_description</A> <br>
       
    60 Sub-test 33 Expect: <A HREF=".../docs1/p2/package-summary.html#package_description">./../docs1/p2/package-summary.html#package_description</A>
       
    61 <p>
       
    62 
       
    63 
       
    64 Bonus links, not part of automated test (bug 4662945):<br>
       
    65 Actual: <A HREF="{@docRoot}p1/package-summary.html#package_description">package description</a> {&#064;docRoot}p1/packagesummary#package_description</A> <br>
       
    66 
       
    67 Actual: <A HREF="{@docRoot}/p1/package-summary.html#package_description">package description</A> {&#064;docRoot}/p1/package-summary.html#package_description <br>
       
    68 
       
    69 Expect: <A HREF="./p1/package-summary.html#package_description">./p1/package-summary.html#package description</a>
       
    70 
       
    71 </BODY>
       
    72 </HTML>