Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for setNotificationFilter (0.19 seconds)

  1. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            context.setMaxCacheAge(60000L);
            assertEquals(60000L, context.getMaxCacheAge());
    
            context.setNotificationEnabled(false);
            assertFalse(context.isNotificationEnabled());
    
            context.setNotificationFilter(0xFF);
            assertEquals(0xFF, context.getNotificationFilter());
        }
    
        @Test
        public void testSize() {
            Smb2LeaseKey key = new Smb2LeaseKey();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            context.setMaxCacheAge(60000L);
            context.setNotificationEnabled(true);
            context.setNotificationFilter(0x1F);
    
            // Test encoding and decoding roundtrip
            byte[] buffer = new byte[context.size()];
            int encoded = context.encode(buffer, 0);
            assertEquals(context.size(), encoded);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 14.2K bytes
    - Click Count (0)
Back to Top