Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testReadBytesWireFormatOffsetCalculation (0.83 sec)

  1. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            assertEquals(1, response.getResults().length);
        }
    
        @Test
        @DisplayName("Test readBytesWireFormat with offset calculation")
        void testReadBytesWireFormatOffsetCalculation() throws Exception {
            response = new Smb2QueryDirectoryResponse(mockConfig, Smb2QueryDirectoryRequest.FILE_BOTH_DIRECTORY_INFO);
    
            byte[] buffer = new byte[1024];
            int bufferIndex = 200;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            assertArrayEquals(bufferCopy, buffer, "Buffer content should not be modified");
        }
    
        @Test
        @DisplayName("Test readBytesWireFormat with offset calculation")
        void testReadBytesWireFormatOffsetCalculation() throws Exception {
            response = new Smb2QueryInfoResponse(mockConfig, Smb2Constants.SMB2_0_INFO_FILE, FileInformation.FILE_INTERNAL_INFO);
    
            byte[] buffer = new byte[1024];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
Back to top