Dummy first sentence to suppress breakiterator warning.

Case 0 Actual: . Current directory

Sub-test 12 Actual: {@docroot} Bare tag - ALL LOWERCASE
Sub-test 12 Expect:
(Expect empty string because lowercase docroot is illegal)

Sub-test 13 Actual: {@docRoot} Bare tag - "R" UPPERCASE
Sub-test 13 Expect: ..

Sub-test 14 Actual: {@docRoot}/package-list
Sub-test 14 Expect: ../package-list

Sub-test 15 Actual: {@docRoot}/p2/C2.html
Sub-test 15 Expect: ../p2/C2.html

Sub-test 16 Actual: {@docRoot}/../docs1/p2/C2.html
Sub-test 16 Expect: ../../docs1/p2/C2.html

Sub-test 17 Actual: {@docRoot}/p2/package-summary.html#package_description
Sub-test 17 Expect: ../p2/package-summary.html#package_description

Sub-test 18 Actual: {@docRoot}/../docs1/p2/package-summary.html#package_description
Sub-test 18 Expect: ../../docs1/p2/package-summary.html#package_description

Allow docRoot to work without a trailing slash for those who had to change their comments to work with the 1.4.0 bug:

Sub-test 19 Actual: {@docRoot}p2/C2.html
Sub-test 19 Expect: ../p2/C2.html

Sub-test 20 Actual: {@docRoot}../docs1/p2/C2.html
Sub-test 20 Expect: ../../docs1/p2/C2.html

Sub-test 21 Actual: {@docRoot}/p2/package-summary.html#package_description
Sub-test 21 Expect: ../p2/package-summary.html#package_description

Sub-test 22 Actual: {@docRoot}/../docs1/p2/package-summary.html#package_description
Sub-test 22 Expect: ../../docs1/p2/package-summary.html#package_description

Bonus links, not part of automated test (bug 4662945):
Actual: package description {@docRoot}p1/packagesummary#package_description
Actual: package description {@docRoot}/p1/package-summary.html#package_description
Expect: ../p1/package-summary.html#package description