public class LocalTestExecuter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private Instance<ServiceLoader> |
serviceLoader |
private InstanceProducer<TestResult> |
testResult |
Constructor and Description |
---|
LocalTestExecuter() |
Modifier and Type | Method and Description |
---|---|
private java.lang.Object[] |
enrichArguments(java.lang.reflect.Method method,
java.util.Collection<TestEnricher> enrichers)
Enrich the method arguments of a method call.
The Object[] index will match the method parameterType[] index. |
void |
execute(LocalExecutionEvent event) |
private void |
mergeValues(java.lang.Object[] values,
java.lang.Object[] resolvedValues) |
@Inject private Instance<ServiceLoader> serviceLoader
@Inject @TestScoped private InstanceProducer<TestResult> testResult
public void execute(@Observes LocalExecutionEvent event) throws java.lang.Exception
java.lang.Exception
private java.lang.Object[] enrichArguments(java.lang.reflect.Method method, java.util.Collection<TestEnricher> enrichers)
method
- private void mergeValues(java.lang.Object[] values, java.lang.Object[] resolvedValues)