| Method and Description |
|---|
| org.junit.contrib.java.lang.system.RestoreSystemProperties.add(String)
Simply remove all calls to this method.
RestoreSystemProperties restores all properties
automatically. That's why you don't have to add the properties
anymore. |
| org.junit.contrib.java.lang.system.ClearSystemProperties.clearProperty(String)
Please use
RestoreSystemProperties
along with System.clearProperty(String). |
| org.junit.contrib.java.lang.system.ProvideSystemProperty.setProperty(String, String)
Please use
RestoreSystemProperties
along with System.setProperty(String, String). |
| Constructor and Description |
|---|
| org.junit.contrib.java.lang.system.ProvideSystemProperty() |
| org.junit.contrib.java.lang.system.RestoreSystemProperties(String...)
Please use
RestoreSystemProperties.RestoreSystemProperties(). The
rule restores all properties. That's why you don't have to
specify the properties anymore. |
| org.junit.contrib.java.lang.system.TextFromStandardInputStream(String) |
Copyright © 2011-2015. All Rights Reserved.