|
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> Current directory |
|
11 <p> |
|
12 |
|
13 Sub-test 12 Actual: <A HREF="{@docroot}">{@docroot}</A> Bare tag - ALL LOWERCASE <br> |
|
14 Sub-test 12 Expect: <A HREF=""></A> <br> |
|
15 (Expect empty string because lowercase docroot is illegal) |
|
16 <p> |
|
17 |
|
18 Sub-test 13 Actual: <A HREF="{@docRoot}">{@docRoot}</A> Bare tag - "R" UPPERCASE <br> |
|
19 Sub-test 13 Expect: <A HREF="..">..</A> |
|
20 <p> |
|
21 |
|
22 Sub-test 14 Actual: <A HREF="{@docRoot}/package-list">{@docRoot}/package-list</A> <br> |
|
23 Sub-test 14 Expect: <A HREF="../package-list">../package-list</A> |
|
24 <p> |
|
25 |
|
26 Sub-test 15 Actual: <A HREF="{@docRoot}/p2/C2.html">{@docRoot}/p2/C2.html</A> <br> |
|
27 Sub-test 15 Expect: <A HREF="../p2/C2.html">../p2/C2.html</A> |
|
28 <p> |
|
29 |
|
30 Sub-test 16 Actual: <A HREF="{@docRoot}/../docs1/p2/C2.html">{@docRoot}/../docs1/p2/C2.html</A> <br> |
|
31 Sub-test 16 Expect: <A HREF="../../docs1/p2/C2.html">../../docs1/p2/C2.html</A> |
|
32 <p> |
|
33 |
|
34 Sub-test 17 Actual: <A HREF="{@docRoot}/p2/package-summary.html#package_description">{@docRoot}/p2/package-summary.html#package_description</A> <br> |
|
35 Sub-test 17 Expect: <A HREF="../p2/package-summary.html#package_description">../p2/package-summary.html#package_description</A> |
|
36 <p> |
|
37 |
|
38 Sub-test 18 Actual: <A HREF="{@docRoot}/../docs1/p2/package-summary.html#package_description">{@docRoot}/../docs1/p2/package-summary.html#package_description</A> <br> |
|
39 Sub-test 18 Expect: <A HREF="../../docs1/p2/package-summary.html#package_description">../../docs1/p2/package-summary.html#package_description</A> |
|
40 <p> |
|
41 |
|
42 <!-- ------------------------------------------------ --> |
|
43 |
|
44 Allow docRoot to work without a trailing slash for those who had to change their comments |
|
45 to work with the 1.4.0 bug: |
|
46 <p> |
|
47 |
|
48 Sub-test 19 Actual: <A HREF="{@docRoot}p2/C2.html">{@docRoot}p2/C2.html</A> <br> |
|
49 Sub-test 19 Expect: <A HREF="..p2/C2.html">../p2/C2.html</A> |
|
50 <p> |
|
51 |
|
52 Sub-test 20 Actual: <A HREF="{@docRoot}../docs1/p2/C2.html">{@docRoot}../docs1/p2/C2.html</A> <br> |
|
53 Sub-test 20 Expect: <A HREF="..../docs1/p2/C2.html">../../docs1/p2/C2.html</A> |
|
54 <p> |
|
55 |
|
56 Sub-test 21 Actual: <A HREF="{@docRoot}p2/package-summary.html#package_description">{@docRoot}/p2/package-summary.html#package_description</A><br> |
|
57 Sub-test 21 Expect: <A HREF="..p2/package-summary.html#package_description">../p2/package-summary.html#package_description</A> |
|
58 <p> |
|
59 |
|
60 Sub-test 22 Actual: <A HREF="{@docRoot}../docs1/p2/package-summary.html#package_description">{@docRoot}/../docs1/p2/package-summary.html#package_description</A> <br> |
|
61 Sub-test 22 Expect: <A HREF="..../docs1/p2/package-summary.html#package_description">../../docs1/p2/package-summary.html#package_description</A> |
|
62 <p> |
|
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> {@docRoot}p1/packagesummary#package_description</A> <br> |
|
66 |
|
67 Actual: <A HREF="{@docRoot}/p1/package-summary.html#package_description">package description</A> {@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 <p> |
|
71 |
|
72 </BODY> |
|
73 </HTML> |