/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
D | CookiesTest.java | 22 import com.squareup.okhttp.mockwebserver.MockWebServer; 66 MockWebServer server = new MockWebServer(); in testNetscapeResponse() 94 MockWebServer server = new MockWebServer(); in testRfc2109Response() 124 MockWebServer server = new MockWebServer(); in testRfc2965Response() 158 MockWebServer server = new MockWebServer(); in testQuotedAttributeValues() 190 MockWebServer server = new MockWebServer(); in testSendingCookiesFromStore() 218 MockWebServer redirectTarget = new MockWebServer(); in testRedirectsDoNotIncludeTooManyCookies() 222 MockWebServer redirectSource = new MockWebServer(); in testRedirectsDoNotIncludeTooManyCookies() 275 MockWebServer server = new MockWebServer(); in testHeadersSentToCookieHandler() 326 MockWebServer server = new MockWebServer(); in testCookiesSentIgnoresCase() [all …]
|
D | ThreadInterruptTest.java | 23 import com.squareup.okhttp.mockwebserver.MockWebServer; 48 private MockWebServer server; 52 server = new MockWebServer(); in setUp()
|
D | DisconnectTest.java | 23 import com.squareup.okhttp.mockwebserver.MockWebServer; 46 private MockWebServer server; 50 server = new MockWebServer(); in setUp()
|
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
D | Benchmark.java | 26 import com.squareup.okhttp.mockwebserver.MockWebServer; 103 MockWebServer server = startServer(); in run() 159 private MockWebServer startServer() throws IOException { in startServer() 160 Logger.getLogger(MockWebServer.class.getName()).setLevel(Level.WARNING); in startServer() 161 MockWebServer server = new MockWebServer(); in startServer()
|
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/ |
D | MockWebServerTest.java | 49 @Rule public final MockWebServer server = new MockWebServer(); 313 MockWebServer server = new MockWebServer(); in shutdownWithoutStart() 318 MockWebServer server = new MockWebServer(); in shutdownWithoutEnqueue() 340 MockWebServer other = new MockWebServer(); in differentInstancesGetDifferentPorts()
|
D | CustomDispatcherTest.java | 31 private MockWebServer mockWebServer = new MockWebServer();
|
/external/okhttp/mockwebserver/ |
D | README.md | 1 MockWebServer chapter 21 Use MockWebServer the same way that you use mocking frameworks like 32 // Create a MockWebServer. These are lean enough that you can create a new 34 MockWebServer server = new MockWebServer(); 116 By default MockWebServer uses a queue to specify a series of responses. Use a 143 Get MockWebServer via Maven:
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | SocksProxyTest.java | 19 import com.squareup.okhttp.mockwebserver.MockWebServer; 35 private final MockWebServer server = new MockWebServer();
|
D | ConnectionReuseTest.java | 20 import com.squareup.okhttp.mockwebserver.MockWebServer; 35 @Rule public final MockWebServer server = new MockWebServer();
|
D | InterceptorTest.java | 19 import com.squareup.okhttp.mockwebserver.MockWebServer; 48 @Rule public MockWebServer server = new MockWebServer();
|
D | URLConnectionTest.java | 28 import com.squareup.okhttp.mockwebserver.MockWebServer; 104 @Rule public final MockWebServer server = new MockWebServer(); 105 @Rule public final MockWebServer server2 = new MockWebServer(); 1962 MockWebServer proxyServer = (uri.getPort() == server.getPort()) 2249 MockWebServer server = new MockWebServer(); 3348 MockWebServer server, OkUrlFactory streamHandlerFactory, URL url) 3357 MockWebServer server, OkUrlFactory streamHandlerFactory, URL url) 3366 MockWebServer server, OkUrlFactory streamHandlerFactory, URL url) 3376 MockWebServer server, OkUrlFactory streamHandlerFactory, URL url) 3386 MockWebServer server, OkUrlFactory streamHandlerFactory, URL url) [all …]
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/android/ |
D | HttpResponseCacheTest.java | 24 import com.squareup.okhttp.mockwebserver.MockWebServer; 53 @Rule public MockWebServer server = new MockWebServer();
|
/external/okhttp/samples/static-server/src/main/java/com/squareup/okhttp/sample/ |
D | SampleServer.java | 6 import com.squareup.okhttp.mockwebserver.MockWebServer; 34 MockWebServer server = new MockWebServer(); in run()
|
/external/mockwebserver/src/test/java/com/google/mockwebserver/ |
D | CustomDispatcherTest.java | 30 private MockWebServer mockWebServer = new MockWebServer();
|
D | MockWebServerTest.java | 35 private MockWebServer server; 40 server = new MockWebServer(); in setUp()
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
D | MockWebServer.java | 94 public final class MockWebServer implements TestRule { class 110 private static final Logger logger = Logger.getLogger(MockWebServer.class.getName()); 360 logger.info(MockWebServer.this + " starting to accept connections"); 363 logger.log(Level.WARNING, MockWebServer.this + " failed unexpectedly", e); 385 logger.info(MockWebServer.this + " done accepting connections: " + e.getMessage()); 427 MockWebServer.this + " connection from " + raw.getInetAddress() + " failed: " + e); 430 MockWebServer.this + " connection from " + raw.getInetAddress() + " crashed", e); 487 logger.warning(MockWebServer.this 550 logger.info(MockWebServer.this + " received request: " + request 877 logger.info(MockWebServer.this + " received request: " + request
|
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/ |
D | OkUrlFactoryTest.java | 9 import com.squareup.okhttp.mockwebserver.MockWebServer; 33 @Rule public MockWebServer server = new MockWebServer();
|
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/ |
D | WebSocketCallTest.java | 25 import com.squareup.okhttp.mockwebserver.MockWebServer; 42 @Rule public final MockWebServer server = new MockWebServer();
|
/external/okhttp/ |
D | README.md | 25 MockWebServer section in OkHttp 30 MockWebServer coupling with OkHttp is essential for proper testing of SPDY and HTTP/2.0 so that cod…
|
D | CHANGELOG.md | 165 * New: Fold `MockWebServerRule` into `MockWebServer`. This makes it easier to 166 write JUnit tests with `MockWebServer`. The `MockWebServer` library now 173 * Fix: Change `MockWebServer` to use the same logic as OkHttp when determining 272 * Fix: Better handling of uncaught exceptions in MockWebServer with HTTP/2. 317 * Fix: MockWebServer explicitly closes sockets. (On some Android releases, 701 * New: Protocol selection in MockWebServer. 720 * New: Support for "PATCH" HTTP method in client and MockWebServer. 768 * Bring MockWebServer into OkHttp and teach it SPDY.
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/ |
D | CertificatePinnerChainValidationTest.java | 26 import com.squareup.okhttp.mockwebserver.MockWebServer; 40 @Rule public final MockWebServer server = new MockWebServer();
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
D | CacheAdapterTest.java | 24 import com.squareup.okhttp.mockwebserver.MockWebServer; 63 private MockWebServer server; 68 server = new MockWebServer(); in setUp()
|
/external/okhttp/okhttp-apache/src/test/java/com/squareup/okhttp/apache/ |
D | OkApacheClientTest.java | 4 import com.squareup.okhttp.mockwebserver.MockWebServer; 34 private MockWebServer server; 39 server = new MockWebServer(); in setUp()
|
/external/okhttp/okhttp-logging-interceptor/src/test/java/com/squareup/okhttp/logging/ |
D | HttpLoggingInterceptorTest.java | 26 import com.squareup.okhttp.mockwebserver.MockWebServer; 46 @Rule public final MockWebServer server = new MockWebServer();
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | HttpOverSpdyTest.java | 28 import com.squareup.okhttp.mockwebserver.MockWebServer; 68 @Rule public final MockWebServer server = new MockWebServer();
|