[tests] merges Javadoc inspection tests; drops duplicates

This commit is contained in:
Roman Shevchenko
2017-10-05 13:36:07 +02:00
parent 311ad3f9f2
commit a714a3703c
11 changed files with 24 additions and 101 deletions

View File

@@ -1,11 +0,0 @@
import java.io.IOException;
class Test {
/**
* @throws IOException in some case
* <warning descr="'throws' tag description is missing"><warning descr="Duplicate @throws or @exception tag for exception 'java.io.IOException'">@throws</warning></warning> IOException
*/
void a() throws IOException{
throw new IOException();
}
}

View File

@@ -0,0 +1 @@
<warning descr="Required Javadoc is absent">package p1;</warning>

View File

@@ -0,0 +1,2 @@
@Deprecated
package p2;

View File

@@ -0,0 +1,4 @@
<warning descr="Required tag '@author' is missing">/**</warning>
*
*/
package p3;

View File

@@ -0,0 +1,4 @@
/**
* <warning descr="Author is missing after @author tag">@author</warning>
*/
package p4;