public class ClientConfigurationTest extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ClientConfigurationTest.MyCustomDnsResolver |
Constructor and Description |
---|
ClientConfigurationTest() |
Modifier and Type | Method and Description |
---|---|
void |
clientConfigurationCopyConstructor_CopiesAllValues() |
void |
copyConstructorUsesAccessors()
Some customers extend ClientConfiguration and override the accessors.
|
void |
getProxyHost_envVarSet_emptyUrl_doesNotThrow() |
void |
getProxyPassword_envVarSet_noPassword_doesNotThrow() |
void |
getProxyUserName_envVarSet_noUserName_doesNotThrow() |
void |
httpClientConfiguration() |
void |
protocolChanged_resolvesCorrectProxyVar() |
void |
testHeadersDeepCopyInConstructor() |
void |
testNonProxyHostsEnvironmentVariables() |
void |
testNonProxyHostsSetting() |
void |
testProxyHostEnvironmentVariables() |
void |
testProxyPasswordEnvironmentVariables() |
void |
testProxyPortEnvironmentVariables() |
void |
testProxySystemProperties() |
void |
testProxyUsernameEnvironmentVariables() |
public void testProxySystemProperties() throws Exception
Exception
public void testProxyHostEnvironmentVariables()
public void testProxyPortEnvironmentVariables()
public void testProxyUsernameEnvironmentVariables()
public void testProxyPasswordEnvironmentVariables()
public void testNonProxyHostsEnvironmentVariables()
public void testHeadersDeepCopyInConstructor()
public void clientConfigurationCopyConstructor_CopiesAllValues() throws Exception
Exception
public void copyConstructorUsesAccessors()
public void getProxyUserName_envVarSet_noUserName_doesNotThrow()
public void getProxyPassword_envVarSet_noPassword_doesNotThrow()
public void protocolChanged_resolvesCorrectProxyVar()
public void getProxyHost_envVarSet_emptyUrl_doesNotThrow()
Copyright © 2020. All rights reserved.