Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testNegativeFidValue (0.12 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            // Check security information
            assertEquals(0x12345678, SMBUtil.readInt4(dst, 14));
        }
    
        @Test
        @DisplayName("Test with negative FID value (should handle as unsigned)")
        void testNegativeFidValue() {
            int fid = -1; // Will be treated as 0xFFFF in unsigned 16-bit
            querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, fid, OWNER_SECURITY_INFORMATION);
            byte[] dst = new byte[10];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            // Check reserved byte is zero
            assertEquals(0x00, dst[17]);
        }
    
        @Test
        @DisplayName("Test with negative FID value (should handle as unsigned)")
        void testNegativeFidValue() {
            int fid = -1; // Will be treated as 0xFFFF in unsigned 16-bit
            notifyChange = new NtTransNotifyChange(mockConfig, fid, FILE_NOTIFY_CHANGE_FILE_NAME, false);
            byte[] dst = new byte[10];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
Back to top