public enum ResultType extends Enum<ResultType>
Modifier and Type | Method and Description |
---|---|
static Consumer<TestListener> |
failure(TestResult result) |
Consumer<TestListener> |
getListenerFunction(TestResult result) |
static Consumer<TestListener> |
skipped(TestResult result) |
static Consumer<TestListener> |
started(TestResult result) |
static Consumer<TestListener> |
success(TestResult result) |
static ResultType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResultType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultType PASS
public static final ResultType FAIL
public static final ResultType SKIPPED
public static final ResultType STARTED
public static ResultType[] values()
for (ResultType c : ResultType.values()) System.out.println(c);
public static ResultType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Consumer<TestListener> getListenerFunction(TestResult result)
public static Consumer<TestListener> success(TestResult result)
public static Consumer<TestListener> failure(TestResult result)
public static Consumer<TestListener> skipped(TestResult result)
public static Consumer<TestListener> started(TestResult result)
Copyright © 2021 org.pitest. All rights reserved.