- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Framework (0.15 sec)
-
mockwebserver/README.md
server to create representative test cases. Or test that your code survives in awkward-to-reproduce situations like 500 errors or slow-loading responses. ### Example Use MockWebServer the same way that you use mocking frameworks like [Mockito](https://github.com/mockito/mockito): 1. Script the mocks. 2. Run application code. 3. Verify that the expected requests were made. Here's a complete example: ```java
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Dec 17 15:34:10 GMT 2023 - 5K bytes - Viewed (1) -
okhttp/src/test/java/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt
* limitations under the License. */ package okhttp3.internal.authenticator import java.net.Authenticator import java.net.InetAddress import junit.framework.TestCase.assertNull import okhttp3.FakeDns import okhttp3.Protocol.HTTP_2 import okhttp3.Request import okhttp3.Response import okhttp3.TestValueFactory import okhttp3.internal.RecordingAuthenticator
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/osgi/OsgiTest.kt
// Temporary project to satisfy bnd API. project = Project(workspace, workspaceDir.toFile()) } return Bndrun(bndEditModel).apply { setRunfw(RESOLVE_OSGI_FRAMEWORK) runee = RESOLVE_JAVA_VERSION setRunRequires(runRequireString) } } private fun RepositoryPlugin.deployDirectory(directory: Path) { for (path in fileSystem.list(directory)) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.9K bytes - Viewed (0)