testConstructionWithNullDocument() Tests whether the construction of a ApplicationXml object with a
null parameter for the DOM document throws a
NullPointerException.
testGetWebModuleContextRootSingleWebModule() Verifies that the method getWebModuleContextRoot() returns
an the correct context root for a descriptor with a single web module.
public void
testGetWebModuleContextRootUndefined() Verifies that the method getWebModuleContextRoot() throws an
IllegalARgumentException when the specified web module is
not defined.
public void
testGetWebModuleUrisWithEmptyDocument() Verifies that the method getWebModuleUris() returns an empty
iterator for a descriptor with no web module definitions.
public void
testGetWebModuleUrisWithMultipleWebModules() Verifies that the method getWebModuleUris() returns an
iterator with the correct web-uris for a descriptor with multiple web
module definitions.
public void
testGetWebModuleUrisWithSingleWebModule() Verifies that the method getWebModuleUris() returns an
iterator with the correct web-uri for a descriptor with a single web
module definition.
public void testConstructionWithNullDocument() throws Exception(Code)
Tests whether the construction of a ApplicationXml object with a
null parameter for the DOM document throws a
NullPointerException.
throws: Exception - If an unexpected error occurs
testGetWebModuleContextRootMultipleWebModules
public void testGetWebModuleContextRootMultipleWebModules() throws Exception(Code)
Verifies that the method getWebModuleContextRoot() returns
an the correct context roots for a descriptor with multiple web modules.
throws: Exception - If an unexpected error occurs
testGetWebModuleContextRootSingleWebModule
public void testGetWebModuleContextRootSingleWebModule() throws Exception(Code)
Verifies that the method getWebModuleContextRoot() returns
an the correct context root for a descriptor with a single web module.
throws: Exception - If an unexpected error occurs
testGetWebModuleContextRootUndefined
public void testGetWebModuleContextRootUndefined() throws Exception(Code)
Verifies that the method getWebModuleContextRoot() throws an
IllegalARgumentException when the specified web module is
not defined.
throws: Exception - If an unexpected error occurs
testGetWebModuleUrisWithEmptyDocument
public void testGetWebModuleUrisWithEmptyDocument() throws Exception(Code)
Verifies that the method getWebModuleUris() returns an empty
iterator for a descriptor with no web module definitions.
throws: Exception - If an unexpected error occurs
testGetWebModuleUrisWithMultipleWebModules
public void testGetWebModuleUrisWithMultipleWebModules() throws Exception(Code)
Verifies that the method getWebModuleUris() returns an
iterator with the correct web-uris for a descriptor with multiple web
module definitions.
throws: Exception - If an unexpected error occurs
testGetWebModuleUrisWithSingleWebModule
public void testGetWebModuleUrisWithSingleWebModule() throws Exception(Code)
Verifies that the method getWebModuleUris() returns an
iterator with the correct web-uri for a descriptor with a single web
module definition.
throws: Exception - If an unexpected error occurs