public interface TestChecks<T extends TestChecks<T>>
RegressionChecks,
ErrorRevealingChecks,
InvalidChecks| Modifier and Type | Method and Description |
|---|---|
void |
add(Check ck)
Add a check to this set.
|
java.util.Set<Check> |
checks()
Get all non-exception checks and whether they are passing for this object.
|
T |
commonChecks(T other)
Returns the intersection of checks in this set and another set.
|
int |
count()
Return the number of checks in this test.
|
@Nullable ExceptionCheck |
getExceptionCheck()
Return the exception check in this object if there is one.
|
boolean |
hasChecks()
Indicates whether this object has checks.
|
boolean |
hasErrorBehavior()
Indicate whether this object has any failing checks.
|
boolean |
hasInvalidBehavior()
Indicates whether this set of checks contains any invalid behaviors.
|
int count()
java.util.Set<Check> checks()
void add(Check ck)
ck - the check object to add to this set of checksboolean hasChecks()
boolean hasInvalidBehavior()
boolean hasErrorBehavior()
@Nullable ExceptionCheck getExceptionCheck()