test/tools/doclint/HtmlTagsTest.java

Wed, 13 Aug 2014 14:50:00 -0700

author
katleman
date
Wed, 13 Aug 2014 14:50:00 -0700
changeset 2549
0b6cc4ea670f
parent 1507
967052c425a1
child 2525
2eb010b6cb22
permissions
-rw-r--r--

Added tag jdk8u40-b01 for changeset bf89a471779d

     1 /*
     2  * @test /nodynamiccopyright/
     3  * @bug 8004832
     4  * @summary Add new doclint package
     5  * @build DocLintTester
     6  * @run main DocLintTester -Xmsgs:-html HtmlTagsTest.java
     7  * @run main DocLintTester -ref HtmlTagsTest.out HtmlTagsTest.java
     8  */
    10 /** */
    11 public class HtmlTagsTest {
    12     /**
    13      * <xyz> ... </xyz>
    14      */
    15     public void unknownTag1() { }
    17     /**
    18      * <div> <xyz> </div>
    19      */
    20     public void unknownTag2() { }
    22     /**
    23      * <br/>
    24      */
    25     public void selfClosingTag() { }
    27     /**
    28      * <html>
    29      */
    30     public void not_allowed() { }
    32     /**
    33      * <span> <p> </span>
    34      */
    35     public void not_allowed_inline() { }
    37     /**
    38      * {@link java.lang.String <p> }
    39      * {@link java.lang.String <p> }
    40      */
    41     public void not_allowed_inline_2() { }
    43     /**
    44      * <img src="any.jpg" alt="alt"> </img>
    45      */
    46     public void end_not_allowed() { }
    48     /**
    49      * <i> <b> </i>
    50      */
    51     public void start_not_matched() { }
    53     /**
    54      * <i> </b> </i>
    55      */
    56     public void end_unexpected() { }
    58     /**
    59      * <ul> text <li> ... </li> </ul>
    60      */
    61     public void text_not_allowed() { }
    63     /**
    64      * <ul> <b>text</b> <li> ... </li> </ul>
    65      */
    66     public void inline_not_allowed() { }
    69 }

mercurial