Searched refs:contentToString (Results 1 – 2 of 2) sorted by relevance
77 assertEquals("this response comes via HTTPS", contentToString(response)); in testConnectToHttps()125 assertEquals("this response comes via a proxy", contentToString(response)); in testConnectViaProxy()170 assertEquals("this response comes via a secure proxy", contentToString(response)); in testConnectViaHttpProxyToHttps()200 assertEquals("Via request parameter proxy!", contentToString(response)); in testParamPreferredOverSystemProperty()216 assertEquals("Via the origin server!", contentToString(response)); in testExplicitNoProxyCancelsSystemProperty()278 private String contentToString(HttpResponse response) throws IOException { in contentToString() method in AbstractProxyTest
84 assertEquals("This connection won't pool properly", contentToString(a)); in testServerClosesOutput()88 assertEquals("This comes after a busted connection", contentToString(b)); in testServerClosesOutput()93 private String contentToString(HttpResponse response) throws IOException { in contentToString() method in DefaultHttpClientTest