22 */ |
22 */ |
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 4637604 4775148 |
26 * @bug 4637604 4775148 |
27 * @summary Test the tables for summary="" |
27 * @summary Test the tables for summary attribute |
28 * @author dkramer |
28 * @author dkramer |
29 * @library ../lib/ |
29 * @library ../lib/ |
30 * @build JavadocTester |
30 * @build JavadocTester |
31 * @build AccessSummary |
31 * @build AccessSummary |
32 * @run main AccessSummary |
32 * @run main AccessSummary |
42 */ |
42 */ |
43 private static final String[][] TESTARRAY1 = { |
43 private static final String[][] TESTARRAY1 = { |
44 |
44 |
45 // Test that the summary attribute appears |
45 // Test that the summary attribute appears |
46 { OUTPUT_DIR1 + "overview-summary.html", |
46 { OUTPUT_DIR1 + "overview-summary.html", |
47 "SUMMARY=\"\"" }, |
47 "summary=\"Packages table, listing packages, and an explanation\"" }, |
48 |
48 |
49 // Test that the summary attribute appears |
49 // Test that the summary attribute appears |
50 { OUTPUT_DIR1 + "p1" + FS + "C1.html", |
50 { OUTPUT_DIR1 + "p1" + FS + "C1.html", |
51 "SUMMARY=\"\"" }, |
51 "summary=\"Constructor Summary table, listing constructors, and an explanation\"" }, |
52 |
52 |
53 // Test that the summary attribute appears |
53 // Test that the summary attribute appears |
54 { OUTPUT_DIR1 + "constant-values.html", |
54 { OUTPUT_DIR1 + "constant-values.html", |
55 "SUMMARY=\"\"" } |
55 "summary=\"Constant Field Values table, listing constant fields, and values\"" } |
56 }; |
56 }; |
57 |
57 |
58 // First test with -header only |
58 // First test with -header only |
59 private static final String[] JAVADOC_ARGS = new String[] { |
59 private static final String[] JAVADOC_ARGS = new String[] { |
60 "-d", OUTPUT_DIR1, |
60 "-d", OUTPUT_DIR1, |