@ParametersAreNonnullByDefault
public class SoftAsserts
extends org.junit.rules.ExternalResource
@Rule public SoftAsserts softAsserts = new SoftAsserts();
Configuration.assertionMode = SOFT;| Constructor and Description |
|---|
SoftAsserts() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
after() |
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
protected void |
before() |
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description)
apply in interface org.junit.rules.TestRuleapply in class org.junit.rules.ExternalResourceprotected void before()
before in class org.junit.rules.ExternalResourceprotected void after()
after in class org.junit.rules.ExternalResource