Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testUpdateWithZeroLength (0.7 sec)

  1. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

            assertDoesNotThrow(() -> digest.update(data, 0, data.length));
        }
    
        @Test
        @DisplayName("Test update method with zero length")
        void testUpdateWithZeroLength() {
            SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey);
            byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 };
    
            // Should return immediately without processing
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top