com.atlassian.bamboo.testutils.junit.rule
Class PreserveSystemPropertyRule
java.lang.Object
com.atlassian.bamboo.testutils.junit.rule.PreserveSystemPropertyRule
- All Implemented Interfaces:
- org.junit.rules.TestRule
public class PreserveSystemPropertyRule
- extends Object
- implements org.junit.rules.TestRule
Method Summary |
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description)
|
void |
preserveProperties(SystemProperty... properties)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PreserveSystemPropertyRule
public PreserveSystemPropertyRule()
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description)
- Specified by:
apply
in interface org.junit.rules.TestRule
preserveProperties
public void preserveProperties(SystemProperty... properties)
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.