assertEquals( repositories, config.getRepositories() );\r
}\r
\r
+ public void testHttpProxy()\r
+ throws Exception\r
+ {\r
+ config.setHttpProxy( "some.local.proxy", DEFAULT_PORT, "username", "password", "ntlmHost", "ntlmDomain" );\r
+\r
+ ProxyInfo proxyInfo = config.getHttpProxy();\r
+\r
+ assertEquals( "test proxy host", proxyInfo.getHost(), "some.local.proxy" );\r
+ assertEquals( DEFAULT_PORT, proxyInfo.getPort() );\r
+ assertEquals( "username", proxyInfo.getUserName() );\r
+ assertEquals( "password", proxyInfo.getPassword() );\r
+ assertEquals( "ntlmHost", proxyInfo.getNtlmHost() );\r
+ assertEquals( "ntlmDomain", proxyInfo.getNtlmDomain() );\r
+ }\r
+\r
protected void tearDown()\r
throws Exception\r
{\r