|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) public @interface FailingTest
If this interface is contained anywhere inside of a CompilationUnit, that compilation unit will be analyzed as a test, and the analysis of that file should produce errors or warnings. If a value is provided, and that value is greater than 0, the testing framework will assert that exactly that number of errors were reported. Otherwise, there must be at least one error.
Optional Element Summary | |
---|---|
java.lang.String |
analysis
|
int |
value
The number of errors expected. |
public abstract int value
public abstract java.lang.String analysis
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |