Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for beforeTest (0.04 seconds)

  1. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            assertFalse(auth.isExpired());
    
            // Wait half the TTL
            Thread.sleep(500);
            assertFalse(auth.isExpired());
    
            // Reset timestamp
            long beforeReset = System.currentTimeMillis();
            auth.resetAuthenticationTimestamp();
            long afterReset = System.currentTimeMillis();
    
            // Should still not be expired
            assertFalse(auth.isExpired());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.3K bytes
    - Click Count (0)
Back to Top