37
38 /**
39 * The entry point of the test.
40 * @param args the array of command line arguments.
41 */
42 public static void main(String... args) throws Exception {
43 TestBadOverride tester = new TestBadOverride();
44 tester.runTests();
45 }
46
47 @Test
48 public void test() {
49 javadoc("-d", "out",
50 "-sourcepath", testSrc,
51 "pkg4");
52 checkExit(Exit.OK);
53
54 checkOutput("pkg4/Foo.html", true,
55 "<li class=\"blockList\">\n"
56 + "<h3>toString</h3>\n"
57 + "<pre class=\"methodSignature\">public void toString()</pre>\n"
58 + "<div class=\"block\">Why can't I do this ?</div>\n"
59 + "</li>");
60 }
61 }
|
37
38 /**
39 * The entry point of the test.
40 * @param args the array of command line arguments.
41 */
42 public static void main(String... args) throws Exception {
43 TestBadOverride tester = new TestBadOverride();
44 tester.runTests();
45 }
46
47 @Test
48 public void test() {
49 javadoc("-d", "out",
50 "-sourcepath", testSrc,
51 "pkg4");
52 checkExit(Exit.OK);
53
54 checkOutput("pkg4/Foo.html", true,
55 "<li class=\"blockList\">\n"
56 + "<h3>toString</h3>\n"
57 + "<pre>public void toString()</pre>\n"
58 + "<div class=\"block\">Why can't I do this ?</div>\n"
59 + "</li>");
60 }
61 }
|