- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for TestLocking (0.08 seconds)
-
src/main/java/jcifs/smb1/smb1/TestLocking.java
* This class is used to test concurrent file access and locking behavior. */ public class TestLocking implements Runnable { private static final Logger logger = LoggerFactory.getLogger(TestLocking.class); /** * Default constructor for TestLocking */ public TestLocking() { // Default constructor } int numThreads = 1; int numIter = 1; long delay = 100;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/TestLockingTest.java
} @Test @DisplayName("TestLocking implements Runnable") void testImplementsRunnable() { TestLocking t = new TestLocking(); assertTrue(t instanceof Runnable, "TestLocking should implement Runnable"); } @Test @DisplayName("run method handles null URL gracefully") void testRunWithNullUrl() { TestLocking t = new TestLocking(); t.url = null; // Null URLCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0)