Class EPPServerValTst

java.lang.Object
com.verisign.epp.interfaces.v01.EPPServerValTst

public class EPPServerValTst extends Object
EPPServerValTst is a unit test of the Server Validation extension interface.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    JUNIT suite static method, which returns the tests associated with EPPServerValDomainTst.
    void
    Utility method to clear any messages currently left in the poll queue.
    void
    Unit test of EPPDomain.sendCreate with Server Validation extension.
    void
    Unit test of EPPDomain.sendUpdate with Server Validation extension.
    void
    Handle an EPPCommandException, which can be either a server generated error or a general exception.
    void
    JUNIT setUp method, which sets the default client Id to "theRegistrar".
    void
    JUNIT tearDown, which currently does nothing.
    void
    JUNIT test method to implement the EPPServerValDomainTst TestCase.

    Methods inherited from class java.lang.Object

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

    • EPPServerValTst

      public EPPServerValTst()
  • Method Details

    • testServerVal

      public void testServerVal()
      JUNIT test method to implement the EPPServerValDomainTst TestCase. Each sub-test will be invoked in order to satisfy testing the EPPDomain interface.
    • domainCreate

      public void domainCreate()
      Unit test of EPPDomain.sendCreate with Server Validation extension.
    • domainUpdate

      public void domainUpdate()
      Unit test of EPPDomain.sendUpdate with Server Validation extension.
    • setUp

      public void setUp()
      JUNIT setUp method, which sets the default client Id to "theRegistrar".
    • tearDown

      public void tearDown()
      JUNIT tearDown, which currently does nothing.
    • beforeClass

      public static void beforeClass()
      JUNIT suite static method, which returns the tests associated with EPPServerValDomainTst.
    • clearPollQueue

      public void clearPollQueue()
      Utility method to clear any messages currently left in the poll queue.
    • handleException

      public void handleException(Exception aException)
      Handle an EPPCommandException, which can be either a server generated error or a general exception. If the exception was caused by a server error, "Server Error :<Response XML>" will be specified. If the exception was caused by a general algorithm error, "General Error :<Exception Description>" will be specified.
      Parameters:
      aException - Exception thrown during test