Class InetAddressValidatorTest
- java.lang.Object
-
- org.apache.bval.extras.constraints.net.InetAddressValidatorTest
-
public class InetAddressValidatorTest extends Object
Test cases for InetAddressValidator.
-
-
Constructor Summary
Constructors Constructor Description InetAddressValidatorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestBrokenInetAddresses()Test obviously broken IPs.voidtestInetAddressesByClass()Test valid and invalid IPs from each address class.voidtestInetAddressesFromTheWild()Test IPs that point to real, well-known hosts (without actually looking them up).voidtestReservedInetAddresses()Test reserved IPs.
-
-
-
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.
-
-