public static final class TestClassExecutionResult.Builder extends Object
TestClassExecutionResult.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Modifier and Type | Method and Description |
|---|---|
void |
setComparableThrowable(ComparableThrowable comparableThrowable)
Initializes the default value for the
comparableThrowable attribute. |
void |
setComparableThrowable(Optional<ComparableThrowable> comparableThrowable)
Initializes the value for the
comparableThrowable attribute. |
void |
setExecutionState(ExecutionState executionState)
Initializes the value for the
executionState attribute. |
void |
setJavaClass(Class<?> javaClass)
Initializes the value for the
javaClass attribute. |
void |
setParameters(Iterable<TestParameterExpectation> elements)
Adds elements to
parameters. |
public void setJavaClass(Class<?> javaClass)
javaClass attribute.javaClass - The value for javaClasspublic void setParameters(Iterable<TestParameterExpectation> elements)
parameters.elements - An iterable of parameters elementspublic void setExecutionState(ExecutionState executionState)
executionState attribute.executionState - The value for executionStatepublic void setComparableThrowable(Optional<ComparableThrowable> comparableThrowable)
comparableThrowable attribute.comparableThrowable - The value for comparableThrowablepublic void setComparableThrowable(ComparableThrowable comparableThrowable)
comparableThrowable attribute.comparableThrowable - The value for comparableThrowableCopyright © 2018–2020 b+m Informatik AG. All rights reserved.