Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testReadMethodsWithNullBuffer (0.1 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

            assertTrue(result.contains("informationLevel=0x"));
            assertTrue(result.contains("003"));
        }
    
        @Test
        @DisplayName("Test with null buffer in read methods")
        void testReadMethodsWithNullBuffer() {
            trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.SMB_INFO_ALLOCATION);
    
            // All read methods should handle null buffer gracefully by returning 0
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            int actualInfoLevel = SMBUtil.readInt2(buffer, 2);
            assertEquals(expectedMappedValue, actualInfoLevel);
        }
    
        @Test
        @DisplayName("Test with null buffer in read methods")
        void testReadMethodsWithNullBuffer() {
            trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, mockFileInfo);
    
            // All read methods should handle null buffer gracefully
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.8K bytes
    - Click Count (0)
Back to Top