test/tools/doclint/HtmlAttrsTest.java

Tue, 19 Mar 2013 19:16:59 -0700

author
jjg
date
Tue, 19 Mar 2013 19:16:59 -0700
changeset 1650
74d7f9bcac93
parent 1465
a22f23fb7abf
child 2110
b024fe427d24
permissions
-rw-r--r--

8010317: DocLint incorrectly reports some <pre> tags as empty
Reviewed-by: darcy

     1 /*
     2  * @test /nodynamiccopyright/
     3  * @bug 8004832
     4  * @summary Add new doclint package
     5  * @build DocLintTester
     6  * @run main DocLintTester -Xmsgs:-html HtmlAttrsTest.java
     7  * @run main DocLintTester -ref HtmlAttrsTest.out HtmlAttrsTest.java
     8  */
    10 /** */
    11 public class HtmlAttrsTest {
    12     /**
    13      * <p xyz>
    14      */
    15     public void unknown() { }
    17     /**
    18      * <img name="x" alt="alt">
    19      */
    20     public void obsolete() { }
    22     /**
    23      * <font size="3"> text </font>
    24      */
    25     public void obsolete_use_css() { }
    26 }

mercurial