Home
last modified time | relevance | path

Searched defs:mockResponse (Results 1 – 5 of 5) sorted by relevance

/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
DCacheAdapterTest.java252 private URL configureServer(MockResponse mockResponse) throws Exception { in configureServer()
258 private URL configureHttpsServer(MockResponse mockResponse) throws Exception { in configureHttpsServer()
DResponseCacheTest.java184 MockResponse mockResponse = new MockResponse() in assertCached() local
231 MockResponse mockResponse = new MockResponse() in testResponseCaching() local
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DServletPipelineRequestDispatcherTest.java133 final HttpServletResponse mockResponse = createMock(HttpServletResponse.class); in testForwardToManagedServlet() local
213 final HttpServletResponse mockResponse = createMock(HttpServletResponse.class); in forwardToManagedServletFailureOnCommittedBuffer() local
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DURLConnectionTest.java702 MockResponse mockResponse = new MockResponse().setBody("this response comes via a proxy"); in testConnectViaProxy() local
775 MockResponse mockResponse = new MockResponse(); in contentDisagreesWithChunkedHeaderBodyTooLong() local
789 MockResponse mockResponse = new MockResponse(); in contentDisagreesWithChunkedHeaderBodyTooShort() local
DCacheTest.java158 MockResponse mockResponse = new MockResponse() in assertCached() local
211 MockResponse mockResponse = new MockResponse() in testResponseCaching() local
500 MockResponse mockResponse = new MockResponse(); in testServerPrematureDisconnect() local
538 MockResponse mockResponse = new MockResponse() in testClientPrematureDisconnect() local