author | naoto |
Tue, 29 Mar 2016 17:06:33 -0700 | |
changeset 36739 | 145210aba850 |
parent 30730 | d3ce7619db2c |
permissions | -rw-r--r-- |
14952 | 1 |
/* |
2 |
* @test /nodynamiccopyright/ |
|
14962 | 3 |
* @bug 8004832 |
4 |
* @summary Add new doclint package |
|
30730
d3ce7619db2c
8076543: Add @modules as needed to the langtools tests
akulyakh
parents:
14962
diff
changeset
|
5 |
* @modules jdk.compiler/com.sun.tools.doclint |
14952 | 6 |
* @build DocLintTester |
7 |
* @run main DocLintTester -Xmsgs:-accessibility AccessibilityTest.java |
|
8 |
* @run main DocLintTester -ref AccessibilityTest.out AccessibilityTest.java |
|
9 |
*/ |
|
10 |
||
11 |
/** */ |
|
12 |
public class AccessibilityTest { |
|
13 |
||
14 |
/** |
|
15 |
* <h2> ... </h2> |
|
16 |
*/ |
|
17 |
public void missing_h1() { } |
|
18 |
||
19 |
/** |
|
20 |
* <h1> ... </h1> |
|
21 |
* <h3> ... </h3> |
|
22 |
*/ |
|
23 |
public void missing_h2() { } |
|
24 |
||
25 |
/** |
|
26 |
* <img src="x.jpg"> |
|
27 |
*/ |
|
28 |
public void missing_alt() { } |
|
29 |
||
30 |
/** |
|
31 |
* <table summary="ok"><tr><th>head<tr><td>data</table> |
|
32 |
*/ |
|
33 |
public void table_with_summary() { } |
|
34 |
||
35 |
/** |
|
36 |
* <table><caption>ok</caption><tr><th>head<tr><td>data</table> |
|
37 |
*/ |
|
38 |
public void table_with_caption() { } |
|
39 |
||
40 |
/** |
|
41 |
* <table><tr><th>head<tr><td>data</table> |
|
42 |
*/ |
|
43 |
public void table_without_summary_and_caption() { } |
|
44 |
} |
|
45 |