mirror of
https://github.com/apache/httpcomponents-client.git
synced 2025-02-09 19:45:48 +00:00
HTTPCLIENT-712: route tracker test coverage back to 100%
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@606189 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2016962d6f
commit
8ea6827dc2
@ -564,7 +564,13 @@ public final static void checkCTLS(RouteTracker rt,
|
||||
String rts = rt.toString();
|
||||
assertEquals("wrong flag connected: " + rts, c, rt.isConnected());
|
||||
assertEquals("wrong flag tunnelled: " + rts, t, rt.isTunnelled());
|
||||
assertEquals("wrong enum tunnelled: " + rts,
|
||||
t ? TunnelType.TUNNELLED : TunnelType.PLAIN,
|
||||
rt.getTunnelType());
|
||||
assertEquals("wrong flag layered: " + rts, l, rt.isLayered());
|
||||
assertEquals("wrong enum layered: " + rts,
|
||||
l ? LayerType.LAYERED : LayerType.PLAIN,
|
||||
rt.getLayerType());
|
||||
assertEquals("wrong flag secure: " + rts, s, rt.isSecure());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user