public class IgnoreChecks extends Object
IgnoreTest annotation.| Constructor and Description |
|---|
IgnoreChecks() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ignoreTest(AnnotatedElement element,
String... testTypes)
Returns true when the element has been annotated to be ignored
for any of the mentioned test types.
|
static boolean |
ignoreTest(IgnoreTest ignoreTest,
String... testTypes)
Returns true when the given annotation contains the any of the given test
types.
|
public static boolean ignoreTest(AnnotatedElement element, String... testTypes)
element - the element to be checkedtestTypes - the type of tests that shall be ignored (any must match). If null then
the method will check if all tests are allowed.public static boolean ignoreTest(IgnoreTest ignoreTest, String... testTypes)
ignoreTest - the annotationtestTypes - test types that shall be checked. If null then the annotation
will be checked if it ignores all tests.Copyright © 2014. All rights reserved.