Home
last modified time | relevance | path

Searched refs:requestDirector (Results 1 – 4 of 4) sorted by relevance

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DDefaultRequestDirectorTest.java39 private DefaultRequestDirector requestDirector; field in DefaultRequestDirectorTest
55requestDirector = new DefaultRequestDirector(null, null, null, connectionKeepAliveStrategy, null, … in setUp_EnsureStaticStateIsReset()
66 … HttpResponse response = requestDirector.execute(null, new HttpGet("http://example.com"), null); in shouldGetHttpResponseFromExecute()
80 HttpResponse response = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldPreferPendingResponses()
92 HttpResponse response = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldReturnRequestsByRule()
105 HttpResponse response = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldReturnRequestsByRule_MatchingMethod()
115 … HttpResponse getResponse = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldReturnRequestsByRule_AnyMethod()
120 … HttpResponse postResponse = requestDirector.execute(null, new HttpPost("http://some.uri"), null); in shouldReturnRequestsByRule_AnyMethod()
133 … HttpResponse getResponse = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldReturnRequestsByRule_KeepsTrackOfOpenContentStreams()
138 … HttpResponse postResponse = requestDirector.execute(null, new HttpPost("http://some.uri"), null); in shouldReturnRequestsByRule_KeepsTrackOfOpenContentStreams()
[all …]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
DHttpRequestInfo.java12 RequestDirector requestDirector; field in HttpRequestInfo
14 …Request httpRequest, HttpHost httpHost, HttpContext httpContext, RequestDirector requestDirector) { in HttpRequestInfo() argument
18 this.requestDirector = requestDirector; in HttpRequestInfo()
34 return requestDirector; in getRequestDirector()
DFakeHttpLayer.java106 …t, HttpRequest httpRequest, HttpContext httpContext, RequestDirector requestDirector) throws HttpE… in emulateRequest() argument
122 … httpRequestInfos.add(new HttpRequestInfo(httpRequest, httpHost, httpContext, requestDirector)); in emulateRequest()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/
DRobolectricTest.java192 …DefaultRequestDirector requestDirector = new DefaultRequestDirector(null, null, null, connectionKe… in makeRequest() local
194 requestDirector.execute(null, new HttpGet(uri), null); in makeRequest()