Module org.junit.platform.engine
Package org.junit.platform.engine
Enum Class DiscoveryIssue.Severity
- All Implemented Interfaces:
Serializable
,Comparable<DiscoveryIssue.Severity>
,Constable
- Enclosing interface:
DiscoveryIssue
The severity of a
DiscoveryIssue
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that the engine encountered something that is definitely problematic and will lead to unexpected behavior.Indicates that the engine encountered something that could be potentially problematic, but could also happen due to a valid setup or configuration.Indicates that the engine encountered something that is problematic and might lead to unexpected behavior or will be removed or changed in a future release. -
Method Summary
Modifier and TypeMethodDescriptionstatic DiscoveryIssue.Severity
Returns the enum constant of this class with the specified name.static DiscoveryIssue.Severity[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INFO
Indicates that the engine encountered something that could be potentially problematic, but could also happen due to a valid setup or configuration. -
WARNING
Indicates that the engine encountered something that is problematic and might lead to unexpected behavior or will be removed or changed in a future release. -
ERROR
Indicates that the engine encountered something that is definitely problematic and will lead to unexpected behavior.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-