Class IPV4AddressTests


  • public class IPV4AddressTests
    extends Object
    Tests for IP V4 address class.
    • Constructor Detail

      • IPV4AddressTests

        public IPV4AddressTests()
        Default constructor.
    • 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.