Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestLocking (0.09 sec)

  1. 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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. 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 URL
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top