public class GriffonUnitRule extends Object implements org.junit.rules.MethodRule
Constructor and Description |
---|
GriffonUnitRule() |
GriffonUnitRule(Class<? extends GriffonApplication> applicationClass) |
GriffonUnitRule(Class<? extends GriffonApplication> applicationClass,
Class<? extends ApplicationBootstrapper> applicationBootstrapper) |
GriffonUnitRule(String[] startupArgs) |
GriffonUnitRule(String[] startupArgs,
Class<? extends GriffonApplication> applicationClass) |
GriffonUnitRule(String[] startupArgs,
Class<? extends GriffonApplication> applicationClass,
Class<? extends ApplicationBootstrapper> applicationBootstrapper) |
Modifier and Type | Method and Description |
---|---|
protected void |
after(GriffonApplication application,
Object target) |
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runners.model.FrameworkMethod method,
Object target) |
protected void |
before(GriffonApplication application,
Object target) |
public GriffonUnitRule()
public GriffonUnitRule(@Nonnull Class<? extends GriffonApplication> applicationClass)
public GriffonUnitRule(@Nonnull Class<? extends GriffonApplication> applicationClass, @Nonnull Class<? extends ApplicationBootstrapper> applicationBootstrapper)
public GriffonUnitRule(@Nonnull String[] startupArgs, @Nonnull Class<? extends GriffonApplication> applicationClass)
public GriffonUnitRule(@Nonnull String[] startupArgs, @Nonnull Class<? extends GriffonApplication> applicationClass, @Nonnull Class<? extends ApplicationBootstrapper> applicationBootstrapper)
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runners.model.FrameworkMethod method, Object target)
apply
in interface org.junit.rules.MethodRule
protected void before(@Nonnull GriffonApplication application, @Nonnull Object target) throws Throwable
Throwable
protected void after(@Nonnull GriffonApplication application, @Nonnull Object target)