31 * @run main TestPackageDescription
32 */
33
34 import javadoc.tester.JavadocTester;
35
36 public class TestPackageDescription extends JavadocTester {
37
38 public static void main(String... args) throws Exception {
39 TestPackageDescription tester = new TestPackageDescription();
40 tester.runTests();
41 }
42
43 @Test
44 public void test1() {
45 javadoc("-d", "out",
46 "-sourcepath", testSrc,
47 "pkg");
48 checkExit(Exit.OK);
49
50 checkOutput("pkg/package-summary.html", true,
51 "<a id=\"package.description\">\n"
52 + "<!-- -->\n"
53 + "</a>\n"
54 + "<div class=\"block\">package description</div>\n");
55 }
56 }
|
31 * @run main TestPackageDescription
32 */
33
34 import javadoc.tester.JavadocTester;
35
36 public class TestPackageDescription extends JavadocTester {
37
38 public static void main(String... args) throws Exception {
39 TestPackageDescription tester = new TestPackageDescription();
40 tester.runTests();
41 }
42
43 @Test
44 public void test1() {
45 javadoc("-d", "out",
46 "-sourcepath", testSrc,
47 "pkg");
48 checkExit(Exit.OK);
49
50 checkOutput("pkg/package-summary.html", true,
51 "<section class=\"packageDescription\" id=\"package.description\">\n"
52 + "<div class=\"block\">package description</div>\n");
53 }
54 }
|