- Sort Score
- Result 10 results
- Languages All
Results 681 - 690 of 2,174 for Exception (0.05 sec)
-
src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java
when(mockSession.getSessionKey()).thenReturn(new byte[16]); channelManager = new ChannelManager(mockContext, mockSession); } @Test void testMultiChannelInitialization() throws Exception { // Test that ChannelManager initializes properly assertNotNull(channelManager); assertNotNull(channelManager.getChannels());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java
} catch (NoSuchFieldException | IllegalAccessException e) { fail("Failed to access servername field: " + e.getMessage()); } } @Test void testGetEntriesWithMultipleShares() throws Exception { // Create real ShareInfo1 objects instead of mocks srvsvc.ShareInfo1 shareInfo1 = new srvsvc.ShareInfo1(); shareInfo1.netname = "Share1"; shareInfo1.type = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/PackageSanityTests.java
setDefault(EndpointPair.class, EndpointPair.ordered("A", "B")); } @Override public void testNulls() throws Exception { try { super.testNulls(); } catch (AssertionError e) { assertWithMessage("Method did not throw null pointer OR element not in graph exception.") .that(e) .hasCauseThat() .hasMessageThat() .contains(ERROR_ELEMENT_NOT_IN_GRAPH); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java
return true; } } @Nested @DisplayName("Happy path – accept is called and returns true") class HappyPath { @Test void acceptWithMockedFile() throws Exception { SmbFile mockFile = mock(SmbFile.class); when(mockFile.getPath()).thenReturn("/share/file.txt"); assertTrue(ALWAYSACTIVE.accept(mockFile)); } } @Nested
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java
} catch (ExecutionException e) { wrapAndThrowRuntimeExecutionExceptionOrError(e.getCause()); throw new AssertionError(); } } private static Exception throwCause(Exception e, boolean combineStackTraces) throws Exception { Throwable cause = e.getCause(); if (cause == null) { throw e; } if (combineStackTraces) { StackTraceElement[] combined =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SpnegoContextTest.java
void testDisposeDelegates() throws Exception { SpnegoContext ctx = newContext(); ctx.dispose(); verify(this.mechContext, times(1)).dispose(); } @Test @DisplayName("calculateMIC throws when context not established") void testCalculateMICRequiresEstablished() throws Exception { SpnegoContext ctx = newContext();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/relatedquery/ApiAdminRelatedqueryAction.java
body.crudMode = CrudMode.CREATE; final RelatedQuery relatedQuery = getRelatedQuery(body).map(entity -> { try { relatedQueryService.store(entity); } catch (final Exception e) { logger.warn("Failed to process a request.", e); throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e))); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
f.setAccessible(true); f.set(c, val); } catch (Exception e) { throw new AssertionError(e); } } // Helper to build a minimal smb URL private static URL smbUrl(String spec) throws Exception { return new URL(null, spec, new Handler()); } @Test @DisplayName("getConfig returns context config")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java
@BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Constructor should initialize with correct values") void testConstructor() throws Exception { // Given String filename = "\\\\server\\share\\file.txt"; // When trans2GetDfsReferral = new Trans2GetDfsReferral(mockConfig, filename); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt
while (!canceled && reader.processNextEvent()) { } } } catch (e: Exception) { val exception = when { canceled -> IOException("canceled", e) else -> e } listener.onFailure(this, exception, response) return } if (canceled) { listener.onFailure(this, IOException("canceled"), response)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:47:47 UTC 2025 - 3.3K bytes - Viewed (0)