Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testReadDataWireFormatWithEmptyBuffer (0.24 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

            assertEquals(0, bytesRead);
            assertNull(response.getInfo());
        }
    
        @Test
        @DisplayName("Test readDataWireFormat with empty buffer throws exception")
        void testReadDataWireFormatWithEmptyBuffer() {
            response = new Trans2QueryPathInformationResponse(mockConfig, FileInformation.FILE_BASIC_INFO);
    
            byte[] buffer = new byte[0];
            response.setDataCount(0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top