- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testDecodeThrowsExceptionWithNegativeLength (0.57 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
assertEquals("Invalid resume key", exception.getMessage(), "Exception message should match"); } @Test @DisplayName("Test decode throws exception with negative length") void testDecodeThrowsExceptionWithNegativeLength() { byte[] buffer = new byte[28]; SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.decode(buffer, 0, -1),
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0)