Class IPV4AddressTests
- java.lang.Object
-
- de.powerstat.validation.values.test.IPV4AddressTests
-
public class IPV4AddressTests extends Object
Tests for IP V4 address class.
-
-
Constructor Summary
Constructors Constructor Description IPV4AddressTests()
Default constructor.
-
Method Summary
Modifier and Type Method Description void
constructorFailure0()
Test constructor failure illegal argument.void
constructorFailure1()
Test constructor failure null pointer.void
constructorFailure2()
Test constructor failure illegal argument.void
constructorFailure3()
Test constructor failure illegal argument.void
getAddress()
Test get address.void
isNotPublic0()
Test if ip v4 is not public.void
isPrivate0()
Test if ip v4 is private.void
isPrivate1()
Test if ip v4 is private.void
isPrivate2()
Test if ip v4 is private.void
isPrivate3()
Test if ip v4 is private.void
isPrivate4()
Test if ip v4 is private.void
isPublic0()
Test if ip v4 is public.void
isSpecial0()
Test if ip v4 is special.void
isSpecial1()
Test if ip v4 is special.void
isSpecial10()
Test if ip v4 is special.void
isSpecial11()
Test if ip v4 is special.void
isSpecial12()
Test if ip v4 is special.void
isSpecial13()
Test if ip v4 is special.void
isSpecial14()
Test if ip v4 is special.void
isSpecial2()
Test if ip v4 is special.void
isSpecial3()
Test if ip v4 is special.void
isSpecial4()
Test if ip v4 is special.void
isSpecial5()
Test if ip v4 is special.void
isSpecial6()
Test if ip v4 is special.void
isSpecial7()
Test if ip v4 is special.void
isSpecial8()
Test if ip v4 is special.void
isSpecial9()
Test if ip v4 is special.void
testCompareTo()
Test compareTo.void
testEquals()
Test equals.void
testHashCode()
Test hash code.void
testToString()
Test toString.
-
-
-
Method Detail
-
constructorFailure0
@Test public void constructorFailure0()
Test constructor failure illegal argument.
-
constructorFailure1
@Test public void constructorFailure1()
Test constructor failure null pointer.
-
constructorFailure2
@Test public void constructorFailure2()
Test constructor failure illegal argument.
-
constructorFailure3
@Test public void constructorFailure3()
Test constructor failure illegal argument.
-
isPrivate0
@Test public void isPrivate0()
Test if ip v4 is private.
-
isPrivate1
@Test public void isPrivate1()
Test if ip v4 is private.
-
isPrivate2
@Test public void isPrivate2()
Test if ip v4 is private.
-
isPrivate3
@Test public void isPrivate3()
Test if ip v4 is private.
-
isPrivate4
@Test public void isPrivate4()
Test if ip v4 is private.
-
isSpecial0
@Test public void isSpecial0()
Test if ip v4 is special.
-
isSpecial1
@Test public void isSpecial1()
Test if ip v4 is special.
-
isSpecial2
@Test public void isSpecial2()
Test if ip v4 is special.
-
isSpecial3
@Test public void isSpecial3()
Test if ip v4 is special.
-
isSpecial4
@Test public void isSpecial4()
Test if ip v4 is special.
-
isSpecial5
@Test public void isSpecial5()
Test if ip v4 is special.
-
isSpecial6
@Test public void isSpecial6()
Test if ip v4 is special.
-
isSpecial7
@Test public void isSpecial7()
Test if ip v4 is special.
-
isSpecial8
@Test public void isSpecial8()
Test if ip v4 is special.
-
isSpecial9
@Test public void isSpecial9()
Test if ip v4 is special.
-
isSpecial10
@Test public void isSpecial10()
Test if ip v4 is special.
-
isSpecial11
@Test public void isSpecial11()
Test if ip v4 is special.
-
isSpecial12
@Test public void isSpecial12()
Test if ip v4 is special.
-
isSpecial13
@Test public void isSpecial13()
Test if ip v4 is special.
-
isSpecial14
@Test public void isSpecial14()
Test if ip v4 is special.
-
isPublic0
@Test public void isPublic0()
Test if ip v4 is public.
-
isNotPublic0
@Test public void isNotPublic0()
Test if ip v4 is not public.
-
getAddress
@Test public void getAddress()
Test get address.
-
testHashCode
@Test public void testHashCode()
Test hash code.
-
testEquals
@Test public void testEquals()
Test equals.
-
testToString
@Test public void testToString()
Test toString.
-
testCompareTo
@Test public void testCompareTo()
Test compareTo.
-
-