test/jdk/javadoc/doclet/testRelativeLinks/TestRelativeLinks.java

Print this page

        

@@ -52,12 +52,11 @@
         // in the right places.
         checkOutput("pkg/C.html", true,
             "<a href=\"relative-class-link.html\">relative class link</a>",
             "<a href=\"relative-field-link.html\">relative field link</a>",
             "<a href=\"relative-method-link.html\">relative method link</a>",
-            " <a\n" +
-            " href=\"relative-multi-line-link.html\">relative-multi-line-link</a>.");
+            " <a href=\"relative-multi-line-link.html\">relative-multi-line-link</a>.");
         checkOutput("pkg/package-summary.html", true,
             "<a href=\"relative-package-link.html\">relative package link</a>");
 
         // These relative paths should be redirected because they are in different
         // places.

@@ -66,12 +65,12 @@
         checkOutput("index-all.html", true,
             "<a href=\"./pkg/relative-class-link.html\">relative class link</a>",
             "<a href=\"./pkg/relative-field-link.html\">relative field link</a>",
             "<a href=\"./pkg/relative-method-link.html\">relative method link</a>",
             "<a href=\"./pkg/relative-package-link.html\">relative package link</a>",
-            " <a\n" +
-            " href=\"./pkg/relative-multi-line-link.html\">relative-multi-line-link</a>.");
+            " <a href=\"./pkg/relative-multi-line-link.html\">relative-multi-line-link</a>.",
+            "<div class=\"block\"><a name=\"./pkg/masters\"></a>");
 
         // PACKAGE USE
         checkOutput("pkg/package-use.html", true,
             "<a href=\"../pkg/relative-package-link.html\">relative package link</a>.",
             "<a href=\"../pkg/relative-class-link.html\">relative class link</a>");

@@ -79,12 +78,11 @@
         // CLASS_USE
         checkOutput("pkg/class-use/C.html", true,
             "<a href=\"../../pkg/relative-field-link.html\">relative field link</a>",
             "<a href=\"../../pkg/relative-method-link.html\">relative method link</a>",
             "<a href=\"../../pkg/relative-package-link.html\">relative package link</a>",
-            " <a\n" +
-            " href=\"../../pkg/relative-multi-line-link.html\">relative-multi-line-link</a>.");
+            " <a href=\"../../pkg/relative-multi-line-link.html\">relative-multi-line-link</a>.");
 
         // PACKAGE OVERVIEW
         checkOutput("overview-summary.html", true,
             "<a href=\"./pkg/relative-package-link.html\">relative package link</a>");
     }