- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 33 for propagated (1.37 sec)
-
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
// Then: Should call sendrecv with bind message verify(spyHandle).sendrecv(any(DcerpcMessage.class)); } @Test @DisplayName("Should propagate IOException during bind") void testBindIOException() throws DcerpcException, IOException { // Given: Spy that throws IOException on sendrecvRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
assertEquals(0, testMessage.getTreeId()); testMessage.setTreeId(123); assertEquals(123, testMessage.getTreeId()); } @Test @DisplayName("Should propagate tree ID to chained message") void testTreeIdPropagation() { TestServerMessageBlock2 nextMessage = new TestServerMessageBlock2(mockConfig); testMessage.chain(nextMessage);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeTest.java
*/ @Test void testClose_throwsException() { doThrow(new RuntimeException("Failed to close")).when(smbTree).close(); assertThrows(RuntimeException.class, () -> smbTree.close(), "Should propagate exception when close fails"); } /** * Test for AutoCloseable functionality. * Verifies that SmbTree can be used in try-with-resources. */ @Test void testAutoCloseable() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
verify(configuration, atLeastOnce()).getOemEncoding(); verifyNoMoreInteractions(cifsContext, configuration); } @Test @DisplayName("getPreNTLMResponse: unsupported OEM encoding propagates as runtime exception") void testGetPreNTLMResponse_invalidEncoding() { // Arrange when(cifsContext.getConfig()).thenReturn(configuration);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (1) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
when(nego.isSigningNegotiated()).thenReturn(false); assertFalse(session.isSignatureSetupRequired()); } @Test @DisplayName("reauthenticate propagates transport failures") void testReauthenticatePropagates() throws Exception { SmbSessionImpl session = newSession(); // Cause the inner reauthenticate to fail at first transport call
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
verify(resp, atLeastOnce()).reset(); // Verify disconnect was called on retry verify(c, atLeastOnce()).disconnect(eq(true)); } @Test @DisplayName("send honors NO_RETRY and propagates error immediately") void send_noRetry_param() throws Exception { SmbTreeConnection c = newConn(); SmbTreeImpl tree = mock(SmbTreeImpl.class); when(tree.acquire(false)).thenReturn(tree);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
assertEquals("S-1-5-10-20", domSidCap.getValue().toString()); } @Test @DisplayName("initContext then accessors propagate resolver CIFSException as log-only (no throw)") void testResolveWeakCIFSExceptionIsIgnored() throws Exception { SID sid = new SID("S-1-5-21-1-2-3");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
RuntimeException thrownException = assertThrows(RuntimeException.class, () -> { delegatingConfig.getResponseTimeout(); }); assertSame(testException, thrownException, "Should propagate exception from delegate"); verify(mockDelegate).getResponseTimeout(); } @Test @DisplayName("Multiple method calls should result in multiple delegate calls")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
// After close, report stale handle.close(); assertTrue(handle.isStale(), "Closed handle reports stale"); } @Test @DisplayName("getSessionKey propagates CIFSException from session acquisition") void getSessionKey_exception_propagates() throws Exception { SmbPipeHandleImpl handle = newHandleWithBasicStubs(0, "\\\\pipe\\\\sess");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0)