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