public abstract class ExternalResourceRule extends Object implements org.junit.rules.TestRule
| Constructor and Description |
|---|
ExternalResourceRule() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
after(boolean didFail)
Override to tear down your specific external resource.
|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
protected void |
before()
Override to set up your specific external resource.
|
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description)
apply in interface org.junit.rules.TestRuleprotected void before()
throws Throwable
Throwable - if setup fails (which will disable afterprotected void after(boolean didFail)
Copyright © 2017. All rights reserved.