Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testReadBytesWireFormatZeroBufferLength (0.22 sec)

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

            assertTrue(response.getResults()[1] instanceof FileBothDirectoryInfo);
        }
    
        @Test
        @DisplayName("Test readBytesWireFormat with zero buffer length returns one empty result")
        void testReadBytesWireFormatZeroBufferLength() throws Exception {
            response = new Smb2QueryDirectoryResponse(mockConfig, Smb2QueryDirectoryRequest.FILE_BOTH_DIRECTORY_INFO);
    
            byte[] buffer = new byte[1024];
            int bufferIndex = 0;
    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

            assertTrue(result >= 900); // 1000 + 8 - 100
            assertNotNull(response.getInfo());
        }
    
        @Test
        @DisplayName("Test readBytesWireFormat with zero buffer length")
        void testReadBytesWireFormatZeroBufferLength() 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