Class EPPSecureAuthInfoTst


  • public class EPPSecureAuthInfoTst
    extends java.lang.Object
    Is a unit test of supporting the Secure Authorization Information for Transfer draft, which includes creating each of the sample commands and responses in the draft.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void setNumIterations​(long aNumIterations)
      Sets the number of iterations to run per test.
      static void setup()
      JUNIT suite static method, which returns the tests associated with EPPSecureAuthInfoTst.
      void testContactCreate()
      Unit test of the example of passing empty authorization information in an [RFC5733] contact create command.
      void testContactUpdateUnsetEmpty()
      Unit test of the example of unsetting the authorization information with an empty authorization information in an [RFC5733] contact update command
      void testDomainCreate()
      Unit test of the example of passing empty authorization information in an [RFC5731] domain name create command.
      void testDomainInfo()
      Unit test of the example of passing a non-empty authorization information in an [RFC5731] domain name info command to verify the authorization information value.
      void testDomainTransfer()
      Unit test of the example of passing a non-empty authorization information in an [RFC5731] domain name transfer request command to authorize the transfer.
      void testDomainUpdateSet()
      Unit test of the example of removing the "clientTransferProhibited" status and setting the authorization information in an [RFC5731] domain name update command.
      void testDomainUpdateUnsetEmpty()
      Unit test of the example of unsetting the authorization information with an empty authorization information in an [RFC5731] domain name update command.
      void testDomainUpdateUnsetNull()
      Unit test of the example of unsetting the authorization information explicitly in an [RFC5731] domain name update command.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EPPSecureAuthInfoTst

        public EPPSecureAuthInfoTst()
    • Method Detail

      • testDomainCreate

        public void testDomainCreate()
        Unit test of the example of passing empty authorization information in an [RFC5731] domain name create command.
      • testContactCreate

        public void testContactCreate()
        Unit test of the example of passing empty authorization information in an [RFC5733] contact create command.
      • testDomainUpdateSet

        public void testDomainUpdateSet()
        Unit test of the example of removing the "clientTransferProhibited" status and setting the authorization information in an [RFC5731] domain name update command.
      • testDomainUpdateUnsetNull

        public void testDomainUpdateUnsetNull()
        Unit test of the example of unsetting the authorization information explicitly in an [RFC5731] domain name update command.
      • testDomainUpdateUnsetEmpty

        public void testDomainUpdateUnsetEmpty()
        Unit test of the example of unsetting the authorization information with an empty authorization information in an [RFC5731] domain name update command.
      • testContactUpdateUnsetEmpty

        public void testContactUpdateUnsetEmpty()
        Unit test of the example of unsetting the authorization information with an empty authorization information in an [RFC5733] contact update command
      • testDomainInfo

        public void testDomainInfo()
        Unit test of the example of passing a non-empty authorization information in an [RFC5731] domain name info command to verify the authorization information value.
      • testDomainTransfer

        public void testDomainTransfer()
        Unit test of the example of passing a non-empty authorization information in an [RFC5731] domain name transfer request command to authorize the transfer.
      • setup

        public static void setup()
        JUNIT suite static method, which returns the tests associated with EPPSecureAuthInfoTst.
      • setNumIterations

        public static void setNumIterations​(long aNumIterations)
        Sets the number of iterations to run per test.
        Parameters:
        aNumIterations - number of iterations to run per test