- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for propagation (2.8 sec)
-
src/test/java/jcifs/smb/SmbSessionInternalTest.java
assertArrayEquals(new byte[0], session.getSessionKey()); assertNull(session.getSessionKey()); verify(session, times(3)).getSessionKey(); } // Error propagation: getSessionKey throws CIFSException @Test @DisplayName("getSessionKey throws CIFSException on failure") void getSessionKey_throws() throws CIFSException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlExceptionTest.java
import static org.junit.Assert.assertTrue; import java.io.IOException; import org.junit.Test; /** * Test class for CurlException. * Tests exception creation, message handling, and cause propagation. */ public class CurlExceptionTest { @Test public void testConstructorWithMessage() { String message = "Test error message"; CurlException exception = new CurlException(message);Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java
} /** * Verify that root causes are stored and returned correctly. */ @Test @DisplayName("Root cause propagation") void testRootCausePropagation() { Throwable root = mock(Throwable.class); SmbException ex = new SmbException(0, root); assertSame(root, ex.getRootCause()); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java
void causeOnlyConstructor_preservesCause_andNoInteractions() { // Arrange & Act SMBProtocolDecodingException ex = new SMBProtocolDecodingException(mockCause); // Assert cause propagation assertSame(mockCause, ex.getCause(), "Cause should be exactly the provided instance"); // Access common Throwable methods to exercise paths without touching the cause
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0)