Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testDecodeZeroLength (0.28 seconds)

  1. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            assertEquals(0, notifyInfo.getAction());
            assertNull(notifyInfo.getFileName());
        }
    
        @Test
        @DisplayName("Test decode with zero length returns 0")
        void testDecodeZeroLength() throws SMBProtocolDecodingException {
            byte[] buffer = new byte[100];
    
            int bytesRead = notifyInfo.decode(buffer, 0, 0);
    
            assertEquals(0, bytesRead);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
Back to Top