Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for shouldReturnFalseForInvalidIpAddressesOrHostnames (0.21 sec)

  1. src/test/java/jcifs/netbios/UniAddressTest.java

            @ParameterizedTest(name = "should return false for invalid IP address or hostname: {0}")
            @ValueSource(strings = { "192.168.1", "hostname", "1.2.3.4.5", "192.168.1.1a", "a.b.c.d" })
            void shouldReturnFalseForInvalidIpAddressesOrHostnames(String input) {
                assertFalse(UniAddress.isDotQuadIP(input));
            }
    
            @Test
            void shouldReturnTrueForInvalidOctetValues() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
Back to top