langtools/test/tools/doclint/tool/MaxDiagsTest.java
author jjg
Mon, 21 Jan 2013 10:00:46 -0800
changeset 15370 c1c9a9e11b26
child 30730 d3ce7619db2c
permissions -rw-r--r--
8006263: Supplementary test cases needed for doclint Reviewed-by: mcimadamore Contributed-by: peter.jensen@oracle.com

/*
 * @test /nodynamiccopyright/
 * @bug 8006263
 * @summary Supplementary test cases needed for doclint
 * @library ..
 * @build DocLintTester
 * @run main DocLintTester -ref MaxDiagsTest.out -Xmaxerrs 2 -Xmaxwarns 2 MaxDiagsTest.java
 * @run main DocLintTester -badargs -Xmaxerrs
 * @run main DocLintTester -badargs -Xmaxwarns
 * @run main DocLintTester -badargs -Xmaxerrs two -Xmaxwarns two MaxDiagsTest.java
 */

public class MaxDiagsTest {
    /**
     * � � � �
     */
    public void errors() { }

    /** 4 undocumented signature items */
    public int warnings(int a1, int a2) throws Exception { return 0; }
}