test/com/sun/javadoc/testTypeParams/TestTypeParameters.java

changeset 2101
933ba3f81a87
parent 1741
4c43e51433ba
child 2525
2eb010b6cb22
equal deleted inserted replaced
2100:1e7ad879f15e 2101:933ba3f81a87
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>&lt;java.util.List&lt;? extends " + 69 "title=\"class in pkg\">ParamTest2</a>&lt;java.util.List&lt;? extends " +
70 "<a href=\"../../pkg/Foo4.html\" title=\"class in pkg\">Foo4</a>&gt;&gt;&gt;" 70 "<a href=\"../../pkg/Foo4.html\" title=\"class in pkg\">Foo4</a>&gt;&gt;&gt;"
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 = {

mercurial