Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testRunWithZeroIterations (0.64 seconds)

  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();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
Back to Top