Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testDecodeEmptyCipherArray (1.43 sec)

  1. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                assertArrayEquals(new int[] { 1, 2, 3 }, context.getCiphers());
            }
    
            @Test
            @DisplayName("Should handle empty cipher array in decode")
            void testDecodeEmptyCipherArray() throws SMBProtocolDecodingException {
                // Arrange
                context = new EncryptionNegotiateContext();
                byte[] buffer = new byte[] { 0x00, 0x00 // 0 ciphers
                };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top