Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for shouldReturnFalseForInvalidIpAddressesOrHostnames (0.45 seconds)

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