public class GuiceyInterceptor
extends org.spockframework.runtime.extension.AbstractMethodInterceptor
Implementation is very similar to original spock-guice module.
Modifier and Type | Class and Description |
---|---|
static interface |
GuiceyInterceptor.ExternalRuleAdapter
External junit rules adapter.
|
Constructor and Description |
---|
GuiceyInterceptor(org.spockframework.runtime.model.SpecInfo spec,
GuiceyInterceptor.ExternalRuleAdapter externalRuleAdapter) |
Modifier and Type | Method and Description |
---|---|
void |
interceptCleanupSpecMethod(org.spockframework.runtime.extension.IMethodInvocation invocation) |
void |
interceptInitializerMethod(org.spockframework.runtime.extension.IMethodInvocation invocation) |
void |
interceptSharedInitializerMethod(org.spockframework.runtime.extension.IMethodInvocation invocation) |
intercept, interceptCleanupMethod, interceptDataProcessorMethod, interceptDataProviderMethod, interceptFeatureExecution, interceptFeatureMethod, interceptIterationExecution, interceptSetupMethod, interceptSetupSpecMethod, interceptSpecExecution
public GuiceyInterceptor(org.spockframework.runtime.model.SpecInfo spec, GuiceyInterceptor.ExternalRuleAdapter externalRuleAdapter)
public void interceptSharedInitializerMethod(org.spockframework.runtime.extension.IMethodInvocation invocation) throws java.lang.Throwable
interceptSharedInitializerMethod
in class org.spockframework.runtime.extension.AbstractMethodInterceptor
java.lang.Throwable
public void interceptInitializerMethod(org.spockframework.runtime.extension.IMethodInvocation invocation) throws java.lang.Throwable
interceptInitializerMethod
in class org.spockframework.runtime.extension.AbstractMethodInterceptor
java.lang.Throwable
public void interceptCleanupSpecMethod(org.spockframework.runtime.extension.IMethodInvocation invocation) throws java.lang.Throwable
interceptCleanupSpecMethod
in class org.spockframework.runtime.extension.AbstractMethodInterceptor
java.lang.Throwable