Class EPPChangeExtTst

java.lang.Object
com.verisign.epp.codec.changeext.EPPChangeExtTst

public class EPPChangeExtTst extends Object
Is a unit test of the com.verisign.epp.codec.changeext package. The unit test will execute, gather statistics, and output the results of a test of each com.verisign.epp.codec.changeext package concrete extension EPPCodecComponent's.
The unit test is dependent on the use of JUNIT 3.5

  • Field Details

  • Constructor Details

    • EPPChangeExtTst

      public EPPChangeExtTst()
  • Method Details

    • testChangeExt

      public void testChangeExt()
      Unit test on extending an EPPComponent with an EPPChangeExt. The particular EPPComponent doesn't matter. In order to avoid external dependencies I'm using an EPPChangeCheckCmd. In practice, EPP Domain and EPP Host commands are more likely. 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 EPPChangeExtTst.
    • 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