public class RunContext
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
ExtensionRunner |
createExtensionRunner(SpecInfo spec) |
|
ParameterizedSpecRunner |
createSpecRunner(SpecInfo spec,
org.junit.runner.notification.RunNotifier notifier) |
|
static RunContext |
get() |
|
<T> T |
getConfiguration(java.lang.Class<T> type) |
|
static <T,U extends java.lang.Throwable> |
withNewContext(DelegatingScript configurationScript,
java.util.List<java.lang.Class<?>> extensionClasses,
boolean inheritParentExtensions,
IThrowableFunction<RunContext,T,U> command) |
public ExtensionRunner createExtensionRunner(SpecInfo spec)
public ParameterizedSpecRunner createSpecRunner(SpecInfo spec, org.junit.runner.notification.RunNotifier notifier)
public <T> T getConfiguration(java.lang.Class<T> type)
public static <T,U extends java.lang.Throwable> T withNewContext(DelegatingScript configurationScript, java.util.List<java.lang.Class<?>> extensionClasses, boolean inheritParentExtensions, IThrowableFunction<RunContext,T,U> command) throws U extends java.lang.Throwable
U extends java.lang.Throwable
public static RunContext get()
Copyright © 2018. All rights reserved