public final class Constants
extends java.lang.Object
JupiterTestEngine
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEACTIVATE_ALL_CONDITIONS_PATTERN
Wildcard pattern which signals that all conditions should be deactivated: "*"
|
static java.lang.String |
DEACTIVATE_CONDITIONS_PATTERN_PROPERTY_NAME
Property name used to provide a pattern for deactivating conditions: "junit.conditions.deactivate"
|
public static final java.lang.String DEACTIVATE_CONDITIONS_PATTERN_PROPERTY_NAME
If the pattern consists solely of an asterisk (*
), all conditions
will be deactivated. Otherwise, the pattern will be used to match against
the fully qualified class name (FQCN) of each registered condition.
Any dot (.
) in the pattern will match against a dot (.
)
or a dollar sign ($
) in the FQCN. Any asterisk (*
) will match
against one or more characters in the FQCN. All other characters in the
pattern will be matched one-to-one against the FQCN.
*
: deactivates all conditions.
org.junit.*
: deactivates every condition under the org.junit
base package and any of its subpackages.
*.MyCondition
: deactivates every condition whose simple class name is
exactly MyCondition
.
*System*
: deactivates every condition whose simple class name contains
System
.
org.example.MyCondition
: deactivates the condition whose FQCN is
exactly org.example.MyCondition
.
public static final java.lang.String DEACTIVATE_ALL_CONDITIONS_PATTERN