OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:addHttpResponseRule
(Results
1 - 3
of
3
) sorted by null
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
FakeHttpLayer.java
54
public void
addHttpResponseRule
(String method, String uri, HttpResponse response) {
55
addHttpResponseRule
(new DefaultRequestMatcher(method, uri), response);
58
public void
addHttpResponseRule
(String uri, HttpResponse response) {
59
addHttpResponseRule
(new UriRequestMatcher(uri), response);
62
public void
addHttpResponseRule
(String uri, String response) {
63
addHttpResponseRule
(new UriRequestMatcher(uri), new TestHttpResponse(200, response));
66
public void
addHttpResponseRule
(RequestMatcher requestMatcher, HttpResponse response) {
67
addHttpResponseRule
(new RequestMatcherResponseRule(requestMatcher, response));
76
public void
addHttpResponseRule
(RequestMatcher requestMatcher, List<? extends HttpResponse> responses) {
77
addHttpResponseRule
(new RequestMatcherResponseRule(requestMatcher, responses))
[
all
...]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DefaultRequestDirectorTest.java
77
Robolectric.
addHttpResponseRule
(HttpGet.METHOD_NAME, "http://some.uri",
89
Robolectric.
addHttpResponseRule
(HttpGet.METHOD_NAME, "http://some.uri",
102
Robolectric.
addHttpResponseRule
(HttpPost.METHOD_NAME, "http://some.uri",
113
Robolectric.
addHttpResponseRule
("http://some.uri", new TestHttpResponse(200, "a cheery response body"));
129
Robolectric.
addHttpResponseRule
("http://some.uri", testHttpResponse);
152
Robolectric.
addHttpResponseRule
("http://some.uri", "a cheery response body");
163
Robolectric.
addHttpResponseRule
("http://some.uri", "a cheery response body");
165
Robolectric.
addHttpResponseRule
("http://some.uri", "a gloomy response body");
191
Robolectric.
addHttpResponseRule
(new RequestMatcher() {
/external/robolectric/src/main/java/com/xtremelabs/robolectric/
Robolectric.java
[
all
...]
Completed in 75 milliseconds