- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testToStringWithoutRootCause (0.11 seconds)
-
src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java
* {@code IOException#toString()}. */ @Test @DisplayName("toString without root cause matches IOException#toString") void testToStringWithoutRootCause() { SmbException ex = new SmbException(0, false); assertEquals("jcifs.smb1.smb1.SmbException: NT_STATUS_SUCCESS", ex.toString()); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java
} } @Nested @DisplayName("ToString Tests") class ToStringTests { @Test @DisplayName("Should return simple string when no root cause") void testToStringWithoutRootCause() { String message = "Test exception message"; TransportException exception = new TransportException(message); String result = exception.toString();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0)