org.junit.rules.TestRule
public class SystemPropertiesInvariantRule extends Object implements org.junit.rules.TestRule
Constructor | Description |
---|---|
SystemPropertiesInvariantRule() |
Cares about all properties.
|
SystemPropertiesInvariantRule(String... ignoredProperties) |
Don't care about the given set of properties.
|
SystemPropertiesInvariantRule(Set<String> ignoredProperties) |
Don't care about the given set of properties.
|
Modifier and Type | Method | Description |
---|---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement s,
Description d) |
public SystemPropertiesInvariantRule()
public SystemPropertiesInvariantRule(String... ignoredProperties)
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement s, Description d)
apply
in interface org.junit.rules.TestRule
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.