Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testRunWithNullUrl (0.1 seconds)

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

            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
            t.numIter = 0; // No iterations to avoid NPE
    
            // Should not throw exception
    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