langtools/test/com/sun/javadoc/DocRootSlash/p1/package.html
author sogoel
Wed, 18 Jun 2014 14:58:16 -0700
changeset 25272 a927eb2effa5
parent 10 06bc494ca11e
child 25292 35285e9cdf70
permissions -rw-r--r--
8046071: update three javadoc tests for empty <p> tag Reviewed-by: jjg, ksrini
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
06bc494ca11e Initial load
duke
parents:
diff changeset
    13
Sub-test 12 Actual: <A HREF="{@docroot}">{&#064;docroot}</A> Bare tag - ALL LOWERCASE <br>
06bc494ca11e Initial load
duke
parents:
diff changeset
    14
Sub-test 12 Expect: <A HREF=""></A> <br>
06bc494ca11e Initial load
duke
parents:
diff changeset
    15
(Expect empty string because lowercase docroot is illegal)
06bc494ca11e Initial load
duke
parents:
diff changeset
    16
<p>
06bc494ca11e Initial load
duke
parents:
diff changeset
    17
06bc494ca11e Initial load
duke
parents:
diff changeset
    18
Sub-test 13 Actual: <A HREF="{@docRoot}">{&#064;docRoot}</A> Bare tag - "R" UPPERCASE <br>
06bc494ca11e Initial load
duke
parents:
diff changeset
    19
Sub-test 13 Expect: <A HREF="..">..</A>
06bc494ca11e Initial load
duke
parents:
diff changeset
    20
<p>
06bc494ca11e Initial load
duke
parents:
diff changeset
    21
06bc494ca11e Initial load
duke
parents:
diff changeset
    22
Sub-test 14 Actual: <A HREF="{@docRoot}/package-list">{&#064;docRoot}/package-list</A> <br>
06bc494ca11e Initial load
duke
parents:
diff changeset
    23
Sub-test 14 Expect: <A HREF="../package-list">../package-list</A>
06bc494ca11e Initial load
duke
parents:
diff changeset
    24
<p>
06bc494ca11e Initial load
duke
parents:
diff changeset
    25
06bc494ca11e Initial load
duke
parents:
diff changeset
    26
Sub-test 15 Actual: <A HREF="{@docRoot}/p2/C2.html">{&#064;docRoot}/p2/C2.html</A> <br>
06bc494ca11e Initial load
duke
parents:
diff changeset
    27
Sub-test 15 Expect: <A HREF="../p2/C2.html">../p2/C2.html</A>
06bc494ca11e Initial load
duke
parents:
diff changeset
    28
<p>
06bc494ca11e Initial load
duke
parents:
diff changeset
    29
06bc494ca11e Initial load
duke
parents:
diff changeset
    30
Sub-test 16 Actual: <A HREF="{@docRoot}/../docs1/p2/C2.html">{&#064;docRoot}/../docs1/p2/C2.html</A> <br>
06bc494ca11e Initial load
duke
parents:
diff changeset
    31
Sub-test 16 Expect: <A HREF="../../docs1/p2/C2.html">../../docs1/p2/C2.html</A>
06bc494ca11e Initial load
duke
parents:
diff changeset
    32
<p>
06bc494ca11e Initial load
duke
parents:
diff changeset
    33
06bc494ca11e Initial load
duke
parents:
diff changeset
    34
Sub-test 17 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
    35
Sub-test 17 Expect: <A HREF="../p2/package-summary.html#package_description">../p2/package-summary.html#package_description</A>
06bc494ca11e Initial load
duke
parents:
diff changeset
    36
<p>
06bc494ca11e Initial load
duke
parents:
diff changeset
    37
06bc494ca11e Initial load
duke
parents:
diff changeset
    38
Sub-test 18 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
    39
Sub-test 18 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
    40
<p>
06bc494ca11e Initial load
duke
parents:
diff changeset
    41
06bc494ca11e Initial load
duke
parents:
diff changeset
    42
<!-- ------------------------------------------------ -->
06bc494ca11e Initial load
duke
parents:
diff changeset
    43
06bc494ca11e Initial load
duke
parents:
diff changeset
    44
Allow docRoot to work without a trailing slash for those who had to change their comments
06bc494ca11e Initial load
duke
parents:
diff changeset
    45
to work with the 1.4.0 bug:
06bc494ca11e Initial load
duke
parents:
diff changeset
    46
<p>
06bc494ca11e Initial load
duke
parents:
diff changeset
    47
06bc494ca11e Initial load
duke
parents:
diff changeset
    48
Sub-test 19 Actual: <A HREF="{@docRoot}p2/C2.html">{&#064;docRoot}p2/C2.html</A> <br>
06bc494ca11e Initial load
duke
parents:
diff changeset
    49
Sub-test 19 Expect: <A HREF="..p2/C2.html">../p2/C2.html</A>
06bc494ca11e Initial load
duke
parents:
diff changeset
    50
<p>
06bc494ca11e Initial load
duke
parents:
diff changeset
    51
06bc494ca11e Initial load
duke
parents:
diff changeset
    52
Sub-test 20 Actual: <A HREF="{@docRoot}../docs1/p2/C2.html">{&#064;docRoot}../docs1/p2/C2.html</A> <br>
06bc494ca11e Initial load
duke
parents:
diff changeset
    53
Sub-test 20 Expect: <A HREF="..../docs1/p2/C2.html">../../docs1/p2/C2.html</A>
06bc494ca11e Initial load
duke
parents:
diff changeset
    54
<p>
06bc494ca11e Initial load
duke
parents:
diff changeset
    55
06bc494ca11e Initial load
duke
parents:
diff changeset
    56
Sub-test 21 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
    57
Sub-test 21 Expect: <A HREF="..p2/package-summary.html#package_description">../p2/package-summary.html#package_description</A>
06bc494ca11e Initial load
duke
parents:
diff changeset
    58
<p>
06bc494ca11e Initial load
duke
parents:
diff changeset
    59
06bc494ca11e Initial load
duke
parents:
diff changeset
    60
Sub-test 22 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
    61
Sub-test 22 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
    62
<p>
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>