public class GriffonUnitRule extends Object implements 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) |
Statement |
apply(Statement base,
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 Statement apply(Statement base, FrameworkMethod method, Object target)
apply
in interface MethodRule
protected void before(@Nonnull GriffonApplication application, @Nonnull Object target) throws Throwable
Throwable
protected void after(@Nonnull GriffonApplication application, @Nonnull Object target)