Class ProxyServerPropertiesRule
java.lang.Object
org.junit.rules.ExternalResource
com.atlassian.crowd.acceptance.utils.proxy.ProxyServerPropertiesRule
- All Implemented Interfaces:
org.junit.rules.TestRule
public class ProxyServerPropertiesRule
extends org.junit.rules.ExternalResource
Provides set system proxy settings. Properties are restored after ended tests.
-
Constructor Summary
ConstructorsConstructorDescriptionProxyServerPropertiesRule(Integer proxyPort, String proxyHost, String baseUrl) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidafter()protected voidbefore()protected TestkitProxySettingsMethods inherited from class org.junit.rules.ExternalResource
apply
-
Constructor Details
-
ProxyServerPropertiesRule
-
-
Method Details
-
before
protected void before()- Overrides:
beforein classorg.junit.rules.ExternalResource
-
getCurrentSettings
-
after
protected void after()- Overrides:
afterin classorg.junit.rules.ExternalResource
-