test/tools/doclint/tool/MaxDiagsTest.java

changeset 0
959103a6100f
equal deleted inserted replaced
-1:000000000000 0:959103a6100f
1 /*
2 * @test /nodynamiccopyright/
3 * @bug 8006263
4 * @summary Supplementary test cases needed for doclint
5 * @library ..
6 * @build DocLintTester
7 * @run main DocLintTester -ref MaxDiagsTest.out -Xmaxerrs 2 -Xmaxwarns 2 MaxDiagsTest.java
8 * @run main DocLintTester -badargs -Xmaxerrs
9 * @run main DocLintTester -badargs -Xmaxwarns
10 * @run main DocLintTester -badargs -Xmaxerrs two -Xmaxwarns two MaxDiagsTest.java
11 */
12
13 public class MaxDiagsTest {
14 /**
15 * � � � �
16 */
17 public void errors() { }
18
19 /** 4 undocumented signature items */
20 public int warnings(int a1, int a2) throws Exception { return 0; }
21 }

mercurial