Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testRunWithZeroIterations (0.58 sec)

  1. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

            assertEquals(1, t.numComplete, "numComplete should still be incremented");
        }
    
        @Test
        @DisplayName("run method handles zero iterations")
        void testRunWithZeroIterations() {
            TestLocking t = new TestLocking();
            t.url = "smb://test/file.txt";
            t.numIter = 0; // Zero iterations
    
            // Should complete immediately
            t.run();
    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