Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testDefaultPort (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            assertEquals(1, pool.failCounts.get("10.0.0.2"));
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, -1 })
        @DisplayName("Should default to port 445 when port <= 0")
        void testDefaultPort(int invalidPort) throws Exception {
            // Given: Create a new pool for this test to ensure isolation
            SmbTransportPoolImpl testPool = new SmbTransportPoolImpl();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 19.2K bytes
    - Click Count (0)
Back to Top