equal
deleted
inserted
replaced
46 } |
46 } |
47 |
47 |
48 @Test |
48 @Test |
49 public void testAccessSummary() { |
49 public void testAccessSummary() { |
50 javadoc("-d", "out", |
50 javadoc("-d", "out", |
51 "--frames", |
|
52 "-sourcepath", testSrc, |
51 "-sourcepath", testSrc, |
53 "p1", "p2"); |
52 "p1", "p2"); |
54 checkExit(Exit.OK); |
53 checkExit(Exit.OK); |
55 checkSummary(false); |
54 checkSummary(false); |
56 } |
55 } |
57 |
56 |
58 void checkSummary(boolean found) { |
57 void checkSummary(boolean found) { |
59 checkOutput("overview-summary.html", found, |
58 checkOutput("index.html", found, |
60 "summary=\"Package Summary table, listing packages, and an explanation\""); |
59 "summary=\"Package Summary table, listing packages, and an explanation\""); |
61 |
60 |
62 // Test that the summary attribute appears or not |
61 // Test that the summary attribute appears or not |
63 checkOutput("p1/C1.html", found, |
62 checkOutput("p1/C1.html", found, |
64 "summary=\"Constructor Summary table, listing constructors, and an explanation\""); |
63 "summary=\"Constructor Summary table, listing constructors, and an explanation\""); |