OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:recordedRequest
(Results
1 - 3
of
3
) sorted by null
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
CallTest.java
30
import com.squareup.okhttp.mockwebserver.
RecordedRequest
;
124
RecordedRequest
recordedRequest
= server.takeRequest();
125
assertEquals("GET",
recordedRequest
.getMethod());
126
assertEquals("SyncApiTest",
recordedRequest
.getHeader("User-Agent"));
127
assertEquals(0,
recordedRequest
.getBody().size());
128
assertNull(
recordedRequest
.getHeader("Content-Length"));
208
RecordedRequest
recordedRequest
= server.takeRequest();
209
assertEquals("HEAD",
recordedRequest
.getMethod())
[
all
...]
InterceptorTest.java
20
import com.squareup.okhttp.mockwebserver.
RecordedRequest
;
242
RecordedRequest
recordedRequest
= server.takeRequest();
243
assertEquals("ABC",
recordedRequest
.getBody().readUtf8());
244
assertEquals("foo",
recordedRequest
.getHeader("Original-Header"));
245
assertEquals("yep",
recordedRequest
.getHeader("OkHttp-Intercepted"));
246
assertEquals("POST",
recordedRequest
.getMethod());
324
RecordedRequest
recordedRequest
= server.takeRequest();
326
recordedRequest
.getHeaders().values("Request-Interceptor"))
[
all
...]
/frameworks/base/core/tests/coretests/src/android/net/http/
AbstractProxyTest.java
21
import com.google.mockwebserver.
RecordedRequest
;
79
RecordedRequest
request = server.takeRequest();
127
RecordedRequest
get = server.takeRequest();
172
RecordedRequest
connect = server.takeRequest();
177
RecordedRequest
get = server.takeRequest();
202
RecordedRequest
recordedRequest
= server.takeRequest();
203
assertEquals("GET http://origin.foo/bar HTTP/1.1",
recordedRequest
.getRequestLine());
218
RecordedRequest
recordedRequest
= server.takeRequest()
[
all
...]
Completed in 5909 milliseconds