public class InstanceConfigRule extends Object implements org.junit.rules.TestRule
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
InstanceConfigRule()
Uses an EmptyInstanceConfig (e.g.
|
InstanceConfigRule(T instanceConfig) |
InstanceConfigRule(T instanceConfig,
boolean withRestore) |
Modifier and Type | Method and Description |
---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
<T extends Action> |
withAction(T action) |
public InstanceConfigRule(T instanceConfig, boolean withRestore)
public InstanceConfigRule(T instanceConfig)
public InstanceConfigRule()
public <T extends Action> InstanceConfigRule withAction(T action)
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
apply
in interface org.junit.rules.TestRule
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.