org.objectweb.jonas_domain.tests
Class DomainMapTest
java.lang.Object
org.objectweb.jonas_lib.deployment.tests.AbsDeploymentTest
org.objectweb.jonas_domain.tests.DomainMapTest
public class DomainMapTest
- extends AbsDeploymentTest
Defines a class for Domain map tests (domain.xml)
- Author:
- Adriana Danes
Methods inherited from class org.objectweb.jonas_lib.deployment.tests.AbsDeploymentTest |
addElement, aleatOK, checkDiff, convertUpperCaseToXml, fill, fillQName, fillString, getNameCounterForElement, nbAleat, parseElement, parseXmlfromFile, setElement, startTest, stress |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DomainMapTest
public DomainMapTest()
getTopLevelElement
public AbsElement getTopLevelElement()
throws Exception
- Specified by:
getTopLevelElement
in class AbsDeploymentTest
- Returns:
- Returns the Application XML Element
- Throws:
Exception
- never thrown
parse
public String parse(Reader reader,
String name,
boolean validation)
throws Exception
- Returns the XML document as a String.
- Specified by:
parse
in class AbsDeploymentTest
- Parameters:
reader
- Reader of an domain.xml filename
- not usedvalidation
- true/false
- Returns:
- Returns the XML document as a String.
- Throws:
Exception
- when parsing fails
Copyright © 2007 OW2 Consortium. All Rights Reserved.