org.spockframework.runtime
Class RunContext
java.lang.Object
org.spockframework.runtime.RunContext
public class RunContext
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createExtensionRunner
public ExtensionRunner createExtensionRunner(SpecInfo spec)
createSpecRunner
public ParameterizedSpecRunner createSpecRunner(SpecInfo spec,
org.junit.runner.notification.RunNotifier notifier)
getConfiguration
public <T> T getConfiguration(java.lang.Class<T> type)
withNewContext
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
- Throws:
U extends java.lang.Throwable
get
public static RunContext get()
Copyright © 2013. All rights reserved