Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for assertCloseTime (0.08 sec)

  1. src/test/java/jcifs/tests/FileAttributesTest.java

        public void testGetFreeSpace () throws CIFSException, MalformedURLException {
            try ( SmbResource f = getDefaultShareRoot() ) {
                f.getDiskFreeSpace();
            }
        }
    
    
        public void assertCloseTime ( long timeMs ) {
            if ( timeMs - System.currentTimeMillis() > 5 * 60 * 1000L ) {
                assertTrue("Time is not within 30s, check clocks " + new Date(timeMs), false);
            }
        }
    
    
        @Test
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
Back to top