- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for assertCloseTime (0.06 sec)
-
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)