Enum TestLogEvent
- All Implemented Interfaces:
Serializable
,Comparable<TestLogEvent>
,java.lang.constant.Constable
Test events that can be logged.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA test has failed.A test has completed successfully.A test has been skipped.A test has written a message to standard error.A test has written a message to standard out.A test has started. -
Method Summary
Modifier and TypeMethodDescriptionstatic TestLogEvent
Returns the enum constant of this type with the specified name.static TestLogEvent[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STARTED
A test has started. This event gets fired both for atomic and composite tests. -
PASSED
A test has completed successfully. This event gets fired both for atomic and composite tests. -
SKIPPED
A test has been skipped. This event gets fired both for atomic and composite tests. -
FAILED
A test has failed. This event gets fired both for atomic and composite tests. -
STANDARD_OUT
A test has written a message to standard out. -
STANDARD_ERROR
A test has written a message to standard error.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-