langtools/test/com/sun/javadoc/DocRootSlash/overview.html
author pchelko
Wed, 23 Apr 2014 17:56:05 +0400
changeset 24529 c580bcb3aabc
parent 10 06bc494ca11e
child 25292 35285e9cdf70
permissions -rw-r--r--
8027148: SystemFlavorMap.getNativesForFlavor returns list of native formats in incorrect order Reviewed-by: anthony, serb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     1
<HTML>
06bc494ca11e Initial load
duke
parents:
diff changeset
     2
<HEAD>
06bc494ca11e Initial load
duke
parents:
diff changeset
     3
</HEAD>
06bc494ca11e Initial load
duke
parents:
diff changeset
     4
06bc494ca11e Initial load
duke
parents:
diff changeset
     5
<BODY>
06bc494ca11e Initial load
duke
parents:
diff changeset
     6
06bc494ca11e Initial load
duke
parents:
diff changeset
     7
Dummy first sentence to suppress BreakIterator warning.
06bc494ca11e Initial load
duke
parents:
diff changeset
     8
<p>
06bc494ca11e Initial load
duke
parents:
diff changeset
     9
06bc494ca11e Initial load
duke
parents:
diff changeset
    10
Case 0 Actual: <A HREF=".">.</A> &nbsp; Current directory
06bc494ca11e Initial load
duke
parents:
diff changeset
    11
<p>
06bc494ca11e Initial load
duke
parents:
diff changeset
    12
Sub-test 23 Actual: <A HREF="{@docroot}">{&#064;docroot}</A> Bare tag - ALL LOWERCASE <br>
06bc494ca11e Initial load
duke
parents:
diff changeset
    13
Sub-test 23 Expect: <A HREF=""></A> <br>
06bc494ca11e Initial load
duke
parents:
diff changeset
    14
(Expect empty string because lowercase docroot is illegal) 
06bc494ca11e Initial load
duke
parents:
diff changeset
    15
<p>
06bc494ca11e Initial load
duke
parents:
diff changeset
    16
06bc494ca11e Initial load
duke
parents:
diff changeset
    17
Sub-test 24 Actual: <A HREF="{@docRoot}">{&#064;docRoot}</A> Bare tag - "R" UPPERCASE <br>
06bc494ca11e Initial load
duke
parents:
diff changeset
    18
Sub-test 24 Expect: <A HREF=".">.</A>
06bc494ca11e Initial load
duke
parents:
diff changeset
    19
<p>
06bc494ca11e Initial load
duke
parents:
diff changeset
    20
06bc494ca11e Initial load
duke
parents:
diff changeset
    21
Sub-test 25 Actual: <A HREF="{@docRoot}/package-list">{&#064;docRoot}/package-list</A>  <br>
06bc494ca11e Initial load
duke
parents:
diff changeset
    22
Sub-test 25 Expect: <A HREF="./package-list">./package-list</A>
06bc494ca11e Initial load
duke
parents:
diff changeset
    23
<p>
06bc494ca11e Initial load
duke
parents:
diff changeset
    24
06bc494ca11e Initial load
duke
parents:
diff changeset
    25
Sub-test 26 Actual: <A HREF="{@docRoot}/p2/C2.html">{&#064;docRoot}/p2/C2.html</A>  <br>
06bc494ca11e Initial load
duke
parents:
diff changeset
    26
Sub-test 26 Expect: <A HREF="./p2/C2.html">./p2/C2.html</A>
06bc494ca11e Initial load
duke
parents:
diff changeset
    27
<p>
06bc494ca11e Initial load
duke
parents:
diff changeset
    28
06bc494ca11e Initial load
duke
parents:
diff changeset
    29
Sub-test 27 Actual: <A HREF="{@docRoot}/../docs1/p2/C2.html">{&#064;docRoot}/../docs1/p2/C2.html</A> <br>
06bc494ca11e Initial load
duke
parents:
diff changeset
    30
Sub-test 27 Expect: <A HREF="./../docs1/p2/C2.html">./../docs1/p2/C2.html</A>
06bc494ca11e Initial load
duke
parents:
diff changeset
    31
<p>
06bc494ca11e Initial load
duke
parents:
diff changeset
    32
06bc494ca11e Initial load
duke
parents:
diff changeset
    33
Sub-test 28 Actual: <A HREF="{@docRoot}/p2/package-summary.html#package_description">{&#064;docRoot}/p2/package-summary.html#package_description</A>  <br>
06bc494ca11e Initial load
duke
parents:
diff changeset
    34
Sub-test 28 Expect: <A HREF="./p2/package-summary.html#package_description">./p2/package-summary.html#package_description</A>
06bc494ca11e Initial load
duke
parents:
diff changeset
    35
<p>
06bc494ca11e Initial load
duke
parents:
diff changeset
    36
06bc494ca11e Initial load
duke
parents:
diff changeset
    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>
06bc494ca11e Initial load
duke
parents:
diff changeset
    38
Sub-test 29 Expect: <A HREF="./../docs1/p2/package-summary.html#package_description">./../docs1/p2/package-summary.html#package_description</A>
06bc494ca11e Initial load
duke
parents:
diff changeset
    39
<p>
06bc494ca11e Initial load
duke
parents:
diff changeset
    40
06bc494ca11e Initial load
duke
parents:
diff changeset
    41
<!-- ----------------------------------------------- -->
06bc494ca11e Initial load
duke
parents:
diff changeset
    42
06bc494ca11e Initial load
duke
parents:
diff changeset
    43
Allow docRoot to work without a trailing slash for those who had to change their comments
06bc494ca11e Initial load
duke
parents:
diff changeset
    44
to work with the 1.4.0 bug:
06bc494ca11e Initial load
duke
parents:
diff changeset
    45
<p>
06bc494ca11e Initial load
duke
parents:
diff changeset
    46
06bc494ca11e Initial load
duke
parents:
diff changeset
    47
Sub-test 30 Actual: <A HREF="{@docRoot}p2/C2.html">{&#064;docRoot}p2/C2.html</A>  <br>
06bc494ca11e Initial load
duke
parents:
diff changeset
    48
Sub-test 30 Expect: <A HREF=".p2/C2.html">./p2/C2.html</A>
06bc494ca11e Initial load
duke
parents:
diff changeset
    49
<p>
06bc494ca11e Initial load
duke
parents:
diff changeset
    50
06bc494ca11e Initial load
duke
parents:
diff changeset
    51
Sub-test 31 Actual: <A HREF="{@docRoot}../docs1/p2/C2.html">{&#064;docRoot}../docs1/p2/C2.html</A> <br>
06bc494ca11e Initial load
duke
parents:
diff changeset
    52
Sub-test 31 Expect: <A HREF=".../docs1/p2/C2.html">./../docs1/p2/C2.html</A>
06bc494ca11e Initial load
duke
parents:
diff changeset
    53
<p>
06bc494ca11e Initial load
duke
parents:
diff changeset
    54
06bc494ca11e Initial load
duke
parents:
diff changeset
    55
Sub-test 32 Actual: <A HREF="{@docRoot}p2/package-summary.html#package_description">{&#064;docRoot}/p2/package-summary.html#package_description</A>  <br>
06bc494ca11e Initial load
duke
parents:
diff changeset
    56
Sub-test 32 Expect: <A HREF=".p2/package-summary.html#package_description">./p2/package-summary.html#package_description</A>
06bc494ca11e Initial load
duke
parents:
diff changeset
    57
06bc494ca11e Initial load
duke
parents:
diff changeset
    58
<p>
06bc494ca11e Initial load
duke
parents:
diff changeset
    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>
06bc494ca11e Initial load
duke
parents:
diff changeset
    60
Sub-test 33 Expect: <A HREF=".../docs1/p2/package-summary.html#package_description">./../docs1/p2/package-summary.html#package_description</A>
06bc494ca11e Initial load
duke
parents:
diff changeset
    61
<p>
06bc494ca11e Initial load
duke
parents:
diff changeset
    62
06bc494ca11e Initial load
duke
parents:
diff changeset
    63
06bc494ca11e Initial load
duke
parents:
diff changeset
    64
Bonus links, not part of automated test (bug 4662945):<br>
06bc494ca11e Initial load
duke
parents:
diff changeset
    65
Actual: <A HREF="{@docRoot}p1/package-summary.html#package_description">package description</a> {&#064;docRoot}p1/packagesummary#package_description</A> <br>
06bc494ca11e Initial load
duke
parents:
diff changeset
    66
06bc494ca11e Initial load
duke
parents:
diff changeset
    67
Actual: <A HREF="{@docRoot}/p1/package-summary.html#package_description">package description</A> {&#064;docRoot}/p1/package-summary.html#package_description <br>
06bc494ca11e Initial load
duke
parents:
diff changeset
    68
06bc494ca11e Initial load
duke
parents:
diff changeset
    69
Expect: <A HREF="./p1/package-summary.html#package_description">./p1/package-summary.html#package description</a>
06bc494ca11e Initial load
duke
parents:
diff changeset
    70
06bc494ca11e Initial load
duke
parents:
diff changeset
    71
</BODY>
06bc494ca11e Initial load
duke
parents:
diff changeset
    72
</HTML>