public final class TestStepExecutionResult extends Object implements JavaClassBased, Parameterized, ExecutionResult
Modifier and Type | Class and Description |
---|---|
static class |
TestStepExecutionResult.Builder
Builds instances of type
TestStepExecutionResult . |
Modifier and Type | Method and Description |
---|---|
static TestStepExecutionResult |
build(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<TestStepExecutionResult.Builder> init)
Creates an immutable instance of TestStepExecutionResult.
|
TestStepExecutionResult |
copy(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<TestStepExecutionResult.Builder> init)
Creates an immutable copy of this instance.
|
boolean |
equals(Object obj) |
Optional<ComparableThrowable> |
getComparableThrowable()
Returns the throwable, if there is any.
|
ExecutionState |
getExecutionState()
Returns the execution state.
|
Class<?> |
getJavaClass()
The underlying java class.
|
String |
getName() |
List<TestParameterExpectation> |
getParameters()
Returns the expected parameters.
|
List<TestParameterExpectation> |
getTestClassParameters() |
int |
hashCode() |
String |
toString() |
public List<TestParameterExpectation> getTestClassParameters()
testClassParameters
attributepublic String getName()
name
attributepublic Class<?> getJavaClass()
JavaClassBased
getJavaClass
in interface JavaClassBased
javaClass
attributepublic List<TestParameterExpectation> getParameters()
Parameterized
getParameters
in interface Parameterized
parameters
attributepublic ExecutionState getExecutionState()
ExecutionResult
getExecutionState
in interface ExecutionResult
executionState
attributepublic Optional<ComparableThrowable> getComparableThrowable()
ExecutionResult
ExecutionState.FAILED
.getComparableThrowable
in interface ExecutionResult
comparableThrowable
attributepublic static TestStepExecutionResult build(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<TestStepExecutionResult.Builder> init)
init
- The initializerIllegalStateException
- if any required attributes are missingpublic TestStepExecutionResult copy(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<TestStepExecutionResult.Builder> init)
init
- The initializerCopyright © 2018–2021 b+m Informatik AG. All rights reserved.