test/tools/doclint/html/TagNotAllowed.java

Tue, 24 Sep 2013 13:48:12 -0700

author
jjg
date
Tue, 24 Sep 2013 13:48:12 -0700
changeset 2054
3ae62331a56f
parent 1507
967052c425a1
child 2525
2eb010b6cb22
permissions
-rw-r--r--

8002154: [doclint] doclint should check for issues which are errors in javadoc
Reviewed-by: bpatel

jjg@1455 1 /*
jjg@1455 2 * @test /nodynamiccopyright/
jjg@1465 3 * @bug 8004832
jjg@1465 4 * @summary Add new doclint package
jjg@1455 5 * @library ..
jjg@1455 6 * @build DocLintTester
jjg@1507 7 * @run main DocLintTester -ref TagNotAllowed.out TagNotAllowed.java
jjg@1455 8 */
jjg@1455 9
jjg@1455 10 /**
jjg@1507 11 * <dl> <b>abc</b> <dt> term </dt> <b>def</b> <dd> description </dd> <b>ghi</b> </dl>
jjg@1507 12 * <ol> <b>abc</b> <li> item </li> <b>def</b> <li> item </li> <b>ghi</b> </ol>
jjg@1507 13 * <ul> <b>abc</b> <li> item </li> <b>def</b> <li> item </li> <b>ghi</b> </ul>
jjg@1455 14 *
jjg@1507 15 * <table summary=description> <b>abc</b> </table>
jjg@1507 16 * <table summary=description> <thead> <b>abc</b> </thead> </table>
jjg@1507 17 * <table summary=description> <tbody> <b>abc</b> </tbody> </table>
jjg@1507 18 * <table summary=description> <tfoot> <b>abc</b> </tfoot> </table>
jjg@1507 19 * <table summary=description> <tr> <b>abc</b> </tr> </table>
jjg@1455 20 *
jjg@1507 21 * <pre>
jjg@1507 22 * <img alt="image" src="image.png">
jjg@1507 23 * <p> para </p>
jjg@1507 24 * <big> text </big>
jjg@1507 25 * <small> text </small>
jjg@1507 26 * <sub> text </sub>
jjg@1507 27 * <sup> text </sup>
jjg@1507 28 * </pre>
jjg@1455 29 */
jjg@1507 30 public class TagNotAllowed { }

mercurial