public class PreserveSystemPropertyRule extends Object implements org.junit.rules.TestRule
| Constructor and Description |
|---|
PreserveSystemPropertyRule() |
| Modifier and Type | Method and Description |
|---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
void |
preserveProperties(SystemProperty... properties) |
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description)
apply in interface org.junit.rules.TestRulepublic void preserveProperties(SystemProperty... properties)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.