21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 4927167 4974929 7010344 |
26 * @bug 4927167 4974929 7010344 8025633 |
27 * @summary When the type parameters are more than 10 characters in length, |
27 * @summary When the type parameters are more than 10 characters in length, |
28 * make sure there is a line break between type params and return type |
28 * make sure there is a line break between type params and return type |
29 * in member summary. Also, test for type parameter links in package-summary and |
29 * in member summary. Also, test for type parameter links in package-summary and |
30 * class-use pages. The class/annotation pages should check for type |
30 * class-use pages. The class/annotation pages should check for type |
31 * parameter links in the class/annotation signature section when -linksource is set. |
31 * parameter links in the class/annotation signature section when -linksource is set. |
69 "title=\"class in pkg\">ParamTest2</a><java.util.List<? extends " + |
69 "title=\"class in pkg\">ParamTest2</a><java.util.List<? extends " + |
70 "<a href=\"../../pkg/Foo4.html\" title=\"class in pkg\">Foo4</a>>>>" |
70 "<a href=\"../../pkg/Foo4.html\" title=\"class in pkg\">Foo4</a>>>>" |
71 }, |
71 }, |
72 //Nested type parameters |
72 //Nested type parameters |
73 {BUG_ID + FS + "pkg" + FS + "C.html", |
73 {BUG_ID + FS + "pkg" + FS + "C.html", |
74 "<a name=\"formatDetails(java.util.Collection, java.util.Collection)\">" + NL + |
74 "<a name=\"formatDetails-java.util.Collection-java.util.Collection-\">" + NL + |
75 "<!-- -->" + NL + |
75 "<!-- -->" + NL + |
76 "</a>" |
76 "</a>" |
77 }, |
77 }, |
78 }; |
78 }; |
79 private static final String[][] TEST2 = { |
79 private static final String[][] TEST2 = { |