public class GriffonUnitRule
extends java.lang.Object
implements org.junit.rules.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) |
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runners.model.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 org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runners.model.FrameworkMethod method, java.lang.Object target)
apply
in interface org.junit.rules.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)