Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

  1. src/test/java/org/codelibs/fess/util/IpAddressUtilTest.java

            assertNull(IpAddressUtil.buildUrl(null, ipv4, 8080, "/path"));
            assertNull(IpAddressUtil.buildUrl("http", (InetAddress) null, 8080, "/path"));
        }
    
        @Test
        public void testBuildUrlWithHostString() {
            // IPv4 with port and path
            assertEquals("http://127.0.0.1:8080/path", IpAddressUtil.buildUrl("http", "127.0.0.1", 8080, "/path"));
    
            // IPv4 with port, no path
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 08:31:03 GMT 2025
    - 8.9K bytes
    - Click Count (0)
Back to Top