Class EPPDefRegTst


  • public class EPPDefRegTst
    extends java.lang.Object
    Is a unit test of the com.verisign.epp.codec.defReg package. The unit test will execute, gather statistics, and output the results of a test of each com.verisign.epp.codec.defReg package concrete EPPCommand's and their expected EPPResponse. The unit test is dependent on the use of JUNIT 3.5
    Change Hostory: Modified test codes to accomdate the latest epp-defReg-03 protocol

    • Constructor Detail

      • EPPDefRegTst

        public EPPDefRegTst()
    • Method Detail

      • testDefRegInfo

        public void testDefRegInfo()
        Unit test of EPPDefRegInfoCmd. The response to EPPDefRegInfoCmd is EPPDefRegInfoResp.
        This test will be invoked by JUNIT, since it is prefixed with "test" and is a public method.
      • testDefRegCreate

        public void testDefRegCreate()
        Unit test of EPPDefRegCreateCmd. The response to EPPDefRegCreateCmd is EPPDefRegCreateResp.
        This test will be invoked by JUNIT, since it is prefixed with "test" and is a public method.
      • testDefRegCreateIDN

        public void testDefRegCreateIDN()
        Unit test of EPPDefRegCreateCmd with <idnextension>. The response to EPPDefRegCreateCmd is EPPDefRegCreateResp.
        This test will be invoked by JUNIT, since it is prefixed with "test" and is a public method.
      • testDefRegDelete

        public void testDefRegDelete()
        Unit test of EPPDefRegDeleteCmd. The response to EPPDefRegDeleteCmd is EPPDefRegCreateResp.
        This test will be invoked by JUNIT, since it is prefixed with "test" and is a public method.
      • testDefRegRenew

        public void testDefRegRenew()
        Unit test of EPPDefRegRenewCmd. The response to EPPDefRegRenewCmd is EPPDefRegRenewResp.
        This test will be invoked by JUNIT, since it is prefixed with "test" and is a public method.
      • testDefRegUpate

        public void testDefRegUpate()
        Unit test of EPPDefRegUpdateCmd. The response to EPPDefRegUpdateCmd is EPPResponse.
        This test will be invoked by JUNIT, since it is prefixed with "test" and is a public method.
      • testDefRegTransfer

        public void testDefRegTransfer()
        Unit test of EPPDefRegTransferCmd. The response to EPPDefRegTransferCmd is EPPDefRegTransferResp.
        This test will be invoked by JUNIT, since it is prefixed with "test" and is a public method.
      • beforeClass

        public static void beforeClass()
        JUNIT suite static method, which returns the tests associated with EPPDefRegTst.
      • 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
      • testDefRegCheck

        public void testDefRegCheck()
        Unit test of EPPDefRegCheckCmd. The response to EPPDefRegCheckCmd is EPPDefRegCheckResp.
        This test will be invoked by JUNIT, since it is prefixed with "test" and is a public method.