mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 02:24:40 +02:00
8006263: Supplementary test cases needed for doclint
Reviewed-by: mcimadamore
This commit is contained in:
parent
00ae27b2cf
commit
7967c92db0
16 changed files with 954 additions and 16 deletions
21
langtools/test/tools/doclint/tool/MaxDiagsTest.java
Normal file
21
langtools/test/tools/doclint/tool/MaxDiagsTest.java
Normal file
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
* @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; }
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue