hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1654745 - /httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/conn/routing/TestHttpRoute.java
Date Mon, 26 Jan 2015 09:08:07 GMT
Author: olegk
Date: Mon Jan 26 09:08:07 2015
New Revision: 1654745

URL: http://svn.apache.org/r1654745
Log:
Removed assert of functionality that tends to be platform specific

Modified:
    httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/conn/routing/TestHttpRoute.java

Modified: httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/conn/routing/TestHttpRoute.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/conn/routing/TestHttpRoute.java?rev=1654745&r1=1654744&r2=1654745&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/conn/routing/TestHttpRoute.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/conn/routing/TestHttpRoute.java
Mon Jan 26 09:08:07 2015
@@ -616,7 +616,6 @@ public class TestHttpRoute {
         final HttpHost target = new HttpHost(address, -1, "http");
         final HttpRoute route = new HttpRoute(target);
         final HttpHost targetHost = route.getTargetHost();
-        Assert.assertEquals("localhost", targetHost.getHostName());
         Assert.assertEquals(80, targetHost.getPort());
         Assert.assertEquals("http", targetHost.getSchemeName());
         Assert.assertEquals(address, targetHost.getAddress());



Mime
View raw message