test/com/sun/javadoc/testAnnotationTypes/TestAnnotationTypes.java

changeset 2101
933ba3f81a87
parent 2035
a2a5ad0853ed
child 2147
130b8c0e570e
equal deleted inserted replaced
2100:1e7ad879f15e 2101:933ba3f81a87
21 * questions. 21 * questions.
22 */ 22 */
23 23
24 /* 24 /*
25 * @test 25 * @test
26 * @bug 4973609 8015249 26 * @bug 4973609 8015249 8025633
27 * @summary Make sure that annotation types with 0 members does not have 27 * @summary Make sure that annotation types with 0 members does not have
28 * extra HR tags. 28 * extra HR tags.
29 * @author jamieh 29 * @author jamieh
30 * @library ../lib/ 30 * @library ../lib/
31 * @build JavadocTester TestAnnotationTypes 31 * @build JavadocTester TestAnnotationTypes
43 }; 43 };
44 44
45 //Input for string search tests. 45 //Input for string search tests.
46 private static final String[][] TEST = { 46 private static final String[][] TEST = {
47 {BUG_ID + FS + "pkg" + FS + "AnnotationTypeField.html", 47 {BUG_ID + FS + "pkg" + FS + "AnnotationTypeField.html",
48 "<li>Summary:&nbsp;</li>" + NL + "<li><a href=\"#annotation_type_" + 48 "<li>Summary:&nbsp;</li>" + NL + "<li><a href=\"#annotation.type." +
49 "field_summary\">Field</a>&nbsp;|&nbsp;</li>"}, 49 "field.summary\">Field</a>&nbsp;|&nbsp;</li>"},
50 {BUG_ID + FS + "pkg" + FS + "AnnotationTypeField.html", 50 {BUG_ID + FS + "pkg" + FS + "AnnotationTypeField.html",
51 "<li>Detail:&nbsp;</li>" + NL + "<li><a href=\"#annotation_type_" + 51 "<li>Detail:&nbsp;</li>" + NL + "<li><a href=\"#annotation.type." +
52 "field_detail\">Field</a>&nbsp;|&nbsp;</li>"}, 52 "field.detail\">Field</a>&nbsp;|&nbsp;</li>"},
53 {BUG_ID + FS + "pkg" + FS + "AnnotationTypeField.html", 53 {BUG_ID + FS + "pkg" + FS + "AnnotationTypeField.html",
54 "<!-- =========== ANNOTATION TYPE FIELD SUMMARY =========== -->"}, 54 "<!-- =========== ANNOTATION TYPE FIELD SUMMARY =========== -->"},
55 {BUG_ID + FS + "pkg" + FS + "AnnotationTypeField.html", 55 {BUG_ID + FS + "pkg" + FS + "AnnotationTypeField.html",
56 "<h3>Field Summary</h3>"}, 56 "<h3>Field Summary</h3>"},
57 {BUG_ID + FS + "pkg" + FS + "AnnotationTypeField.html", 57 {BUG_ID + FS + "pkg" + FS + "AnnotationTypeField.html",

mercurial