Home
last modified time | relevance | path

Searched refs:requestA (Results 1 – 5 of 5) sorted by relevance

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DConnectionReuseTest.java66 Request requestA = new Request.Builder() in connectionsAreNotReusedWithRequestConnectionClose() local
73 assertConnectionNotReused(requestA, requestB); in connectionsAreNotReusedWithRequestConnectionClose()
82 Request requestA = new Request.Builder() in connectionsAreNotReusedWithResponseConnectionClose() local
88 assertConnectionNotReused(requestA, requestB); in connectionsAreNotReusedWithResponseConnectionClose()
176 Request requestA = new Request.Builder() in staleConnectionNotReusedForNonIdempotentRequest() local
179 Response responseA = client.newCall(requestA).execute(); in staleConnectionNotReusedForNonIdempotentRequest()
DInterceptorTest.java416 Request requestA = new Request.Builder() in interceptorMakesAnUnrelatedRequest()
419 Response responseA = client.newCall(requestA).execute(); in interceptorMakesAnUnrelatedRequest()
442 Request requestA = new Request.Builder() in interceptorMakesAnUnrelatedAsyncRequest()
448 client.newCall(requestA).enqueue(callbackA); in interceptorMakesAnUnrelatedAsyncRequest()
449 callbackA.await(requestA.httpUrl()).assertBody("a"); in interceptorMakesAnUnrelatedAsyncRequest()
DCallTest.java1730 Request requestA = new Request.Builder().url(server.url("/a")).tag("request A").build(); in canceledBeforeIOSignalsOnFailure() local
1731 client.newCall(requestA).enqueue(callback); in canceledBeforeIOSignalsOnFailure()
1737 callback.await(requestA.httpUrl()).assertBody("A"); in canceledBeforeIOSignalsOnFailure()
1758 Request requestA = new Request.Builder().url(server.url("/a")).tag("request A").build(); in canceledBeforeResponseReadSignalsOnFailure() local
1759 final Call call = client.newCall(requestA); in canceledBeforeResponseReadSignalsOnFailure()
1770 callback.await(requestA.httpUrl()).assertFailure("Canceled", "stream was reset: CANCEL", in canceledBeforeResponseReadSignalsOnFailure()
DURLConnectionTest.java2731 RecordedRequest requestA = server.takeRequest();
2732 assertEquals("/a", requestA.getPath());
3164 RecordedRequest requestA = server.takeRequest();
3165 assertEquals(0, requestA.getSequenceNumber());
3186 RecordedRequest requestA = server.takeRequest();
3187 assertEquals(0, requestA.getSequenceNumber());
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttpOverSpdyTest.java390 RecordedRequest requestA = server.takeRequest(); in acceptAndTransmitCookies() local
391 assertNull(requestA.getHeader("Cookie")); in acceptAndTransmitCookies()