Home
last modified time | relevance | path

Searched refs:RequestMatcherBuilder (Results 1 – 2 of 2) sorted by relevance

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
DFakeHttpLayer.java262 public static class RequestMatcherBuilder implements RequestMatcher { class in FakeHttpLayer
280 public RequestMatcherBuilder method(String method) { in method()
285 public RequestMatcherBuilder host(String hostname) { in host()
290 public RequestMatcherBuilder path(String path) { in path()
298 public RequestMatcherBuilder param(String name, String value) { in param()
303 public RequestMatcherBuilder noParams() { in noParams()
308 public RequestMatcherBuilder postBody(PostBodyMatcher postBodyMatcher) { in postBody()
313 public RequestMatcherBuilder header(String name, String value) { in header()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/tester/org/apache/http/
DFakeHttpLayerTest.java25 private FakeHttpLayer.RequestMatcherBuilder requestMatcherBuilder;
29 requestMatcherBuilder = new FakeHttpLayer.RequestMatcherBuilder(); in setUp()
79 requestMatcherBuilder.postBody(new FakeHttpLayer.RequestMatcherBuilder.PostBodyMatcher() { in matches__shouldMatchPostBody()