[tests] merges Javadoc inspection tests; drops duplicates

This commit is contained in:
Roman Shevchenko
2017-10-05 13:36:32 +02:00
parent 311ad3f9f2
commit a714a3703c
11 changed files with 24 additions and 101 deletions
@@ -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();
}
}
@@ -0,0 +1 @@
<warning descr="Required Javadoc is absent">package p1;</warning>
@@ -0,0 +1,2 @@
@Deprecated
package p2;
@@ -0,0 +1,4 @@
<warning descr="Required tag '@author' is missing">/**</warning>
*
*/
package p3;
@@ -0,0 +1,4 @@
/**
* <warning descr="Author is missing after @author tag">@author</warning>
*/
package p4;