Thu, 26 Jul 2018 15:47:44 +0800
Added tag mips64el-jdk8u172-b13 for changeset a5ddc08adcc0
aoqi@0 | 1 | /* |
aoqi@0 | 2 | * @test /nodynamiccopyright/ |
aoqi@0 | 3 | * @bug 8006236 |
aoqi@0 | 4 | * @summary doclint: structural issue hidden |
aoqi@0 | 5 | * @build DocLintTester |
aoqi@0 | 6 | * @run main DocLintTester -Xmsgs:-html EndTagsTest.java |
aoqi@0 | 7 | * @run main DocLintTester -ref EndTagsTest.out EndTagsTest.java |
aoqi@0 | 8 | */ |
aoqi@0 | 9 | |
aoqi@0 | 10 | /** */ |
aoqi@0 | 11 | public class EndTagsTest { |
aoqi@0 | 12 | /** <p> <a name="a1"> text <img alt="image" src="image.png"> </a> </p> */ |
aoqi@0 | 13 | public void valid_all() { } |
aoqi@0 | 14 | |
aoqi@0 | 15 | /** <p> <a name="a2"> text <img alt="image" src="image.png"> </a> */ |
aoqi@0 | 16 | public void valid_omit_optional_close() { } |
aoqi@0 | 17 | |
aoqi@0 | 18 | /** </a> */ |
aoqi@0 | 19 | public void invalid_missing_start() { } |
aoqi@0 | 20 | |
aoqi@0 | 21 | /** <p> </a> */ |
aoqi@0 | 22 | public void invalid_missing_start_2() { } |
aoqi@0 | 23 | |
aoqi@0 | 24 | /** <p> text </p> </a> */ |
aoqi@0 | 25 | public void invalid_missing_start_3() { } |
aoqi@0 | 26 | |
aoqi@0 | 27 | /** <img alt="image" src="image.png"> </img> */ |
aoqi@0 | 28 | public void invalid_end() { } |
aoqi@0 | 29 | |
aoqi@0 | 30 | /** <invalid> </invalid> */ |
aoqi@0 | 31 | public void unknown_start_end() { } |
aoqi@0 | 32 | |
aoqi@0 | 33 | /** <invalid> */ |
aoqi@0 | 34 | public void unknown_start() { } |
aoqi@0 | 35 | |
aoqi@0 | 36 | /** </invalid> */ |
aoqi@0 | 37 | public void unknown_end() { } |
aoqi@0 | 38 | } |
aoqi@0 | 39 |