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:-accessibility AccessibilityTest.java |
jjg@1455 | 7 | * @run main DocLintTester -ref AccessibilityTest.out AccessibilityTest.java |
jjg@1455 | 8 | */ |
jjg@1455 | 9 | |
jjg@1455 | 10 | /** */ |
jjg@1455 | 11 | public class AccessibilityTest { |
jjg@1455 | 12 | |
jjg@1455 | 13 | /** |
jjg@1455 | 14 | * <h2> ... </h2> |
jjg@1455 | 15 | */ |
jjg@1455 | 16 | public void missing_h1() { } |
jjg@1455 | 17 | |
jjg@1455 | 18 | /** |
jjg@1455 | 19 | * <h1> ... </h1> |
jjg@1455 | 20 | * <h3> ... </h3> |
jjg@1455 | 21 | */ |
jjg@1455 | 22 | public void missing_h2() { } |
jjg@1455 | 23 | |
jjg@1455 | 24 | /** |
jjg@1455 | 25 | * <img src="x.jpg"> |
jjg@1455 | 26 | */ |
jjg@1455 | 27 | public void missing_alt() { } |
jjg@1455 | 28 | |
jjg@1455 | 29 | /** |
jjg@1455 | 30 | * <table summary="ok"><tr><th>head<tr><td>data</table> |
jjg@1455 | 31 | */ |
jjg@1455 | 32 | public void table_with_summary() { } |
jjg@1455 | 33 | |
jjg@1455 | 34 | /** |
jjg@1455 | 35 | * <table><caption>ok</caption><tr><th>head<tr><td>data</table> |
jjg@1455 | 36 | */ |
jjg@1455 | 37 | public void table_with_caption() { } |
jjg@1455 | 38 | |
jjg@1455 | 39 | /** |
jjg@1455 | 40 | * <table><tr><th>head<tr><td>data</table> |
jjg@1455 | 41 | */ |
jjg@1455 | 42 | public void table_without_summary_and_caption() { } |
jjg@1455 | 43 | } |
jjg@1455 | 44 |