Searched refs:requestDirector (Results 1 – 4 of 4) sorted by relevance
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | DefaultRequestDirectorTest.java | 39 private DefaultRequestDirector requestDirector; field in DefaultRequestDirectorTest 55 …requestDirector = 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/ |
D | HttpRequestInfo.java | 12 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()
|
D | FakeHttpLayer.java | 106 …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/ |
D | RobolectricTest.java | 192 …DefaultRequestDirector requestDirector = new DefaultRequestDirector(null, null, null, connectionKe… in makeRequest() local 194 requestDirector.execute(null, new HttpGet(uri), null); in makeRequest()
|