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