T - extension annotationpublic abstract class AbstractAppExtension<T extends java.lang.annotation.Annotation>
extends org.spockframework.runtime.extension.AbstractAnnotationDrivenExtension<T>
| Constructor and Description |
|---|
AbstractAppExtension() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract GuiceyInterceptor.ExternalRuleAdapter |
buildResourceFactory(T annotation) |
protected io.dropwizard.testing.ConfigOverride[] |
convertOverrides(ConfigOverride... overrides)
Utility method to convert configuration overrides from annotation to rule compatible format.
|
void |
visitSpec(org.spockframework.runtime.model.SpecInfo spec) |
void |
visitSpecAnnotation(T useApplication,
org.spockframework.runtime.model.SpecInfo spec) |
public void visitSpecAnnotation(T useApplication, org.spockframework.runtime.model.SpecInfo spec)
visitSpecAnnotation in interface org.spockframework.runtime.extension.IAnnotationDrivenExtension<T extends java.lang.annotation.Annotation>visitSpecAnnotation in class org.spockframework.runtime.extension.AbstractAnnotationDrivenExtension<T extends java.lang.annotation.Annotation>public void visitSpec(org.spockframework.runtime.model.SpecInfo spec)
protected abstract GuiceyInterceptor.ExternalRuleAdapter buildResourceFactory(T annotation)
annotation - extension annotation instanceprotected io.dropwizard.testing.ConfigOverride[] convertOverrides(ConfigOverride... overrides)
overrides - override annotations