@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Test
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
description
Set the description of the test case.
|
java.lang.Class<? extends java.lang.Throwable> |
expected
Set an expected exception that must be thrown.
|
java.lang.String |
penalty
Set the penalty if the test fails.
|
long |
timeout
Set the timeout of the test
If not set, a default value is used.
|
public abstract java.lang.String description
public abstract java.lang.String penalty