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