Class InetAddressValidatorTest


  • public class InetAddressValidatorTest
    extends Object
    Test cases for InetAddressValidator.
    • Constructor Detail

      • InetAddressValidatorTest

        public InetAddressValidatorTest()
    • Method Detail

      • setUp

        public void setUp()
      • testInetAddressesFromTheWild

        public void testInetAddressesFromTheWild()
        Test IPs that point to real, well-known hosts (without actually looking them up).
      • testInetAddressesByClass

        public void testInetAddressesByClass()
        Test valid and invalid IPs from each address class.
      • testReservedInetAddresses

        public void testReservedInetAddresses()
        Test reserved IPs.
      • testBrokenInetAddresses

        public void testBrokenInetAddresses()
        Test obviously broken IPs.