Tue, 08 Jan 2019 16:17:56 -0800
Added tag jdk8u202-b26 for changeset c0f526208190
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 }