Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testBufferWithExtraData (0.19 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                assertEquals(24, bytesRead);
            }
    
            @Test
            @DisplayName("Should handle buffer with extra data")
            void testBufferWithExtraData() throws Exception {
                byte[] buffer = new byte[100];
                Arrays.fill(buffer, (byte) 0xFF); // Fill with non-zero values
    
                // Write valid notification data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

                assertEquals(1638400, response.getTotalBytesWritten());
            }
    
            @Test
            @DisplayName("Should handle buffer with extra data")
            void testBufferWithExtraData() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[100];
                // Write valid response data
                SMBUtil.writeInt4(15, buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
Back to top