- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 841 for extentions (0.05 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt
) val responseB = client.newCall(requestB).execute() assertThat(responseB.body.string()).isEqualTo("b") assertThat(server.takeRequest().exchangeIndex).isEqualTo(0) } /** Confirm suppressed exceptions that occur while connecting are returned. */ @Test fun connectExceptionsAreReturnedAsSuppressed() { val proxySelector = RecordingProxySelector()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 8.4K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/EventBus.java
* <li>It doesn't support backpressure and other features needed for resilience. * <li>It doesn't provide much control of threading. * <li>It doesn't offer much monitoring. * <li>It doesn't propagate exceptions, so apps don't have a way to react to them. * <li>It doesn't interoperate well with RxJava, coroutines, and other more commonly used * alternatives.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionInternalTest.java
import jcifs.CIFSException; import jcifs.SmbTransport; import jcifs.SmbTree; /** * Tests for SmbSessionInternal interface using Mockito to exercise * method contracts, checked exceptions, and interactions with collaborators. */ @ExtendWith(MockitoExtension.class) public class SmbSessionInternalTest { @Mock private SmbSessionInternal session; @Mock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
@DisplayName("close method should not declare exceptions") void testCloseMethodExceptions() throws NoSuchMethodException { // Given Method closeMethod = SmbResource.class.getMethod("close"); // When Class<?>[] exceptions = closeMethod.getExceptionTypes(); // Then assertEquals(0, exceptions.length, "close() should not declare any exceptions");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
import org.mockito.Mockito; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.SmbSession; /** * Tests for SmbTransportInternal interface using Mockito mocks to * exercise method contracts, checked exceptions, and interactions. */ @ExtendWith(MockitoExtension.class) public class SmbTransportInternalTest { @Mock private SmbTransportInternal transport; @Mock private jcifs.CIFSContext ctx;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/UniAddressTest.java
assertTrue(UniAddress.isAllDigits(""), "isAllDigits should return true for empty string (no non-digits)"); } /* --------------------------------------------------------------------- * 4. Exceptions from static methods that don't resolve without stubbing * --------------------------------------------------------------------- */ @Test void getAllByNameRejectsNullOrEmptyHostname() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java
verify(mockChannelManager, atLeast(1)).establishReplacementChannel(); } @Test void testShutdown() { failover.shutdown(); // Should not throw any exceptions assertDoesNotThrow(() -> failover.shutdown()); } @Test void testConcurrentFailureHandling() throws InterruptedException { IOException error = new IOException("Connection failed");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.6K bytes - Viewed (0) -
docs/es/docs/tutorial/handling-errors.md
De esta manera, si alguna parte del código interno de Starlette, o una extensión o complemento de Starlette, lanza un `HTTPException` de Starlette, tu manejador podrá capturarlo y manejarlo. En este ejemplo, para poder tener ambos `HTTPException` en el mismo código, las excepciones de Starlette son renombradas a `StarletteHTTPException`: ```Python from starlette.exceptions import HTTPException as StarletteHTTPException ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 9.6K bytes - Viewed (0) -
docs/en/mkdocs.yml
advanced/extending-openapi.md: how-to/extending-openapi.md advanced/testing-database.md: how-to/testing-database.md mkdocstrings: handlers: python: options: extensions: - griffe_typingdoc show_root_heading: true show_if_no_docstring: true preload_modules: - httpx - starlette inherited_members: true
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 9.8K bytes - Viewed (0)