Save This Page
Home » cactus-1.8.0-src » org.apache.cactus.integration.ant.deployment.application » [javadoc | source]
org.apache.cactus.integration.ant.deployment.application
public final class: TestApplicationXml [javadoc | source]
java.lang.Object
   junit.framework.TestCase
      org.apache.cactus.integration.ant.deployment.application.TestApplicationXml
Unit tests for ApplicationXml .
Method from org.apache.cactus.integration.ant.deployment.application.TestApplicationXml Summary:
setUp,   testConstructionWithNullDocument,   testGetWebModuleContextRootMultipleWebModules,   testGetWebModuleContextRootSingleWebModule,   testGetWebModuleContextRootUndefined,   testGetWebModuleUrisWithEmptyDocument,   testGetWebModuleUrisWithMultipleWebModules,   testGetWebModuleUrisWithSingleWebModule
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cactus.integration.ant.deployment.application.TestApplicationXml Detail:
 public  void setUp() throws ParserConfigurationException 
 public  void testConstructionWithNullDocument() throws Exception 
    Tests whether the construction of a ApplicationXml object with a null parameter for the DOM document throws a NullPointerException.
 public  void testGetWebModuleContextRootMultipleWebModules() throws Exception 
    Verifies that the method getWebModuleContextRoot() returns an the correct context roots for a descriptor with multiple web modules.
 public  void testGetWebModuleContextRootSingleWebModule() throws Exception 
    Verifies that the method getWebModuleContextRoot() returns an the correct context root for a descriptor with a single web module.
 public  void testGetWebModuleContextRootUndefined() throws Exception 
    Verifies that the method getWebModuleContextRoot() throws an IllegalARgumentException when the specified web module is not defined.
 public  void testGetWebModuleUrisWithEmptyDocument() throws Exception 
    Verifies that the method getWebModuleUris() returns an empty iterator for a descriptor with no web module definitions.
 public  void testGetWebModuleUrisWithMultipleWebModules() throws Exception 
    Verifies that the method getWebModuleUris() returns an iterator with the correct web-uris for a descriptor with multiple web module definitions.
 public  void testGetWebModuleUrisWithSingleWebModule() throws Exception 
    Verifies that the method getWebModuleUris() returns an iterator with the correct web-uri for a descriptor with a single web module definition.