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 void
setUp()
void
testBrokenInetAddresses()
Test obviously broken IPs.void
testInetAddressesByClass()
Test valid and invalid IPs from each address class.void
testInetAddressesFromTheWild()
Test IPs that point to real, well-known hosts (without actually looking them up).void
testReservedInetAddresses()
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.
-
-